Skip to contentSkip to conversation

python-oslo.policy: Change python to python3

PATCH New Wang Mingyu 1 participant 1 message Jul 21, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 5/6 python-oslo.policy: Change python to python3

Version updated to 3.3.0

---
 ...licy_git.bb => python3-oslo.policy_git.bb} | 26 +++++++++----------
 1 file changed, 13 insertions(+), 13 deletions(-)
 rename meta-openstack/recipes-devtools/python/{python-oslo.policy_git.bb => python3-oslo.policy_git.bb} (54%)
meta-openstack/recipes-devtools/python/python3-oslo.policy_git.bb renamed from meta-openstack/recipes-devtools/python/python-oslo.policy_git.bb +13 -13
similarity index 54%
rename from meta-openstack/recipes-devtools/python/python-oslo.policy_git.bb
rename to meta-openstack/recipes-devtools/python/python3-oslo.policy_git.bb
index 638399a..b317444 100644
@@ -5,32 +5,32 @@ SECTION = "devel/python"
 LICENSE = "Apache-2"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=1dece7821bf3fd70fe1309eaa37d52a2"
 
-PV = "1.25.1+git${SRCPV}"
-SRCREV = "cb9ab34cd40a7cd9eff0e40ccc2df4ee88edae4e"
+PV = "3.3.0+git${SRCPV}"
+SRCREV = "cab28649c689067970a51a2f9b329bdd6a0f0501"
 
 SRCNAME = "oslo.policy"
-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 += " \
-        python-pip \
-        python-pbr \
+        python3-pip \
+        python3-pbr \
 "
 
 # Satisfy setup.py 'setup_requires'
 DEPENDS += " \
-        python-pbr-native \
+        python3-pbr-native \
         "
 
 RDEPENDS_${PN} += " \
-        python-oslo.config \
-        python-oslo.i18n \
-        python-oslo.serialization \
-        python-oslo.utils \
-        python-six \
-        python-pyyaml \
-        python-requests \
+        python3-oslo.config \
+        python3-oslo.i18n \
+        python3-oslo.serialization \
+        python3-oslo.utils \
+        python3-six \
+        python3-pyyaml \
+        python3-requests \
 "
Signature · 1 line
2.25.1