summaryrefslogtreecommitdiff
path: root/recipes/python
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/python')
-rw-r--r--recipes/python/pyrtm_0.2.bb15
-rw-r--r--recipes/python/python-2.6-manifest.inc2
-rw-r--r--recipes/python/python-pygobject-native_2.20.0.bb2
-rw-r--r--recipes/python/python-pygobject_2.20.0.bb2
-rw-r--r--recipes/python/python-pyid3lib/gcc4-fix.patch13
-rw-r--r--recipes/python/python-pyid3lib_0.5.1.bb9
-rw-r--r--recipes/python/python.inc2
-rw-r--r--recipes/python/python_2.6.2.bb4
8 files changed, 41 insertions, 8 deletions
diff --git a/recipes/python/pyrtm_0.2.bb b/recipes/python/pyrtm_0.2.bb
new file mode 100644
index 0000000000..a5a6fb2e2f
--- /dev/null
+++ b/recipes/python/pyrtm_0.2.bb
@@ -0,0 +1,15 @@
+DESCRIPTION = "Python interface for Remember The Milk API."
+AUTHOR = "Sridhar Ratnakumar / srid"
+HOMEPAGE = "http://pypi.python.org/pypi/pyrtm"
+PRIORITY = "optional"
+LICENSE = "MIT"
+DEPENDS = "python-native"
+PR = "r0"
+
+SRC_URI = "http://pypi.python.org/packages/source/p/pyrtm/pyrtm-${PV}.tar.gz"
+
+SRCNAME = "pyrtm"
+
+inherit distutils
+
+PACKAGE_ARCH = "all"
diff --git a/recipes/python/python-2.6-manifest.inc b/recipes/python/python-2.6-manifest.inc
index cee12c866c..188ee313ef 100644
--- a/recipes/python/python-2.6-manifest.inc
+++ b/recipes/python/python-2.6-manifest.inc
@@ -51,7 +51,7 @@ FILES_python-core="${libdir}/python2.6/__future__.* ${libdir}/python2.6/_abcoll.
DESCRIPTION_python-io="Python Low-Level I/O"
RDEPENDS_python-io="python-core python-math"
-FILES_python-io="${libdir}/python2.6/lib-dynload/_socket.so ${libdir}/python2.6/lib-dynload/_ssl.so ${libdir}/python2.6/lib-dynload/select.so ${libdir}/python2.6/lib-dynload/termios.so ${libdir}/python2.6/lib-dynload/cStringIO.so ${libdir}/python2.6/pipes.* ${libdir}/python2.6/socket.* ${libdir}/python2.6/tempfile.* ${libdir}/python2.6/StringIO.* "
+FILES_python-io="${libdir}/python2.6/lib-dynload/_socket.so ${libdir}/python2.6/lib-dynload/_ssl.so ${libdir}/python2.6/lib-dynload/select.so ${libdir}/python2.6/lib-dynload/termios.so ${libdir}/python2.6/lib-dynload/cStringIO.so ${libdir}/python2.6/pipes.* ${libdir}/python2.6/socket.* ${libdir}/python2.6/ssl.* ${libdir}/python2.6/tempfile.* ${libdir}/python2.6/StringIO.* "
DESCRIPTION_python-compiler="Python Compiler Support"
RDEPENDS_python-compiler="python-core"
diff --git a/recipes/python/python-pygobject-native_2.20.0.bb b/recipes/python/python-pygobject-native_2.20.0.bb
index 40d7a9eeca..918ffa2643 100644
--- a/recipes/python/python-pygobject-native_2.20.0.bb
+++ b/recipes/python/python-pygobject-native_2.20.0.bb
@@ -11,6 +11,8 @@ SRC_URI = "\
# file://python-path.patch;patch=1 \
"
+export GOBJECT_INTROSPECTION_CFLAGS="-pthread -I${STAGING_INCDIR}/gobject-introspection-1.0 -I${STAGING_INCDIR}/glib-2.0 -I${STAGING_LIBDIR}/glib-2.0/include"
+
do_stage_append() {
install -d ${STAGING_BINDIR}
install -m 0755 gobject/generate-constants ${STAGING_BINDIR}/gobject-generate-constants
diff --git a/recipes/python/python-pygobject_2.20.0.bb b/recipes/python/python-pygobject_2.20.0.bb
index 2a07a4a1a4..10c94dcbc1 100644
--- a/recipes/python/python-pygobject_2.20.0.bb
+++ b/recipes/python/python-pygobject_2.20.0.bb
@@ -20,6 +20,8 @@ inherit autotools distutils-base pkgconfig
export BUILD_SYS
export HOST_SYS
+export GOBJECT_INTROSPECTION_CFLAGS="-pthread -I${STAGING_INCDIR}/gobject-introspection-1.0 -I${STAGING_INCDIR}/glib-2.0 -I${STAGING_LIBDIR}/glib-2.0/include"
+
do_stage() {
autotools_stage_all
install -d ${STAGING_LIBDIR}/../share/pygobject/
diff --git a/recipes/python/python-pyid3lib/gcc4-fix.patch b/recipes/python/python-pyid3lib/gcc4-fix.patch
new file mode 100644
index 0000000000..cfd972771f
--- /dev/null
+++ b/recipes/python/python-pyid3lib/gcc4-fix.patch
@@ -0,0 +1,13 @@
+Index: pyid3lib-0.5.1/pyid3lib.cc
+===================================================================
+--- pyid3lib-0.5.1.orig/pyid3lib.cc
++++ pyid3lib-0.5.1/pyid3lib.cc
+@@ -1013,7 +1013,7 @@
+ {
+ ID3_Frame* frame;
+ const char* str;
+- char* slash;
++ const char* slash;
+ ID3_Field* fld;
+ int i;
+
diff --git a/recipes/python/python-pyid3lib_0.5.1.bb b/recipes/python/python-pyid3lib_0.5.1.bb
index bf7e3d0a2f..1d24b347c9 100644
--- a/recipes/python/python-pyid3lib_0.5.1.bb
+++ b/recipes/python/python-pyid3lib_0.5.1.bb
@@ -4,11 +4,12 @@ PRIORITY = "optional"
LICENSE = "LGPL"
DEPENDS = "id3lib"
SRCNAME = "pyid3lib"
-PR = "r1"
+PR = "r2"
-SRC_URI = "${SOURCEFORGE_MIRROR}/pyid3lib/${SRCNAME}-${PV}.tar.bz2"
+SRC_URI = "\
+ ${SOURCEFORGE_MIRROR}/pyid3lib/${SRCNAME}-${PV}.tar.bz2\
+ file://gcc4-fix.patch;patch=1 \
+"
S = "${WORKDIR}/${SRCNAME}-${PV}"
inherit distutils
-
-
diff --git a/recipes/python/python.inc b/recipes/python/python.inc
index 7e61f795ba..aff18db6f8 100644
--- a/recipes/python/python.inc
+++ b/recipes/python/python.inc
@@ -4,7 +4,7 @@ LICENSE = "PSF"
SECTION = "devel/python"
PRIORITY = "optional"
# bump this on every change in contrib/python/generate-manifest-2.6.py
-INC_PR = "ml8"
+INC_PR = "ml9"
DEFAULT_PREFERENCE = "-26"
diff --git a/recipes/python/python_2.6.2.bb b/recipes/python/python_2.6.2.bb
index 2369a4b324..647f420dc7 100644
--- a/recipes/python/python_2.6.2.bb
+++ b/recipes/python/python_2.6.2.bb
@@ -69,7 +69,7 @@ do_compile() {
STAGING_LIBDIR=${STAGING_LIBDIR} \
STAGING_INCDIR=${STAGING_INCDIR} \
BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \
- OPT="${CFLAGS}"
+ RUNSHARED= OPT="${CFLAGS}"
}
do_stage() {
@@ -85,7 +85,7 @@ do_install() {
STAGING_LIBDIR=${STAGING_LIBDIR} \
STAGING_INCDIR=${STAGING_INCDIR} \
BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \
- DESTDIR=${D} LIBDIR=${libdir} install
+ DESTDIR=${D} LIBDIR=${libdir} RUNSHARED= install
install -m 0644 ${WORKDIR}/sitecustomize.py ${D}/${libdir}/python${PYTHON_MAJMIN}