Skip to contentSkip to conversation

python3-keystoneclient: Change python to python3

PATCH In review Wang Mingyu 2 participants 4 messages Jul 28, 2020 – Jul 30, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 python3-keystoneclient: Change python to python3

Version updated to 3.13.1

---
 .../keystone-api-check.sh                     |  0
 ...t_git.bb => python3-keystoneclient_git.bb} | 40 ++++++++++---------
 2 files changed, 21 insertions(+), 19 deletions(-)
 rename meta-openstack/recipes-devtools/python/{python-keystoneclient => python3-keystoneclient}/keystone-api-check.sh (100%)
 rename meta-openstack/recipes-devtools/python/{python-keystoneclient_git.bb => python3-keystoneclient_git.bb} (59%)
meta-openstack/recipes-devtools/python/python3-keystoneclient/keystone-api-check.sh renamed from meta-openstack/recipes-devtools/python/python-keystoneclient/keystone-api-check.sh +0 -0
similarity index 100%
rename from meta-openstack/recipes-devtools/python/python-keystoneclient/keystone-api-check.sh
rename to meta-openstack/recipes-devtools/python/python3-keystoneclient/keystone-api-check.sh
meta-openstack/recipes-devtools/python/python3-keystoneclient_git.bb renamed from meta-openstack/recipes-devtools/python/python-keystoneclient_git.bb +21 -19
similarity index 59%
rename from meta-openstack/recipes-devtools/python/python-keystoneclient_git.bb
rename to meta-openstack/recipes-devtools/python/python3-keystoneclient_git.bb
index c7bfef4..c8fe38a 100644
@@ -6,12 +6,14 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=4a4d0e932ffae1c0131528d30d419c55"
 
 SRCNAME = "keystoneclient"
 
+SRC_URI = "file://keystone-api-check.sh"
+
 SRC_URI = "\
-	git://github.com/openstack/python-keystoneclient.git;branch=stable/pike \
-	file://keystone-api-check.sh \
-	"
+        git://github.com/openstack/python-keystoneclient.git;branch=stable/pike \
+        file://keystone-api-check.sh \
+        "
 
-PV = "3.13.0+git${SRCPV}"
+PV = "4.1.0+git${SRCPV}"
 SRCREV = "7ff05baa1fa56f152173651f16fc6fd181291292"
 S = "${WORKDIR}/git"
 
@@ -20,28 +22,28 @@ inherit setuptools3 monitor
 FILES_${PN}-doc += "${datadir}/keystoneclient" 
 
 DEPENDS += " \
-        python-pip \
-        python-pbr \
+        python3-pip \
+        python3-pbr \
         "
 
 # Satisfy setup.py 'setup_requires'
 DEPENDS += " \
-        python-pbr-native \
+        python3-pbr-native \
         "
 
 RDEPENDS_${PN} += " \
         bash \
-        python-pbr \
-        python-debtcollector \
-        python-keystoneauth1 \
-        python-oslo.config \
-        python-oslo.i18n \
-        python-oslo.serialization \
-        python-oslo.utils \
-        python-positional \
-        python-requests \
-        python-six \
-        python-stevedore \
+        python3-pbr \
+        python3-debtcollector \
+        python3-keystoneauth1 \
+        python3-oslo.config \
+        python3-oslo.i18n \
+        python3-oslo.serialization \
+        python3-oslo.utils \
+        python3-positional \
+        python3-requests \
+        python3-six \
+        python3-stevedore \
         "
 
 do_install_append() {
@@ -53,7 +55,7 @@ PACKAGES =+ " ${SRCNAME}-tests"
 FILES_${SRCNAME}-tests = "${PYTHON_SITEPACKAGES_DIR}/${SRCNAME}/examples \
         "
 RDEPENDS_${SRCNAME}-tests += " \
-	python-httpretty \
+	python3-httpretty \
         bash \
 	"
 
Signature · 1 line
2.17.1
#1 lore raw

PATCH 2/3 python3-pycadf: Change python to python3

Version updated to 3.1.0

---
 ...on-pycadf_git.bb => python3-pycadf_git.bb} | 26 +++++++++----------
 1 file changed, 13 insertions(+), 13 deletions(-)
 rename meta-openstack/recipes-devtools/python/{python-pycadf_git.bb => python3-pycadf_git.bb} (59%)
meta-openstack/recipes-devtools/python/python3-pycadf_git.bb renamed from meta-openstack/recipes-devtools/python/python-pycadf_git.bb +13 -13
similarity index 59%
rename from meta-openstack/recipes-devtools/python/python-pycadf_git.bb
rename to meta-openstack/recipes-devtools/python/python3-pycadf_git.bb
index 03a105d..6e864e8 100644
@@ -4,8 +4,8 @@ SECTION = "devel/python"
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=c46f31914956e4579f9b488e71415ac8"
 
-PV = "2.10.0+git${SRCPV}"
-SRCREV = "d113c1564d49d93451d9330955e8a42b7db04149"
+PV = "3.1.0+git${SRCPV}"
+SRCREV = "2402013a8719873d65136fc283e1855166adbc26"
 
 SRCNAME = "pycadf"
 SRC_URI = "git://github.com/openstack/${SRCNAME}.git"
@@ -17,21 +17,21 @@ inherit setuptools3
 FILES_${PN} += "${datadir}/etc/${SRCNAME}/*"
 
 DEPENDS += " \
-        python-pip \
-        python-pbr \
+        python3-pip \
+        python3-pbr \
         "
 # Satisfy setup.py 'setup_requires'
 DEPENDS += " \
-        python-pbr-native \
+        python3-pbr-native \
         "
 
 RDEPENDS_${PN} += " \
-      python-babel \
-      python-iso8601 \
-      python-netaddr \
-      python-posix-ipc \
-      python-pytz \
-      python-six \
-      python-webob \
-      python-pbr \
+      python3-babel \
+      python3-iso8601 \
+      python3-netaddr \
+      python3-posix-ipc \
+      python3-pytz \
+      python3-six \
+      python3-webob \
+      python3-pbr \
         "
Signature · 1 line
2.17.1
#2 lore raw

merged.

Bruce

In message: [PATCH 1/3] [meta-virtualization][PATCH] python3-keystoneclient: Change python to python3

Quoted 99 lines · on 28/07/2020 Wang Mingyu wrote:

Version updated to 3.13.1

---
 .../keystone-api-check.sh                     |  0
 ...t_git.bb => python3-keystoneclient_git.bb} | 40 ++++++++++---------
 2 files changed, 21 insertions(+), 19 deletions(-)
 rename meta-openstack/recipes-devtools/python/{python-keystoneclient => python3-keystoneclient}/keystone-api-check.sh (100%)
 rename meta-openstack/recipes-devtools/python/{python-keystoneclient_git.bb => python3-keystoneclient_git.bb} (59%)
meta-openstack/recipes-devtools/python/python3-keystoneclient/keystone-api-check.sh renamed from meta-openstack/recipes-devtools/python/python-keystoneclient/keystone-api-check.sh +0 -0
similarity index 100%
rename from meta-openstack/recipes-devtools/python/python-keystoneclient/keystone-api-check.sh
rename to meta-openstack/recipes-devtools/python/python3-keystoneclient/keystone-api-check.sh
meta-openstack/recipes-devtools/python/python3-keystoneclient_git.bb renamed from meta-openstack/recipes-devtools/python/python-keystoneclient_git.bb +21 -19
similarity index 59%
rename from meta-openstack/recipes-devtools/python/python-keystoneclient_git.bb
rename to meta-openstack/recipes-devtools/python/python3-keystoneclient_git.bb
index c7bfef4..c8fe38a 100644
@@ -6,12 +6,14 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=4a4d0e932ffae1c0131528d30d419c55"
 
 SRCNAME = "keystoneclient"
 
+SRC_URI = "file://keystone-api-check.sh"
+
 SRC_URI = "\
-	git://github.com/openstack/python-keystoneclient.git;branch=stable/pike \
-	file://keystone-api-check.sh \
-	"
+        git://github.com/openstack/python-keystoneclient.git;branch=stable/pike \
+        file://keystone-api-check.sh \
+        "
 
-PV = "3.13.0+git${SRCPV}"
+PV = "4.1.0+git${SRCPV}"
 SRCREV = "7ff05baa1fa56f152173651f16fc6fd181291292"
 S = "${WORKDIR}/git"
 
@@ -20,28 +22,28 @@ inherit setuptools3 monitor
 FILES_${PN}-doc += "${datadir}/keystoneclient" 
 
 DEPENDS += " \
-        python-pip \
-        python-pbr \
+        python3-pip \
+        python3-pbr \
         "
 
 # Satisfy setup.py 'setup_requires'
 DEPENDS += " \
-        python-pbr-native \
+        python3-pbr-native \
         "
 
 RDEPENDS_${PN} += " \
         bash \
-        python-pbr \
-        python-debtcollector \
-        python-keystoneauth1 \
-        python-oslo.config \
-        python-oslo.i18n \
-        python-oslo.serialization \
-        python-oslo.utils \
-        python-positional \
-        python-requests \
-        python-six \
-        python-stevedore \
+        python3-pbr \
+        python3-debtcollector \
+        python3-keystoneauth1 \
+        python3-oslo.config \
+        python3-oslo.i18n \
+        python3-oslo.serialization \
+        python3-oslo.utils \
+        python3-positional \
+        python3-requests \
+        python3-six \
+        python3-stevedore \
         "
 
 do_install_append() {
@@ -53,7 +55,7 @@ PACKAGES =+ " ${SRCNAME}-tests"
 FILES_${SRCNAME}-tests = "${PYTHON_SITEPACKAGES_DIR}/${SRCNAME}/examples \
         "
 RDEPENDS_${SRCNAME}-tests += " \
-	python-httpretty \
+	python3-httpretty \
         bash \
 	"
 
Signature · 1 line
2.17.1
#3 lore raw

PATCH 3/3 python3-keystonemiddleware: Change python to python3

In reply to Wang Mingyu

Version updated to 4.17.1

---
 .../python/python-keystonemiddleware_git.bb   | 44 -------------------
 .../python/python3-keystonemiddleware_git.bb  | 44 +++++++++++++++++++
 2 files changed, 44 insertions(+), 44 deletions(-)
 delete mode 100644 meta-openstack/recipes-devtools/python/python-keystonemiddleware_git.bb
 create mode 100644 meta-openstack/recipes-devtools/python/python3-keystonemiddleware_git.bb
meta-openstack/recipes-devtools/python/python-keystonemiddleware_git.bb deleted +0 -44
deleted file mode 100644
index c730906..0000000
@@ -1,44 +0,0 @@
-DESCRIPTION = "Middleware for OpenStack Identity API"
-HOMEPAGE = "https://launchpad.net/keystonemiddleware"
-SECTION = "devel/python"
-LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=4a4d0e932ffae1c0131528d30d419c55"
-
-SRCNAME = "keystonemiddleware"
-
-SRC_URI = "\
-	git://git.openstack.org/openstack/keystonemiddleware;branch=stable/pike \
-	"
-
-PV = "4.17.0+git${SRCPV}"
-SRCREV = "69aed2693475797c8d0dda2725a790eea05a9419"
-S = "${WORKDIR}/git"
-
-inherit setuptools3
-
-DEPENDS += " \
-        python-pip \
-        python-pbr \
-        "
-
-# Satisfy setup.py 'setup_requires'
-DEPENDS += " \
-        python-pbr-native \
-        "
-
-RDEPENDS_${PN} += " \
-        python-keystoneauth1 \
-        python-oslo.config \
-        python-oslo.context \
-        python-oslo.i18n \
-        python-oslo.log \
-        python-oslo.serialization \
-        python-oslo.utils \
-        python-pbr \
-        python-positional \
-        python-pycadf \
-        python-keystoneclient \
-        python-requests \
-        python-six \
-        python-webob \
-        "
meta-openstack/recipes-devtools/python/python3-keystonemiddleware_git.bb new file +44 -0

44 lines not on this page · raw message

Signature · 1 line
2.17.1