summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/packages/python/files/pyrex-fix-optimized-mode.patch13
-rw-r--r--meta/packages/python/python-dbus_0.83.0.bb25
-rw-r--r--meta/packages/python/python-pyrex-native_0.9.8.5.bb10
-rw-r--r--meta/packages/python/python-pyrex_0.9.8.5.bb16
4 files changed, 64 insertions, 0 deletions
diff --git a/meta/packages/python/files/pyrex-fix-optimized-mode.patch b/meta/packages/python/files/pyrex-fix-optimized-mode.patch
new file mode 100644
index 0000000000..a1f5bb29ba
--- /dev/null
+++ b/meta/packages/python/files/pyrex-fix-optimized-mode.patch
@@ -0,0 +1,13 @@
1Index: Pyrex-0.9.8.4/Pyrex/Distutils/extension.py
2===================================================================
3--- Pyrex-0.9.8.4.orig/Pyrex/Distutils/extension.py
4+++ Pyrex-0.9.8.4/Pyrex/Distutils/extension.py
5@@ -15,7 +15,7 @@ except ImportError:
6 warnings = None
7
8 class Extension(_Extension.Extension):
9- _Extension.Extension.__doc__ + \
10+ _Extension.Extension.__doc__ or "" + \
11 """pyrex_include_dirs : [string]
12 list of directories to search for Pyrex header files (.pxd) (in
13 Unix form for portability)
diff --git a/meta/packages/python/python-dbus_0.83.0.bb b/meta/packages/python/python-dbus_0.83.0.bb
new file mode 100644
index 0000000000..275e60e329
--- /dev/null
+++ b/meta/packages/python/python-dbus_0.83.0.bb
@@ -0,0 +1,25 @@
1DESCRIPTION = "Python bindings for DBus, a socket-based message bus system for interprocess communication"
2SECTION = "devel/python"
3HOMEPAGE = "http://www.freedesktop.org/Software/dbus"
4LICENSE = "MIT"
5DEPENDS = "expat dbus dbus-glib virtual/libintl python-pyrex-native"
6PR = "ml1"
7
8SRC_URI = "http://dbus.freedesktop.org/releases/dbus-python/dbus-python-${PV}.tar.gz"
9S = "${WORKDIR}/dbus-python-${PV}"
10
11inherit distutils-base autotools pkgconfig
12
13export BUILD_SYS
14export HOST_SYS
15
16export STAGING_LIBDIR
17export STAGING_INCDIR
18
19do_stage() {
20 autotools_stage_all
21}
22
23RDEPENDS = "python-io python-logging python-stringold python-threading python-xml"
24
25FILES_${PN}-dev += "${libdir}/pkgconfig
diff --git a/meta/packages/python/python-pyrex-native_0.9.8.5.bb b/meta/packages/python/python-pyrex-native_0.9.8.5.bb
new file mode 100644
index 0000000000..4405212040
--- /dev/null
+++ b/meta/packages/python/python-pyrex-native_0.9.8.5.bb
@@ -0,0 +1,10 @@
1require python-pyrex_${PV}.bb
2inherit native
3DEPENDS = "python-native"
4RDEPENDS = ""
5
6do_stage() {
7 BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \
8 STAGING_LIBDIR=${STAGING_LIBDIR} STAGING_INCDIR=${STAGING_INCDIR} \
9 ${STAGING_BINDIR}/python setup.py install --prefix=${STAGING_BINDIR}/.. --install-data=${STAGING_DATADIR}
10}
diff --git a/meta/packages/python/python-pyrex_0.9.8.5.bb b/meta/packages/python/python-pyrex_0.9.8.5.bb
new file mode 100644
index 0000000000..03468a0522
--- /dev/null
+++ b/meta/packages/python/python-pyrex_0.9.8.5.bb
@@ -0,0 +1,16 @@
1DESCRIPTION = "Pyrex is a language specially designed for writing Python extension modules. \
2It's designed to bridge the gap between the nice, high-level, easy-to-use world of Python \
3and the messy, low-level world of C."
4SECTION = "devel/python"
5PRIORITY = "optional"
6LICENSE = "GPL"
7SRCNAME = "Pyrex"
8PR = "ml1"
9
10SRC_URI = "\
11 http://www.cosc.canterbury.ac.nz/greg.ewing/python/${SRCNAME}/${SRCNAME}-${PV}.tar.gz \
12 file://pyrex-fix-optimized-mode.patch;patch=1 \
13"
14S = "${WORKDIR}/${SRCNAME}-${PV}"
15
16inherit distutils