From 815c7d5789f904c2648b1a749a9fbfcc6ad4edb5 Mon Sep 17 00:00:00 2001 From: Derek Straka Date: Tue, 3 Oct 2017 12:54:38 -0400 Subject: python-cython: update to version 0.27.1 Signed-off-by: Derek Straka Signed-off-by: Martin Jansa --- meta-python/recipes-devtools/python/python-cython.inc | 4 ++-- .../recipes-devtools/python/python-cython_0.27.1.bb | 9 +++++++++ .../recipes-devtools/python/python-cython_0.27.bb | 9 --------- .../recipes-devtools/python/python3-cython_0.27.1.bb | 18 ++++++++++++++++++ .../recipes-devtools/python/python3-cython_0.27.bb | 18 ------------------ 5 files changed, 29 insertions(+), 29 deletions(-) create mode 100644 meta-python/recipes-devtools/python/python-cython_0.27.1.bb delete mode 100644 meta-python/recipes-devtools/python/python-cython_0.27.bb create mode 100644 meta-python/recipes-devtools/python/python3-cython_0.27.1.bb delete mode 100644 meta-python/recipes-devtools/python/python3-cython_0.27.bb diff --git a/meta-python/recipes-devtools/python/python-cython.inc b/meta-python/recipes-devtools/python/python-cython.inc index 38ee51f8cc..572cb960e3 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" -SRC_URI[md5sum] = "3a26a5940da1e9f95d8776eabd888b07" -SRC_URI[sha256sum] = "b932b5194e87a8b853d493dc1b46e38632d6846a86f55b8346eb9c6ec3bdc00b" +SRC_URI[md5sum] = "b93750b34382b025d678bea819b7491b" +SRC_URI[sha256sum] = "e6840a2ba2704f4ffb40e454c36f73aeb440a4005453ee8d7ff6a00d812ba176" inherit pypi diff --git a/meta-python/recipes-devtools/python/python-cython_0.27.1.bb b/meta-python/recipes-devtools/python/python-cython_0.27.1.bb new file mode 100644 index 0000000000..bdf9490c63 --- /dev/null +++ b/meta-python/recipes-devtools/python/python-cython_0.27.1.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/python-cython_0.27.bb b/meta-python/recipes-devtools/python/python-cython_0.27.bb deleted file mode 100644 index bdf9490c63..0000000000 --- a/meta-python/recipes-devtools/python/python-cython_0.27.bb +++ /dev/null @@ -1,9 +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-distribute \ -" diff --git a/meta-python/recipes-devtools/python/python3-cython_0.27.1.bb b/meta-python/recipes-devtools/python/python3-cython_0.27.1.bb new file mode 100644 index 0000000000..2ce6bdbd68 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-cython_0.27.1.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.27.bb b/meta-python/recipes-devtools/python/python3-cython_0.27.bb deleted file mode 100644 index 2ce6bdbd68..0000000000 --- a/meta-python/recipes-devtools/python/python3-cython_0.27.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