From aa8870e345641124f758547578e75a827d634bf6 Mon Sep 17 00:00:00 2001 From: Zang Ruochen Date: Thu, 9 May 2019 13:22:06 +0800 Subject: python-cython: upgrade 0.29.6 -> 0.29.7 -Upgrade from python-cython_0.29.6.bb to python-cython_0.29.7.bb. -Upgrade from python3-cython_0.29.6.bb to python3-cython_0.29.7.bb. Signed-off-by: Zang Ruochen Signed-off-by: Khem Raj --- meta-python/recipes-devtools/python/python-cython.inc | 4 ++-- .../recipes-devtools/python/python-cython_0.29.6.bb | 10 ---------- .../recipes-devtools/python/python-cython_0.29.7.bb | 10 ++++++++++ .../recipes-devtools/python/python3-cython_0.29.6.bb | 18 ------------------ .../recipes-devtools/python/python3-cython_0.29.7.bb | 18 ++++++++++++++++++ 5 files changed, 30 insertions(+), 30 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python-cython_0.29.6.bb create mode 100644 meta-python/recipes-devtools/python/python-cython_0.29.7.bb delete mode 100644 meta-python/recipes-devtools/python/python3-cython_0.29.6.bb create mode 100644 meta-python/recipes-devtools/python/python3-cython_0.29.7.bb diff --git a/meta-python/recipes-devtools/python/python-cython.inc b/meta-python/recipes-devtools/python/python-cython.inc index afdf974a4f..8ccbe0a875 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] = "8a9441e85ac8085e3d947082db4e7993" -SRC_URI[sha256sum] = "6c5d33f1b5c864382fbce810a8fd9e015447869ae42e98e6301e977b8165e7ae" +SRC_URI[md5sum] = "24f6a7e0e6691fbecf5880f38cdf880e" +SRC_URI[sha256sum] = "55d081162191b7c11c7bfcb7c68e913827dfd5de6ecdbab1b99dab190586c1e8" inherit pypi diff --git a/meta-python/recipes-devtools/python/python-cython_0.29.6.bb b/meta-python/recipes-devtools/python/python-cython_0.29.6.bb deleted file mode 100644 index d803a6ed4c..0000000000 --- a/meta-python/recipes-devtools/python/python-cython_0.29.6.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/python-cython_0.29.7.bb b/meta-python/recipes-devtools/python/python-cython_0.29.7.bb new file mode 100644 index 0000000000..d803a6ed4c --- /dev/null +++ b/meta-python/recipes-devtools/python/python-cython_0.29.7.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/python3-cython_0.29.6.bb b/meta-python/recipes-devtools/python/python3-cython_0.29.6.bb deleted file mode 100644 index 2ce6bdbd68..0000000000 --- a/meta-python/recipes-devtools/python/python3-cython_0.29.6.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.29.7.bb b/meta-python/recipes-devtools/python/python3-cython_0.29.7.bb new file mode 100644 index 0000000000..2ce6bdbd68 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-cython_0.29.7.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