diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-07-15 06:06:54 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-07-18 11:06:32 +0100 |
| commit | 2823d3d1442231104007d9d1035c46911f83252d (patch) | |
| tree | 43585c95fe189acf4770e1fa882823bb78178627 /meta/recipes-devtools/python/python3-cython_0.29.21.bb | |
| parent | d5ac587d6cc154ec13f1f65385c539df6e95e47f (diff) | |
| download | poky-2823d3d1442231104007d9d1035c46911f83252d.tar.gz | |
python3-cython: upgrade 0.29.20 -> 0.29.21
(From OE-Core rev: 7899bbe61963b4f998fcd63c83620751713b8efb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3-cython_0.29.21.bb')
| -rw-r--r-- | meta/recipes-devtools/python/python3-cython_0.29.21.bb | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-cython_0.29.21.bb b/meta/recipes-devtools/python/python3-cython_0.29.21.bb new file mode 100644 index 0000000000..2ce6bdbd68 --- /dev/null +++ b/meta/recipes-devtools/python/python3-cython_0.29.21.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 | } | ||
