From 18872d2cc6fb52df8a8534d42ed8b18d2d2b3c97 Mon Sep 17 00:00:00 2001 From: Derek Straka Date: Mon, 11 Apr 2016 07:41:34 -0400 Subject: python-cython: update to 0.24 Signed-off-by: Derek Straka Signed-off-by: Martin Jansa Signed-off-by: Armin Kuster --- meta-python/recipes-devtools/python/python-cython.inc | 4 ++-- .../recipes-devtools/python/python-cython_0.23.4.bb | 6 ------ .../recipes-devtools/python/python-cython_0.24.bb | 6 ++++++ .../recipes-devtools/python/python3-cython_0.23.4.bb | 18 ------------------ .../recipes-devtools/python/python3-cython_0.24.bb | 18 ++++++++++++++++++ 5 files changed, 26 insertions(+), 26 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python-cython_0.23.4.bb create mode 100644 meta-python/recipes-devtools/python/python-cython_0.24.bb delete mode 100644 meta-python/recipes-devtools/python/python3-cython_0.23.4.bb create mode 100644 meta-python/recipes-devtools/python/python3-cython_0.24.bb diff --git a/meta-python/recipes-devtools/python/python-cython.inc b/meta-python/recipes-devtools/python/python-cython.inc index a5505384a2..f5945b5238 100644 --- a/meta-python/recipes-devtools/python/python-cython.inc +++ b/meta-python/recipes-devtools/python/python-cython.inc @@ -10,8 +10,8 @@ BBCLASSEXTEND = "native" SRC_URI = "http://www.cython.org/release/${SRCNAME}-${PV}.tar.gz" S = "${WORKDIR}/${SRCNAME}-${PV}" -SRC_URI[md5sum] = "157df1f69bcec6b56fd97e0f2e057f6e" -SRC_URI[sha256sum] = "fec42fecee35d6cc02887f1eef4e4952c97402ed2800bfe41bbd9ed1a0730d8e" +SRC_URI[md5sum] = "14fbc970f4a856845e633cbc09e61048" +SRC_URI[sha256sum] = "6de44d8c482128efc12334641347a9c3e5098d807dd3c69e867fa8f84ec2a3f1" RDEPENDS_${PN} += "\ ${PYTHON_PN}-netserver \ diff --git a/meta-python/recipes-devtools/python/python-cython_0.23.4.bb b/meta-python/recipes-devtools/python/python-cython_0.23.4.bb deleted file mode 100644 index 6be0b1e302..0000000000 --- a/meta-python/recipes-devtools/python/python-cython_0.23.4.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.24.bb b/meta-python/recipes-devtools/python/python-cython_0.24.bb new file mode 100644 index 0000000000..6be0b1e302 --- /dev/null +++ b/meta-python/recipes-devtools/python/python-cython_0.24.bb @@ -0,0 +1,6 @@ +inherit setuptools +require python-cython.inc + +RDEPENDS_${PN} += "\ + python-distribute \ +" diff --git a/meta-python/recipes-devtools/python/python3-cython_0.23.4.bb b/meta-python/recipes-devtools/python/python3-cython_0.23.4.bb deleted file mode 100644 index 2ce6bdbd68..0000000000 --- a/meta-python/recipes-devtools/python/python3-cython_0.23.4.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.24.bb b/meta-python/recipes-devtools/python/python3-cython_0.24.bb new file mode 100644 index 0000000000..2ce6bdbd68 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-cython_0.24.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 v1.2.3-54-g00ecf