diff options
| author | Alexander Kanavin <alex.kanavin@gmail.com> | 2020-05-31 17:51:52 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-06-04 13:27:29 +0100 |
| commit | 2ade8194a4a5835880db56bd3b8d074e3c536af9 (patch) | |
| tree | 8fed459e732a8cb669b7127afbd275352de4e2be /meta/recipes-devtools/python/python3-cython_0.29.19.bb | |
| parent | a1bf545b016f741894434b75a11e42435edc901a (diff) | |
| download | poky-2ade8194a4a5835880db56bd3b8d074e3c536af9.tar.gz | |
python3-cython: upgrade 0.29.16 -> 0.29.19
(From OE-Core rev: 293cce59b58e19909a8078015260b208b6398d67)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3-cython_0.29.19.bb')
| -rw-r--r-- | meta/recipes-devtools/python/python3-cython_0.29.19.bb | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-cython_0.29.19.bb b/meta/recipes-devtools/python/python3-cython_0.29.19.bb new file mode 100644 index 0000000000..2ce6bdbd68 --- /dev/null +++ b/meta/recipes-devtools/python/python3-cython_0.29.19.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 | } | ||
