From 84e9d850d6c724457b2ab40d4d583e25b14e5bb0 Mon Sep 17 00:00:00 2001 From: Derek Straka Date: Thu, 22 Dec 2016 09:30:32 -0500 Subject: python-cython: update to version 0.25.2 Signed-off-by: Derek Straka Signed-off-by: Martin Jansa --- meta-python/recipes-devtools/python/python-cython.inc | 7 +++---- .../recipes-devtools/python/python-cython_0.24.1.bb | 6 ------ .../recipes-devtools/python/python-cython_0.25.2.bb | 9 +++++++++ .../recipes-devtools/python/python3-cython_0.24.1.bb | 18 ------------------ .../recipes-devtools/python/python3-cython_0.25.2.bb | 18 ++++++++++++++++++ 5 files changed, 30 insertions(+), 28 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python-cython_0.24.1.bb create mode 100644 meta-python/recipes-devtools/python/python-cython_0.25.2.bb delete mode 100644 meta-python/recipes-devtools/python/python3-cython_0.24.1.bb create mode 100644 meta-python/recipes-devtools/python/python3-cython_0.25.2.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 de8a1a938d..1ecdcc9fda 100644 --- a/meta-python/recipes-devtools/python/python-cython.inc +++ b/meta-python/recipes-devtools/python/python-cython.inc @@ -7,14 +7,13 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e23fadd6ceef8c618fc1c65191d846fa" PYPI_PACKAGE = "Cython" BBCLASSEXTEND = "native" -SRC_URI[md5sum] = "890b494a12951f1d6228c416a5789554" -SRC_URI[sha256sum] = "84808fda00508757928e1feadcf41c9f78e9a9b7167b6649ab0933b76f75e7b9" +SRC_URI[md5sum] = "642c81285e1bb833b14ab3f439964086" +SRC_URI[sha256sum] = "f141d1f9c27a07b5a93f7dc5339472067e2d7140d1c5a9e20112a5665ca60306" inherit pypi -RDEPENDS_${PN} += "\ +RDEPENDS_${PN}_class-target += "\ ${PYTHON_PN}-netserver \ ${PYTHON_PN}-subprocess \ ${PYTHON_PN}-shell \ " -RDEPENDS_${PN}_class-native = "" diff --git a/meta-python/recipes-devtools/python/python-cython_0.24.1.bb b/meta-python/recipes-devtools/python/python-cython_0.24.1.bb deleted file mode 100644 index 6be0b1e302..0000000000 --- a/meta-python/recipes-devtools/python/python-cython_0.24.1.bb +++ /dev/null @@ -1,6 +0,0 @@ -inherit setuptools -require python-cython.inc - -RDEPENDS_${PN} += "\ - python-distribute \ -" diff --git a/meta-python/recipes-devtools/python/python-cython_0.25.2.bb b/meta-python/recipes-devtools/python/python-cython_0.25.2.bb new file mode 100644 index 0000000000..bdf9490c63 --- /dev/null +++ b/meta-python/recipes-devtools/python/python-cython_0.25.2.bb @@ -0,0 +1,9 @@ +inherit setuptools +require python-cython.inc + +UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/Cython/" +UPSTREAM_CHECK_REGEX = "/Cython/(?P(\d+[\.\-_]*)+)" + +RDEPENDS_${PN} += "\ + python-distribute \ +" 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 deleted file mode 100644 index 2ce6bdbd68..0000000000 --- a/meta-python/recipes-devtools/python/python3-cython_0.24.1.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 -} diff --git a/meta-python/recipes-devtools/python/python3-cython_0.25.2.bb b/meta-python/recipes-devtools/python/python3-cython_0.25.2.bb new file mode 100644 index 0000000000..2ce6bdbd68 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-cython_0.25.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 +} -- cgit 1.2.3-korg