Skip to contentSkip to conversation

python3-barbicanclient: Change python to python3

PATCH New Wang Mingyu 2 participants 6 messages Jul 21, 2020 – Jul 24, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python3-barbicanclient: Change python to python3

Version updated to 5.0.0

---
 .../python/python-barbicanclient_git.bb       | 36 ------------------
 .../python/python3-barbicanclient_git.bb      | 37 +++++++++++++++++++
 2 files changed, 37 insertions(+), 36 deletions(-)
 delete mode 100644 meta-openstack/recipes-devtools/python/python-barbicanclient_git.bb
 create mode 100644 meta-openstack/recipes-devtools/python/python3-barbicanclient_git.bb
meta-openstack/recipes-devtools/python/python-barbicanclient_git.bb deleted +0 -36
deleted file mode 100644
index 289495a..0000000
@@ -1,36 +0,0 @@
-DESCRIPTION = "Client library for Barbican API"
-HOMEPAGE = "https://github.com/stackforge/python-barbicanclient"
-SECTION = "devel/python"
-LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=e031cff4528978748f9cc064c6e6fa73"
-
-SRC_URI = "\
-	git://github.com/openstack/python-barbicanclient.git \
-	"
-
-PV = "4.9.0+git${SRCPV}"
-SRCREV = "9c0e02d367b86eb5bdebda4e0ff1434d70db5f61"
-S = "${WORKDIR}/git"
-
-inherit setuptools3
-
-DEPENDS += " \
-        python-pip \
-        python-pbr \
-        "
-
-# Satisfy setup.py 'setup_requires'
-DEPENDS += " \
-        python-pbr-native \
-        "
-
-RDEPENDS_${PN} += " \
-        python-pbr \
-        python-requests \
-        python-six \
-        python-cliff \
-        python-keystoneauth1 \
-        python-oslo.i18n \
-        python-oslo.serialization \
-        python-oslo.utils \
-        "
meta-openstack/recipes-devtools/python/python3-barbicanclient_git.bb new file +37 -0
new file mode 100644
index 0000000..8e99a9f
@@ -0,0 +1,37 @@
+DESCRIPTION = "Client library for Barbican API"
+HOMEPAGE = "https://github.com/stackforge/python3-barbicanclient"
+SECTION = "devel/python"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=e031cff4528978748f9cc064c6e6fa73"
+
+SRC_URI = "\
+	git://github.com/openstack/python-barbicanclient.git \
+	"
+
+PV = "5.0.0+git${SRCPV}"
+SRCREV = "904fd44ca34bea7d67c203b006443af95d4fa596"
+S = "${WORKDIR}/git"
+
+inherit setuptools3
+
+DEPENDS += " \
+        python3-pip \
+        python3-pbr \
+        "
+
+# Satisfy setup.py 'setup_requires'
+DEPENDS += " \
+        python3-pbr-native \
+        "
+
+RDEPENDS_${PN} += " \
+        python3-pbr \
+        python3-requests \
+        python3-six \
+        python3-cliff \
+        python3-keystoneauth1 \
+        python3-oslo.i18n \
+        python3-oslo.serialization \
+        python3-oslo.utils \
+        python3-monotonic \
+        "
Signature · 1 line
2.25.1
#1 lore raw

PATCH 1/1 python3-sqlalchemy-migrate: Change python to python3

---
 ...3.0.bb => python3-sqlalchemy-migrate_0.13.0.bb} | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)
 rename meta-openstack/recipes-devtools/python/{python-sqlalchemy-migrate_0.13.0.bb => python3-sqlalchemy-migrate_0.13.0.bb} (74%)
meta-openstack/recipes-devtools/python/python3-sqlalchemy-migrate_0.13.0.bb renamed from meta-openstack/recipes-devtools/python/python-sqlalchemy-migrate_0.13.0.bb +7 -7
similarity index 74%
rename from meta-openstack/recipes-devtools/python/python-sqlalchemy-migrate_0.13.0.bb
rename to meta-openstack/recipes-devtools/python/python3-sqlalchemy-migrate_0.13.0.bb
index d99f638..5142e13 100644
@@ -13,15 +13,15 @@ inherit setuptools3
 
 # Satisfy setup.py 'setup_requires'
 DEPENDS += " \
-        python-pbr-native \
+        python3-pbr-native \
         "
 
 RDEPENDS_${PN} += " \
-        python-pbr \
-        python-sqlalchemy \
-        python-decorator \
-        python-six \
-        python-sqlparse \
-        python-tempita \
+        python3-pbr \
+        python3-sqlalchemy \
+        python3-decorator \
+        python3-six \
+        python3-sqlparse \
+        python3-tempita \
         "
 	
Signature · 1 line
2.17.1
#2 lore raw

Re: [meta-virtualization][PATCH 6/6] python3-oslo.middleware: Change python to python3

Thanks for the updates .. getting rid of the remaining python2 is a priority and this helps a lot.

Cheers,

Bruce

In message: [meta-virtualization][PATCH 6/6] python3-oslo.middleware: Change python to python3

Quoted 114 lines · on 21/07/2020 Wang Mingyu wrote:

Version updated to : 4.1.0

---
 .../python/python-oslo.middleware_git.bb      | 42 ------------------
 .../python/python3-oslo.middleware_git.bb     | 43 +++++++++++++++++++
 2 files changed, 43 insertions(+), 42 deletions(-)
 delete mode 100644 meta-openstack/recipes-devtools/python/python-oslo.middleware_git.bb
 create mode 100644 meta-openstack/recipes-devtools/python/python3-oslo.middleware_git.bb
meta-openstack/recipes-devtools/python/python-oslo.middleware_git.bb deleted +0 -42
deleted file mode 100644
index b5a6835..0000000
@@ -1,42 +0,0 @@
-DESCRIPTION = "Oslo Middleware library"
-HOMEPAGE = "http://launchpad.net/oslo"
-SECTION = "devel/python"
-LICENSE = "Apache-2"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=34400b68072d710fecd0a2940a0d1658"
-
-PV = "3.30.1+git${SRCPV}"
-SRCREV = "d9ad4bae1e0d6c43a009d393ac94f7ff50116171"
-
-SRCNAME = "oslo.middleware"
-SRC_URI = "git://github.com/openstack/${SRCNAME}.git;branch=stable/pike"
-
-S = "${WORKDIR}/git"
-
-inherit setuptools3
-
-# DEPENDS_default: python-pip
-
-DEPENDS += " \
-        python-pip \
-        python-pbr \
-        "
-# Satisfy setup.py 'setup_requires'
-DEPENDS += " \
-        python-pbr-native \
-        "
-
-
-# RDEPENDS_default: 
-RDEPENDS_${PN} += " \
-        python-pbr \
-        python-jinja2 \
-        python-oslo.config \
-        python-oslo.context \
-        python-oslo.i18n \
-        python-oslo.utils \
-        python-six \
-        python-stevedore \
-        python-webob \
-        python-debtcollector \
-        python-statsd \
-        "
meta-openstack/recipes-devtools/python/python3-oslo.middleware_git.bb new file +43 -0
new file mode 100644
index 0000000..a481818
@@ -0,0 +1,43 @@
+DESCRIPTION = "Oslo Middleware library"
+HOMEPAGE = "http://launchpad.net/oslo"
+SECTION = "devel/python"
+LICENSE = "Apache-2"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=34400b68072d710fecd0a2940a0d1658"
+
+PV = "4.1.0+git${SRCPV}"
+SRCREV = "7355d905bc0e6b7d8884e290cc26895eed0f7179"
+
+SRCNAME = "oslo.middleware"
+SRC_URI = "git://github.com/openstack/${SRCNAME}.git;branch=stable/pike"
+
+S = "${WORKDIR}/git"
+
+inherit setuptools3
+
+# DEPENDS_default: python3-pip
+
+DEPENDS += " \
+        python3-pip \
+        python3-pbr \
+        "
+# Satisfy setup.py 'setup_requires'
+DEPENDS += " \
+        python3-pbr-native \
+        "
+
+
+# RDEPENDS_default: 
+RDEPENDS_${PN} += " \
+        python3-pbr \
+        python3-jinja2 \
+        python3-oslo.config \
+        python3-oslo.context \
+        python3-oslo.i18n \
+        python3-oslo.utils \
+        python3-six \
+        python3-stevedore \
+        python3-webob \
+        python3-debtcollector \
+        python3-statsd \
+        python3-monotonic \
+        "
Signature · 1 line
2.25.1
#3 lore raw

PATCH 1/1 python3-oslo.rootwrap: Change python to python3

In reply to Wang Mingyu

Version updated to 6.1.0

---
 ...rap_git.bb => python3-oslo.rootwrap_git.bb} | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)
 rename meta-openstack/recipes-devtools/python/{python-oslo.rootwrap_git.bb => python3-oslo.rootwrap_git.bb} (57%)
meta-openstack/recipes-devtools/python/python3-oslo.rootwrap_git.bb renamed from meta-openstack/recipes-devtools/python/python-oslo.rootwrap_git.bb +9 -9
similarity index 57%
rename from meta-openstack/recipes-devtools/python/python-oslo.rootwrap_git.bb
rename to meta-openstack/recipes-devtools/python/python3-oslo.rootwrap_git.bb
index a7d2a22..2d311b5 100644
@@ -4,30 +4,30 @@ SECTION = "devel/python"
 LICENSE = "Apache-2"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=c46f31914956e4579f9b488e71415ac8"
 
-PV = "5.9.0+git${SRCPV}"
-SRCREV = "b7b63e2ecb50ba66a1f152ae6f71dd208326fbee"
+PV = "6.1.0+git${SRCPV}"
+SRCREV = "ff61e1577c3aaec6242951876263108559d1a203"
 
 SRCNAME = "oslo.rootwrap"
-SRC_URI = "git://github.com/openstack/${SRCNAME}.git;branch=stable/pike"
+SRC_URI = "git://github.com/openstack/${SRCNAME}.git"
 
 S = "${WORKDIR}/git"
 
 inherit setuptools3
 
-# DEPENDS_default: python-pip
+# DEPENDS_default: python3-pip
 
 DEPENDS += " \
-        python-pip \
-        python-pbr \
+        python3-pip \
+        python3-pbr \
         "
 
 # Satisfy setup.py 'setup_requires'
 DEPENDS += " \
-        python-pbr-native \
+        python3-pbr-native \
         "
 
 # RDEPENDS_default: 
 RDEPENDS_${PN} += " \
-        python-pbr \
-        python-six \
+        python3-pbr \
+        python3-six \
         "
Signature · 1 line
2.25.1
#4 lore raw

PATCH 1/6 python3-oslo.log: Change python to python3

In reply to Wang Mingyu

Version updated to 3.30.3

---
 ...slo.log_git.bb => python3-oslo.log_git.bb} | 34 +++++++++----------
 1 file changed, 17 insertions(+), 17 deletions(-)
 rename meta-openstack/recipes-devtools/python/{python-oslo.log_git.bb => python3-oslo.log_git.bb} (50%)
meta-openstack/recipes-devtools/python/python3-oslo.log_git.bb renamed from meta-openstack/recipes-devtools/python/python-oslo.log_git.bb +17 -17
similarity index 50%
rename from meta-openstack/recipes-devtools/python/python-oslo.log_git.bb
rename to meta-openstack/recipes-devtools/python/python3-oslo.log_git.bb
index 091ae36..308b39e 100644
@@ -7,35 +7,35 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=34400b68072d710fecd0a2940a0d1658"
 SRCNAME = "oslo.log"
 SRC_URI = "git://github.com/openstack/${SRCNAME}.git;branch=stable/pike"
 
-PV = "3.30.0+git${SRCPV}"
-SRCREV = "ad776e84b51223b85b7dfa85a7e77bb2f3848f4b"
+PV = "3.30.3+git${SRCPV}"
+SRCREV = "76d1dee7b80c62172ea3900b75a47edf5b64cab4"
 S = "${WORKDIR}/git"
 
 inherit setuptools3
 
 DEPENDS += " \
-        python-pip \
-        python-babel \
-        python-pbr \
+        python3-pip \
+        python3-babel \
+        python3-pbr \
         "
 
 # Satisfy setup.py 'setup_requires'
 DEPENDS += " \
-        python-pbr-native \
+        python3-pbr-native \
         "
 
 # RDEPENDS_default: 
 RDEPENDS_${PN} += " \
         bash \
-        python-pbr \
-        python-six \
-        python-oslo.config \
-        python-oslo.context \
-        python-oslo.i18n \
-        python-oslo.utils \
-        python-oslo.serialization \
-        python-pyinotify \
-        python-debtcollector \
-        python-dateutil \
-        python-monotonic \
+        python3-pbr \
+        python3-six \
+        python3-oslo.config \
+        python3-oslo.context \
+        python3-oslo.i18n \
+        python3-oslo.utils \
+        python3-oslo.serialization \
+        python3-pyinotify \
+        python3-debtcollector \
+        python3-dateutil \
+        python3-monotonic \
         "
Signature · 1 line
2.17.1
#5 lore raw

PATCH 1/1 python3-suds-jurko: Change python to python3

In reply to Wang Mingyu
---
 .../python/python-suds-jurko.inc              | 20 ------------------
 .../python/python-suds-jurko_0.6.bb           |  3 ---
 .../python/python3-suds-jurko_0.6.bb          | 21 +++++++++++++++++--
 3 files changed, 19 insertions(+), 25 deletions(-)
 delete mode 100644 meta-openstack/recipes-devtools/python/python-suds-jurko.inc
 delete mode 100644 meta-openstack/recipes-devtools/python/python-suds-jurko_0.6.bb
meta-openstack/recipes-devtools/python/python-suds-jurko.inc deleted +0 -20
deleted file mode 100644
index 579212a..0000000
@@ -1,20 +0,0 @@
-DESCRIPTION = "Lightweight SOAP client (Jurko's fork)"
-HOMEPAGE = "https://bitbucket.org/jurko/suds"
-SECTION = "devel/python"
-LICENSE = "LGPLv3"
-LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=847e96bce86d8774f491a92924343a29"
-
-PYPI_PACKAGE_EXT = "tar.bz2"
-
-SRC_URI[md5sum] = "1309e9bc2454aa3434041f0a24ae4e11"
-SRC_URI[sha256sum] = "29edb72fd21e3044093d86f33c66cf847c5aaab26d64cb90e69e528ef014e57f"
-
-inherit pypi
-
-DEPENDS += " \
-        ${PYTHON_PN}-pip \
-        "
-
-RDEPENDS_${PN} += " \
-        "
-
meta-openstack/recipes-devtools/python/python-suds-jurko_0.6.bb deleted +0 -3
deleted file mode 100644
index d230c8d..0000000
@@ -1,3 +0,0 @@
-inherit setuptools3
-require python-suds-jurko.inc
-
meta-openstack/recipes-devtools/python/python3-suds-jurko_0.6.bb +19 -2
index d230c8d..183eab0 100644
@@ -1,3 +1,20 @@
-inherit setuptools3
-require python-suds-jurko.inc
+DESCRIPTION = "Lightweight SOAP client (Jurko's fork)"
+HOMEPAGE = "https://bitbucket.org/jurko/suds"
+SECTION = "devel/python"
+LICENSE = "LGPLv3"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=847e96bce86d8774f491a92924343a29"
+
+PYPI_PACKAGE_EXT = "tar.bz2"
+
+SRC_URI[md5sum] = "1309e9bc2454aa3434041f0a24ae4e11"
+SRC_URI[sha256sum] = "29edb72fd21e3044093d86f33c66cf847c5aaab26d64cb90e69e528ef014e57f"
+
+inherit pypi setuptools3
+
+DEPENDS += " \
+        ${PYTHON_PN}-pip \
+        "
+
+RDEPENDS_${PN} += " \
+        "
 
Signature · 1 line
2.17.1