From fdbd768ab29bd88b4157171e5985d265ff6305e3 Mon Sep 17 00:00:00 2001 From: Zang Ruochen Date: Wed, 12 Jun 2019 11:54:38 +0800 Subject: python-cython: upgrade 0.29.7 -> 0.29.10 -Upgrade from python-cython_0.29.7.bb to python-cython_0.29.10.bb. -Upgrade from python3-cython_0.29.7.bb to python3-cython_0.29.10.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.10.bb | 10 ++++++++++ .../recipes-devtools/python/python-cython_0.29.7.bb | 10 ---------- .../recipes-devtools/python/python3-cython_0.29.10.bb | 18 ++++++++++++++++++ .../recipes-devtools/python/python3-cython_0.29.7.bb | 18 ------------------ 5 files changed, 30 insertions(+), 30 deletions(-) create mode 100644 meta-python/recipes-devtools/python/python-cython_0.29.10.bb delete mode 100644 meta-python/recipes-devtools/python/python-cython_0.29.7.bb create mode 100644 meta-python/recipes-devtools/python/python3-cython_0.29.10.bb delete mode 100644 meta-python/recipes-devtools/python/python3-cython_0.29.7.bb (limited to 'meta-python/recipes-devtools') diff --git a/meta-python/recipes-devtools/python/python-cython.inc b/meta-python/recipes-devtools/python/python-cython.inc index 8ccbe0a875..10cfef58b1 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] = "24f6a7e0e6691fbecf5880f38cdf880e" -SRC_URI[sha256sum] = "55d081162191b7c11c7bfcb7c68e913827dfd5de6ecdbab1b99dab190586c1e8" +SRC_URI[md5sum] = "08939b99869f59007387aea0d1a86341" +SRC_URI[sha256sum] = "26229570d6787ff3caa932fe9d802960f51a89239b990d275ae845405ce43857" inherit pypi diff --git a/meta-python/recipes-devtools/python/python-cython_0.29.10.bb b/meta-python/recipes-devtools/python/python-cython_0.29.10.bb new file mode 100644 index 0000000000..d803a6ed4c --- /dev/null +++ b/meta-python/recipes-devtools/python/python-cython_0.29.10.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.29.7.bb b/meta-python/recipes-devtools/python/python-cython_0.29.7.bb deleted file mode 100644 index d803a6ed4c..0000000000 --- a/meta-python/recipes-devtools/python/python-cython_0.29.7.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.29.10.bb b/meta-python/recipes-devtools/python/python3-cython_0.29.10.bb new file mode 100644 index 0000000000..2ce6bdbd68 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-cython_0.29.10.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.29.7.bb b/meta-python/recipes-devtools/python/python3-cython_0.29.7.bb deleted file mode 100644 index 2ce6bdbd68..0000000000 --- a/meta-python/recipes-devtools/python/python3-cython_0.29.7.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