From 1ae31787167240729a78a442a378ef354583c012 Mon Sep 17 00:00:00 2001 From: Andrey Zhizhikin Date: Mon, 20 Jan 2020 20:17:49 +0000 Subject: meta-python: rename python2 recipes to python3 eqiuvalent Rename recipes which were previously built with python2 to their python3 equivalents. Use new python3 classes (setuptools3) in those recipes. Signed-off-by: Andrey Zhizhikin Signed-off-by: Khem Raj --- .../python-pyro4/python-pyro4_4.77.bb | 18 ------------------ .../python-pyro4/python3-pyro4_4.77.bb | 18 ++++++++++++++++++ .../python-thrift/python-thrift_0.13.0.bb | 18 ------------------ .../python-thrift/python3-thrift_0.13.0.bb | 18 ++++++++++++++++++ .../python-txws/python-txws_0.9.1.bb | 15 --------------- .../python-txws/python3-txws_0.9.1.bb | 15 +++++++++++++++ .../python-jsonref/python-jsonref_0.2.bb | 1 - .../python-jsonref/python3-jsonref_0.2.bb | 1 + .../recipes-extended/python-cson/python-cson_git.bb | 21 --------------------- .../python-cson/python3-cson_git.bb | 21 +++++++++++++++++++++ .../python-pyephem/python-pyephem_3.7.7.0.bb | 17 ----------------- .../python-pyephem/python3-pyephem_3.7.7.0.bb | 17 +++++++++++++++++ 12 files changed, 90 insertions(+), 90 deletions(-) delete mode 100644 meta-python/recipes-connectivity/python-pyro4/python-pyro4_4.77.bb create mode 100644 meta-python/recipes-connectivity/python-pyro4/python3-pyro4_4.77.bb delete mode 100644 meta-python/recipes-connectivity/python-thrift/python-thrift_0.13.0.bb create mode 100644 meta-python/recipes-connectivity/python-thrift/python3-thrift_0.13.0.bb delete mode 100644 meta-python/recipes-connectivity/python-txws/python-txws_0.9.1.bb create mode 100644 meta-python/recipes-connectivity/python-txws/python3-txws_0.9.1.bb delete mode 100644 meta-python/recipes-devtools/python-jsonref/python-jsonref_0.2.bb create mode 100644 meta-python/recipes-devtools/python-jsonref/python3-jsonref_0.2.bb delete mode 100644 meta-python/recipes-extended/python-cson/python-cson_git.bb create mode 100644 meta-python/recipes-extended/python-cson/python3-cson_git.bb delete mode 100644 meta-python/recipes-extended/python-pyephem/python-pyephem_3.7.7.0.bb create mode 100644 meta-python/recipes-extended/python-pyephem/python3-pyephem_3.7.7.0.bb diff --git a/meta-python/recipes-connectivity/python-pyro4/python-pyro4_4.77.bb b/meta-python/recipes-connectivity/python-pyro4/python-pyro4_4.77.bb deleted file mode 100644 index 738cf86774..0000000000 --- a/meta-python/recipes-connectivity/python-pyro4/python-pyro4_4.77.bb +++ /dev/null @@ -1,18 +0,0 @@ -SUMMARY = "Python Remote Objects" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=cd13dafd4eeb0802bb6efea6b4a4bdbc" - -SRC_URI[md5sum] = "21f015ae93cf9ea2bbbc418a2267e9fb" -SRC_URI[sha256sum] = "2bfe12a22f396474b0e57c898c7e2c561a8f850bf2055d8cf0f7119f0c7a523f" - -PYPI_PACKAGE = "Pyro4" - -inherit pypi setuptools - -RDEPENDS_${PN} += " \ - ${PYTHON_PN}-logging \ - ${PYTHON_PN}-selectors34 \ - ${PYTHON_PN}-serpent \ - ${PYTHON_PN}-threading \ - ${PYTHON_PN}-zlib \ - " diff --git a/meta-python/recipes-connectivity/python-pyro4/python3-pyro4_4.77.bb b/meta-python/recipes-connectivity/python-pyro4/python3-pyro4_4.77.bb new file mode 100644 index 0000000000..f9dd9300b0 --- /dev/null +++ b/meta-python/recipes-connectivity/python-pyro4/python3-pyro4_4.77.bb @@ -0,0 +1,18 @@ +SUMMARY = "Python Remote Objects" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=cd13dafd4eeb0802bb6efea6b4a4bdbc" + +SRC_URI[md5sum] = "21f015ae93cf9ea2bbbc418a2267e9fb" +SRC_URI[sha256sum] = "2bfe12a22f396474b0e57c898c7e2c561a8f850bf2055d8cf0f7119f0c7a523f" + +PYPI_PACKAGE = "Pyro4" + +inherit pypi setuptools3 + +RDEPENDS_${PN} += " \ + ${PYTHON_PN}-logging \ + ${PYTHON_PN}-selectors34 \ + ${PYTHON_PN}-serpent \ + ${PYTHON_PN}-threading \ + ${PYTHON_PN}-zlib \ + " diff --git a/meta-python/recipes-connectivity/python-thrift/python-thrift_0.13.0.bb b/meta-python/recipes-connectivity/python-thrift/python-thrift_0.13.0.bb deleted file mode 100644 index 2d51619d49..0000000000 --- a/meta-python/recipes-connectivity/python-thrift/python-thrift_0.13.0.bb +++ /dev/null @@ -1,18 +0,0 @@ -SUMMARY = "Python bindings for the Apache Thrift RPC system" -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://PKG-INFO;md5=e95cd2f17c70d3180a2b361332319fe0" - -SRC_URI[md5sum] = "c3bc8d9a910d2c9ce26f2ad1f7c96762" -SRC_URI[sha256sum] = "9af1c86bf73433afc6010ed376a6c6aca2b54099cc0d61895f640870a9ae7d89" - -inherit pypi setuptools - -# Use different filename to prevent conflicts with thrift itself -PYPI_SRC_URI_append = ";downloadfilename=${BP}.${PYPI_PACKAGE_EXT}" - -RDEPENDS_${PN} += "\ - ${PYTHON_PN}-logging \ - ${PYTHON_PN}-six \ - ${PYTHON_PN}-stringold \ - ${PYTHON_PN}-threading \ -" diff --git a/meta-python/recipes-connectivity/python-thrift/python3-thrift_0.13.0.bb b/meta-python/recipes-connectivity/python-thrift/python3-thrift_0.13.0.bb new file mode 100644 index 0000000000..80f1a50178 --- /dev/null +++ b/meta-python/recipes-connectivity/python-thrift/python3-thrift_0.13.0.bb @@ -0,0 +1,18 @@ +SUMMARY = "Python bindings for the Apache Thrift RPC system" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://PKG-INFO;md5=e95cd2f17c70d3180a2b361332319fe0" + +SRC_URI[md5sum] = "c3bc8d9a910d2c9ce26f2ad1f7c96762" +SRC_URI[sha256sum] = "9af1c86bf73433afc6010ed376a6c6aca2b54099cc0d61895f640870a9ae7d89" + +inherit pypi setuptools3 + +# Use different filename to prevent conflicts with thrift itself +PYPI_SRC_URI_append = ";downloadfilename=${BP}.${PYPI_PACKAGE_EXT}" + +RDEPENDS_${PN} += "\ + ${PYTHON_PN}-logging \ + ${PYTHON_PN}-six \ + ${PYTHON_PN}-stringold \ + ${PYTHON_PN}-threading \ +" diff --git a/meta-python/recipes-connectivity/python-txws/python-txws_0.9.1.bb b/meta-python/recipes-connectivity/python-txws/python-txws_0.9.1.bb deleted file mode 100644 index f3631cda34..0000000000 --- a/meta-python/recipes-connectivity/python-txws/python-txws_0.9.1.bb +++ /dev/null @@ -1,15 +0,0 @@ -SUMMARY = "Twisted Web Sockets" -HOMEPAGE = "https://github.com/MostAwesomeDude/txWS" - -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://LICENSE;md5=76699830db7fa9e897f6a1ad05f98ec8" - -DEPENDS = "python-twisted python-six python-vcversioner python-six-native python-vcversioner-native" - -SRC_URI = "git://github.com/MostAwesomeDude/txWS.git" -SRCREV= "88cf6d9b9b685ffa1720644bd53c742afb10a414" - -S = "${WORKDIR}/git" - -inherit setuptools - diff --git a/meta-python/recipes-connectivity/python-txws/python3-txws_0.9.1.bb b/meta-python/recipes-connectivity/python-txws/python3-txws_0.9.1.bb new file mode 100644 index 0000000000..6d1327ac42 --- /dev/null +++ b/meta-python/recipes-connectivity/python-txws/python3-txws_0.9.1.bb @@ -0,0 +1,15 @@ +SUMMARY = "Twisted Web Sockets" +HOMEPAGE = "https://github.com/MostAwesomeDude/txWS" + +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=76699830db7fa9e897f6a1ad05f98ec8" + +DEPENDS = "python-twisted python-six python-vcversioner python-six-native python-vcversioner-native" + +SRC_URI = "git://github.com/MostAwesomeDude/txWS.git" +SRCREV= "88cf6d9b9b685ffa1720644bd53c742afb10a414" + +S = "${WORKDIR}/git" + +inherit setuptools3 + diff --git a/meta-python/recipes-devtools/python-jsonref/python-jsonref_0.2.bb b/meta-python/recipes-devtools/python-jsonref/python-jsonref_0.2.bb deleted file mode 100644 index d97893f5ab..0000000000 --- a/meta-python/recipes-devtools/python-jsonref/python-jsonref_0.2.bb +++ /dev/null @@ -1 +0,0 @@ -require python-jsonref.inc diff --git a/meta-python/recipes-devtools/python-jsonref/python3-jsonref_0.2.bb b/meta-python/recipes-devtools/python-jsonref/python3-jsonref_0.2.bb new file mode 100644 index 0000000000..d97893f5ab --- /dev/null +++ b/meta-python/recipes-devtools/python-jsonref/python3-jsonref_0.2.bb @@ -0,0 +1 @@ +require python-jsonref.inc diff --git a/meta-python/recipes-extended/python-cson/python-cson_git.bb b/meta-python/recipes-extended/python-cson/python-cson_git.bb deleted file mode 100644 index efb338cf28..0000000000 --- a/meta-python/recipes-extended/python-cson/python-cson_git.bb +++ /dev/null @@ -1,21 +0,0 @@ -# Copyright (C) 2015 Khem Raj -# Released under the MIT license (see COPYING.MIT for the terms) - -DESCRIPTION = "Python library for CSON (schema-compressed JSON)" -HOMEPAGE = "https://github.com/gt3389b/python-cson/" -LICENSE = "MIT" -SECTION = "devel/python" -LIC_FILES_CHKSUM = "file://LICENSE;md5=7709d2635e63ab96973055a23c2a4cac" - -SRCREV = "f3f2898c44bb16b951d3e9f2fbf6d1c4158edda2" -SRC_URI = "git://github.com/gt3389b/python-cson.git" - -S = "${WORKDIR}/git" - -RDEPENDS_${PN}_class-native = "" -DEPENDS_append_class-native = " python-native " - -inherit setuptools - -BBCLASSEXTEND = "native" - diff --git a/meta-python/recipes-extended/python-cson/python3-cson_git.bb b/meta-python/recipes-extended/python-cson/python3-cson_git.bb new file mode 100644 index 0000000000..5c74c7a307 --- /dev/null +++ b/meta-python/recipes-extended/python-cson/python3-cson_git.bb @@ -0,0 +1,21 @@ +# Copyright (C) 2015 Khem Raj +# Released under the MIT license (see COPYING.MIT for the terms) + +DESCRIPTION = "Python library for CSON (schema-compressed JSON)" +HOMEPAGE = "https://github.com/gt3389b/python-cson/" +LICENSE = "MIT" +SECTION = "devel/python" +LIC_FILES_CHKSUM = "file://LICENSE;md5=7709d2635e63ab96973055a23c2a4cac" + +SRCREV = "f3f2898c44bb16b951d3e9f2fbf6d1c4158edda2" +SRC_URI = "git://github.com/gt3389b/python-cson.git" + +S = "${WORKDIR}/git" + +RDEPENDS_${PN}_class-native = "" +DEPENDS_append_class-native = " python-native " + +inherit setuptools3 + +BBCLASSEXTEND = "native" + diff --git a/meta-python/recipes-extended/python-pyephem/python-pyephem_3.7.7.0.bb b/meta-python/recipes-extended/python-pyephem/python-pyephem_3.7.7.0.bb deleted file mode 100644 index 422f0dbc43..0000000000 --- a/meta-python/recipes-extended/python-pyephem/python-pyephem_3.7.7.0.bb +++ /dev/null @@ -1,17 +0,0 @@ -SUMMARY = "PyEphem astronomical calculations" -HOMEPAGE = "http://rhodesmill.org/pyephem/" - -LICENSE = "LGPL-3.0" -LIC_FILES_CHKSUM = "file://COPYING;md5=f288303760f6e5ceaafe3aaa32186ab1" - -SRC_URI[md5sum] = "46c035b4a903ff26e0d8ad0f1fe6cc35" -SRC_URI[sha256sum] = "607148429f85412915e32265779c0cf6d09f73aa97cf1ff0d101ac22c69c4436" - -PYPI_PACKAGE = "ephem" - -inherit pypi setuptools - -RDEPENDS_${PN} += "\ - ${PYTHON_PN}-datetime \ - ${PYTHON_PN}-math \ - " diff --git a/meta-python/recipes-extended/python-pyephem/python3-pyephem_3.7.7.0.bb b/meta-python/recipes-extended/python-pyephem/python3-pyephem_3.7.7.0.bb new file mode 100644 index 0000000000..38b3c0a4f8 --- /dev/null +++ b/meta-python/recipes-extended/python-pyephem/python3-pyephem_3.7.7.0.bb @@ -0,0 +1,17 @@ +SUMMARY = "PyEphem astronomical calculations" +HOMEPAGE = "http://rhodesmill.org/pyephem/" + +LICENSE = "LGPL-3.0" +LIC_FILES_CHKSUM = "file://COPYING;md5=f288303760f6e5ceaafe3aaa32186ab1" + +SRC_URI[md5sum] = "46c035b4a903ff26e0d8ad0f1fe6cc35" +SRC_URI[sha256sum] = "607148429f85412915e32265779c0cf6d09f73aa97cf1ff0d101ac22c69c4436" + +PYPI_PACKAGE = "ephem" + +inherit pypi setuptools3 + +RDEPENDS_${PN} += "\ + ${PYTHON_PN}-datetime \ + ${PYTHON_PN}-math \ + " -- cgit 1.2.3-korg