diff options
author | Michael Lauer <mickey@vanille-media.de> | 2007-12-06 02:06:53 +0000 |
---|---|---|
committer | Michael Lauer <mickey@vanille-media.de> | 2007-12-06 02:06:53 +0000 |
commit | 07c807daa501de0fe5efba51941635917dd72592 (patch) | |
tree | 69d12936b79f1ab8d7e4c32eb47245de809299bb /packages/python | |
parent | e4a83104ee3c4e87c8c814a775b149a6c3286260 (diff) |
add python-cython[-native], a C-binding generator. Probably the successor to pyrex
Diffstat (limited to 'packages/python')
-rw-r--r-- | packages/python/python-cython-native_0.9.6.9.bb | 9 | ||||
-rw-r--r-- | packages/python/python-cython_0.9.6.9.bb | 13 |
2 files changed, 22 insertions, 0 deletions
diff --git a/packages/python/python-cython-native_0.9.6.9.bb b/packages/python/python-cython-native_0.9.6.9.bb new file mode 100644 index 0000000000..cb7743e1bf --- /dev/null +++ b/packages/python/python-cython-native_0.9.6.9.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.9.bb b/packages/python/python-cython_0.9.6.9.bb new file mode 100644 index 0000000000..a513104108 --- /dev/null +++ b/packages/python/python-cython_0.9.6.9.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://www.cython.org/${SRCNAME}-${PV}.zip" +S = "${WORKDIR}/${SRCNAME}-${PV}" + +inherit distutils |