summaryrefslogtreecommitdiff
path: root/packages/python
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2008-07-09 12:12:08 +0000
committerMichael Lauer <mickey@vanille-media.de>2008-07-09 12:12:08 +0000
commit24a51ce6d225dff097ede2281fc3a688e63865fc (patch)
treeca1e40a66f148be297a39b143919efd323489263 /packages/python
parent04e7918253b3529f6a27eca15bab01b2cd01c998 (diff)
python-cython[-native]: downgrade to 0.9.6.14 for the time being, 0.9.8 does not compile python-e*
Diffstat (limited to 'packages/python')
-rw-r--r--packages/python/python-cython-native_0.9.6.14.bb9
-rw-r--r--packages/python/python-cython_0.9.6.14.bb13
-rw-r--r--packages/python/python-cython_0.9.8.bb3
3 files changed, 25 insertions, 0 deletions
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
index 0000000000..cb7743e1bf
--- /dev/null
+++ b/packages/python/python-cython-native_0.9.6.14.bb
@@ -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
index 0000000000..6077089bf2
--- /dev/null
+++ b/packages/python/python-cython_0.9.6.14.bb
@@ -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
diff --git a/packages/python/python-cython_0.9.8.bb b/packages/python/python-cython_0.9.8.bb
index f78ba38e87..9243aa61f0 100644
--- a/packages/python/python-cython_0.9.8.bb
+++ b/packages/python/python-cython_0.9.8.bb
@@ -11,3 +11,6 @@ SRC_URI = "http://www.cython.org/${SRCNAME}-${PV}.tar.gz"
S = "${WORKDIR}/${SRCNAME}-${PV}"
inherit distutils
+
+DEFAULT_PREFERENCE = "-1"
+