diff options
| author | Derek Straka <derek@asterius.io> | 2016-08-12 12:07:24 -0400 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2016-08-22 15:49:22 +0200 |
| commit | 622788e8acc1d2549558aa972a3cc191f00ef31a (patch) | |
| tree | 75c70baf7dc0c1c2d347e8fb49e9ea3ef63e0090 /meta-python/recipes-devtools/python/python3-cython_0.24.1.bb | |
| parent | e38635e43bae72280933d143c56bec53af9c11d6 (diff) | |
| download | meta-openembedded-622788e8acc1d2549558aa972a3cc191f00ef31a.tar.gz | |
python-cython: update to version 0.24.1
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-cython_0.24.1.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-cython_0.24.1.bb | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-cython_0.24.1.bb b/meta-python/recipes-devtools/python/python3-cython_0.24.1.bb new file mode 100644 index 0000000000..2ce6bdbd68 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-cython_0.24.1.bb | |||
| @@ -0,0 +1,18 @@ | |||
| 1 | inherit setuptools3 | ||
| 2 | require python-cython.inc | ||
| 3 | |||
| 4 | RDEPENDS_${PN} += "\ | ||
| 5 | python3-setuptools \ | ||
| 6 | " | ||
| 7 | |||
| 8 | # running build_ext a second time during install fails, because Python | ||
| 9 | # would then attempt to import cythonized modules built for the target | ||
| 10 | # architecture. | ||
| 11 | DISTUTILS_INSTALL_ARGS += "--skip-build" | ||
| 12 | |||
| 13 | do_install_append() { | ||
| 14 | # rename scripts that would conflict with the Python 2 build of Cython | ||
| 15 | mv ${D}${bindir}/cython ${D}${bindir}/cython3 | ||
| 16 | mv ${D}${bindir}/cythonize ${D}${bindir}/cythonize3 | ||
| 17 | mv ${D}${bindir}/cygdb ${D}${bindir}/cygdb3 | ||
| 18 | } | ||
