Skip to contentSkip to conversation

python-oslo.i18n: fixup branch name

PATCH New Mark Asselstine 1 participant 2 messages Apr 4, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 python-oslo.i18n: fixup branch name

Commit 38e8c9c9aa0f uprev'd this package to release 3.20.0 which is not on the stable/pike branch so the fetch was failing with:

Fetcher failure: Unable to find revision 172e20b10981 in branch stable/pike even from upstream

Switch the branch to 'master' to fix the fetch.

---
 meta-openstack/recipes-devtools/python/python-oslo.i18n_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-openstack/recipes-devtools/python/python-oslo.i18n_git.bb +1 -1
index 313c277..9fe3d00 100644
@@ -8,7 +8,7 @@ PV = "3.20.0+git${SRCPV}"
 SRCREV = "172e20b10981069c36b0f42377e5b4fbe22a9864"
 
 SRCNAME = "oslo.i18n"
-SRC_URI = "git://github.com/openstack/${SRCNAME}.git;branch=stable/pike"
+SRC_URI = "git://github.com/openstack/${SRCNAME}.git;branch=master"
 
 S = "${WORKDIR}/git"
 
Signature · 1 line
2.7.4
#1 lore raw

PATCH 2/2 python-oslo.i18n: was uprev'd incorrectly

The original commit had a mistake in it giving the impression 3.20.0 was on the stable/pike branch when in fact it was not. We want all openstack components on stable/pike so this uprev is not valid and we must bring back the old version and set it as the PREFERRED_VERSION.

---
 meta-openstack/conf/layer.conf                     |  2 ++
 .../python/python-oslo.i18n_3.20.0.bb              | 33 ++++++++++++++++++++++
 .../python/python-oslo.i18n_git.bb                 |  6 ++--
 3 files changed, 38 insertions(+), 3 deletions(-)
 create mode 100644 meta-openstack/recipes-devtools/python/python-oslo.i18n_3.20.0.bb
meta-openstack/conf/layer.conf +2 -0
index c5884c5..2565b92 100644
@@ -23,4 +23,6 @@ PREFERRED_VERSION_python-eventlet = "0.20.0"
 PREFERRED_VERSION_python-warlock = "1.2.0"
 PREFERRED_VERSION_python-jsonschema = "2.6.0"
 PREFERRED_VERSION_python-networkx = "1.11"
+PREFERRED_VERSION_python-oslo.i18n = "3.17.0+gitAUTOINC+f2729cd36f"
+
 LICENSE_PATH += "${LAYERDIR}/licenses"
meta-openstack/recipes-devtools/python/python-oslo.i18n_3.20.0.bb new file +33 -0
new file mode 100644
index 0000000..76a8b53
@@ -0,0 +1,33 @@
+DESCRIPTION = "oslo.i18n library"
+HOMEPAGE = "http://launchpad.net/oslo"
+SECTION = "devel/python"
+LICENSE = "Apache-2"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=34400b68072d710fecd0a2940a0d1658"
+
+SRCREV = "172e20b10981069c36b0f42377e5b4fbe22a9864"
+
+SRCNAME = "oslo.i18n"
+SRC_URI = "git://github.com/openstack/${SRCNAME}.git;branch=master"
+
+S = "${WORKDIR}/git"
+
+inherit setuptools
+
+# DEPENDS_default: python-pip
+
+DEPENDS += " \
+        python-pip \
+        python-pbr \
+        "
+
+# Satisfy setup.py 'setup_requires'
+DEPENDS += " \
+        python-pbr-native \
+        "
+
+# RDEPENDS_default: 
+RDEPENDS_${PN} += " \
+        python-babel \
+        python-pbr \
+        python-six \
+        "
meta-openstack/recipes-devtools/python/python-oslo.i18n_git.bb +3 -3
index 9fe3d00..9f7ddc5 100644
@@ -4,11 +4,11 @@ SECTION = "devel/python"
 LICENSE = "Apache-2"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=34400b68072d710fecd0a2940a0d1658"
 
-PV = "3.20.0+git${SRCPV}"
-SRCREV = "172e20b10981069c36b0f42377e5b4fbe22a9864"
+PV = "3.17.0+git${SRCPV}"
+SRCREV = "f2729cd36f8694a6ec53a0e700599ddf4427440d"
 
 SRCNAME = "oslo.i18n"
-SRC_URI = "git://github.com/openstack/${SRCNAME}.git;branch=master"
+SRC_URI = "git://github.com/openstack/${SRCNAME}.git;branch=stable/pike"
 
 S = "${WORKDIR}/git"
 
Signature · 1 line
2.7.4