python-cython[-native]: downgrade to 0.9.6.14 for the time being, 0.9.8 does not...
authorMichael Lauer <mickey@vanille-media.de>
Wed, 9 Jul 2008 12:12:08 +0000 (12:12 +0000)
committerMichael Lauer <mickey@vanille-media.de>
Wed, 9 Jul 2008 12:12:08 +0000 (12:12 +0000)
packages/python/python-cython-native_0.9.6.14.bb [new file with mode: 0644]
packages/python/python-cython_0.9.6.14.bb [new file with mode: 0644]
packages/python/python-cython_0.9.8.bb

diff --git a/packages/python/python-cython-native_0.9.6.14.bb b/packages/python/python-cython-native_0.9.6.14.bb
new file mode 100644 (file)
index 0000000..cb7743e
--- /dev/null
@@ -0,0 +1,9 @@
+require python-cython_${PV}.bb
+inherit native
+DEPENDS = "python-native"
+RDEPENDS = ""
+
+do_stage() {
+       BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \
+        ${STAGING_BINDIR}/python setup.py install --prefix=${STAGING_BINDIR}/.. --install-data=${STAGING_DATADIR}
+}
diff --git a/packages/python/python-cython_0.9.6.14.bb b/packages/python/python-cython_0.9.6.14.bb
new file mode 100644 (file)
index 0000000..6077089
--- /dev/null
@@ -0,0 +1,13 @@
+DESCRIPTION = "Cython is a language specially designed for writing Python extension modules. \
+It's designed to bridge the gap between the nice, high-level, easy-to-use world of Python \
+and the messy, low-level world of C."
+SECTION = "devel/python"
+PRIORITY = "optional"
+LICENSE = "GPL"
+SRCNAME = "Cython"
+PR = "ml0"
+
+SRC_URI = "http://pypi.python.org/packages/source/C/Cython/${SRCNAME}-${PV}.tar.gz"
+S = "${WORKDIR}/${SRCNAME}-${PV}"
+
+inherit distutils
index f78ba38..9243aa6 100644 (file)
@@ -11,3 +11,6 @@ SRC_URI = "http://www.cython.org/${SRCNAME}-${PV}.tar.gz"
 S = "${WORKDIR}/${SRCNAME}-${PV}"
 
 inherit distutils
+
+DEFAULT_PREFERENCE = "-1"
+