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 +++++++++++++++ 6 files changed, 51 insertions(+), 51 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 (limited to 'meta-python/recipes-connectivity') 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 + -- cgit v1.2.3-54-g00ecf