From dd15921960421a1d476dc1706a87a28d00d8edfe Mon Sep 17 00:00:00 2001 From: Derek Straka Date: Sun, 22 Apr 2018 11:25:11 -0400 Subject: python-cython: update to version 0.28.2 Signed-off-by: Derek Straka Signed-off-by: Armin Kuster --- meta-python/recipes-devtools/python/python-cython.inc | 4 ++-- .../recipes-devtools/python/python-cython_0.28.2.bb | 10 ++++++++++ .../recipes-devtools/python/python-cython_0.28.bb | 10 ---------- .../recipes-devtools/python/python3-cython_0.28.2.bb | 18 ++++++++++++++++++ .../recipes-devtools/python/python3-cython_0.28.bb | 18 ------------------ 5 files changed, 30 insertions(+), 30 deletions(-) create mode 100644 meta-python/recipes-devtools/python/python-cython_0.28.2.bb delete mode 100644 meta-python/recipes-devtools/python/python-cython_0.28.bb create mode 100644 meta-python/recipes-devtools/python/python3-cython_0.28.2.bb delete mode 100644 meta-python/recipes-devtools/python/python3-cython_0.28.bb (limited to 'meta-python') diff --git a/meta-python/recipes-devtools/python/python-cython.inc b/meta-python/recipes-devtools/python/python-cython.inc index 550d9a3c76..5d3b9d5baf 100644 --- a/meta-python/recipes-devtools/python/python-cython.inc +++ b/meta-python/recipes-devtools/python/python-cython.inc @@ -7,8 +7,8 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e23fadd6ceef8c618fc1c65191d846fa" PYPI_PACKAGE = "Cython" BBCLASSEXTEND = "native nativesdk" -SRC_URI[md5sum] = "459a7980c508e61fc37b3245612969ac" -SRC_URI[sha256sum] = "518f7e22da54109661e483a91a63045203caf9fd78da4a69185a7622f759965f" +SRC_URI[md5sum] = "0e0568d6bed4b09ad01afe0a38805305" +SRC_URI[sha256sum] = "634e2f10fc8d026c633cffacb45cd8f4582149fa68e1428124e762dbc566e68a" inherit pypi diff --git a/meta-python/recipes-devtools/python/python-cython_0.28.2.bb b/meta-python/recipes-devtools/python/python-cython_0.28.2.bb new file mode 100644 index 0000000000..d803a6ed4c --- /dev/null +++ b/meta-python/recipes-devtools/python/python-cython_0.28.2.bb @@ -0,0 +1,10 @@ +inherit setuptools +require python-cython.inc + +UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/Cython/" +UPSTREAM_CHECK_REGEX = "/Cython/(?P(\d+[\.\-_]*)+)" + +RDEPENDS_${PN} += "\ + ${PYTHON_PN}-distribute \ + ${PYTHON_PN}-subprocess \ +" diff --git a/meta-python/recipes-devtools/python/python-cython_0.28.bb b/meta-python/recipes-devtools/python/python-cython_0.28.bb deleted file mode 100644 index d803a6ed4c..0000000000 --- a/meta-python/recipes-devtools/python/python-cython_0.28.bb +++ /dev/null @@ -1,10 +0,0 @@ -inherit setuptools -require python-cython.inc - -UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/Cython/" -UPSTREAM_CHECK_REGEX = "/Cython/(?P(\d+[\.\-_]*)+)" - -RDEPENDS_${PN} += "\ - ${PYTHON_PN}-distribute \ - ${PYTHON_PN}-subprocess \ -" diff --git a/meta-python/recipes-devtools/python/python3-cython_0.28.2.bb b/meta-python/recipes-devtools/python/python3-cython_0.28.2.bb new file mode 100644 index 0000000000..2ce6bdbd68 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-cython_0.28.2.bb @@ -0,0 +1,18 @@ +inherit setuptools3 +require python-cython.inc + +RDEPENDS_${PN} += "\ + python3-setuptools \ +" + +# running build_ext a second time during install fails, because Python +# would then attempt to import cythonized modules built for the target +# architecture. +DISTUTILS_INSTALL_ARGS += "--skip-build" + +do_install_append() { + # rename scripts that would conflict with the Python 2 build of Cython + mv ${D}${bindir}/cython ${D}${bindir}/cython3 + mv ${D}${bindir}/cythonize ${D}${bindir}/cythonize3 + mv ${D}${bindir}/cygdb ${D}${bindir}/cygdb3 +} diff --git a/meta-python/recipes-devtools/python/python3-cython_0.28.bb b/meta-python/recipes-devtools/python/python3-cython_0.28.bb deleted file mode 100644 index 2ce6bdbd68..0000000000 --- a/meta-python/recipes-devtools/python/python3-cython_0.28.bb +++ /dev/null @@ -1,18 +0,0 @@ -inherit setuptools3 -require python-cython.inc - -RDEPENDS_${PN} += "\ - python3-setuptools \ -" - -# running build_ext a second time during install fails, because Python -# would then attempt to import cythonized modules built for the target -# architecture. -DISTUTILS_INSTALL_ARGS += "--skip-build" - -do_install_append() { - # rename scripts that would conflict with the Python 2 build of Cython - mv ${D}${bindir}/cython ${D}${bindir}/cython3 - mv ${D}${bindir}/cythonize ${D}${bindir}/cythonize3 - mv ${D}${bindir}/cygdb ${D}${bindir}/cygdb3 -} -- cgit 1.2.3-korg