Skip to contentSkip to conversation

python-netaddr: uprev to 0.7.19

PATCH In review Mark Asselstine 2 participants 5 messages Jan 17, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/4 python-netaddr: uprev to 0.7.19

Required for the uprev of python-oslo.config to stable/newton.

---
 meta-openstack/conf/layer.conf                           |  1 +
 .../recipes-devtools/python/python-netaddr_0.7.14.bb     | 16 ----------------
 .../recipes-devtools/python/python-netaddr_0.7.19.bb     | 16 ++++++++++++++++
 3 files changed, 17 insertions(+), 16 deletions(-)
 delete mode 100644 meta-openstack/recipes-devtools/python/python-netaddr_0.7.14.bb
 create mode 100644 meta-openstack/recipes-devtools/python/python-netaddr_0.7.19.bb
meta-openstack/conf/layer.conf +1 -0
index 19e3cb1..f5288e3 100644
@@ -16,5 +16,6 @@ PREFERRED_VERSION_python-sqlalchemy = "1.0.8"
 PREFERRED_VERSION_python-pexpect = "3.3"
 PREFERRED_VERSION_python-futures = "3.0.3%"
 PREFERRED_VERSION_python-django = "1.8.6"
+PREFERRED_VERSION_python-netaddr = "0.7.19"
 
 LICENSE_PATH += "${LAYERDIR}/licenses"
meta-openstack/recipes-devtools/python/python-netaddr_0.7.14.bb deleted +0 -16
deleted file mode 100644
index 346663f..0000000
@@ -1,16 +0,0 @@
-DESCRIPTION = "A library for network address representation and manipulation"
-HOMEPAGE = "https://github.com/drkjam/netaddr"
-SECTION = "devel/python"
-LICENSE = "BSD"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=b277425f87f3b06d25af45d8b96f9682"
-
-SRCNAME = "netaddr"
-
-SRC_URI = "https://pypi.python.org/packages/source/n/${SRCNAME}/${SRCNAME}-${PV}.zip"
-
-SRC_URI[md5sum] = "4aecd1ce80ddf242953f2a196046a14a"
-SRC_URI[sha256sum] = "6d19b06b9bb6c9562b5f67ec36511946cfcfebf024a0c804b6fd5c36d3b11fb6"
-
-S = "${WORKDIR}/${SRCNAME}-${PV}"
-
-inherit distutils
meta-openstack/recipes-devtools/python/python-netaddr_0.7.19.bb new file +16 -0
new file mode 100644
index 0000000..8284d20
@@ -0,0 +1,16 @@
+DESCRIPTION = "A library for network address representation and manipulation"
+HOMEPAGE = "https://github.com/drkjam/netaddr"
+SECTION = "devel/python"
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=e6345d695ffe3776f68a56fe7962db44"
+
+SRCNAME = "netaddr"
+
+SRC_URI = "https://pypi.io/packages/source/n/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "51019ef59c93f3979bcb37d3b8527e07"
+SRC_URI[sha256sum] = "38aeec7cdd035081d3a4c306394b19d677623bf76fa0913f6695127c7753aefd"
+
+S = "${WORKDIR}/${SRCNAME}-${PV}"
+
+inherit distutils
Signature · 1 line
2.7.4
#1 lore raw

PATCH 2/4 python-stevedore: uprev to 1.19.1

Required uprev to support python-oslo.config uprev to stable/newton.

---
 .../python/python-stevedore_1.19.1.bb              | 32 ++++++++++++++++++++++
 .../python/python-stevedore_1.9.0.bb               | 31 ---------------------
 2 files changed, 32 insertions(+), 31 deletions(-)
 create mode 100644 meta-openstack/recipes-devtools/python/python-stevedore_1.19.1.bb
 delete mode 100644 meta-openstack/recipes-devtools/python/python-stevedore_1.9.0.bb
meta-openstack/recipes-devtools/python/python-stevedore_1.19.1.bb new file +32 -0
new file mode 100644
index 0000000..ffd2997
@@ -0,0 +1,32 @@
+DESCRIPTION = "Manage dynamic plugins for Python applications"
+HOMEPAGE = "https://github.com/dreamhost/stevedore"
+SECTION = "devel/python"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
+
+
+SRCNAME = "stevedore"
+SRC_URI = "http://pypi.io/packages/source/s/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "f02de21fc0efac440db3a6d716068669"
+SRC_URI[sha256sum] = "c963858176fdbac899859a9e215411d024e3a46655034a853e0f3b57947c9856"
+
+S = "${WORKDIR}/${SRCNAME}-${PV}"
+
+inherit setuptools rmargparse
+
+DEPENDS += " \
+        python-pip \
+        python-pbr \
+        "
+
+# Satisfy setup.py 'setup_requires'
+DEPENDS += " \
+        python-pbr-native \
+        "
+
+RDEPENDS_${PN} += " \
+        python-pbr \
+        python-argparse \
+        python-six \
+        "
meta-openstack/recipes-devtools/python/python-stevedore_1.9.0.bb deleted +0 -31
deleted file mode 100644
index 0029c2a..0000000
@@ -1,31 +0,0 @@
-DESCRIPTION = "Manage dynamic plugins for Python applications"
-HOMEPAGE = "https://github.com/dreamhost/stevedore"
-SECTION = "devel/python"
-LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
-
-
-SRCNAME = "stevedore"
-SRC_URI = "http://pypi.python.org/packages/source/s/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
-
-SRC_URI[md5sum] = "53e2bc3b49dd9c920cfce7f63822b1a5"
-SRC_URI[sha256sum] = "cc19908840498ed5f7cb5cf59bbe47b41aa9d65821548e2b3c8a99a571cbec06"
-
-S = "${WORKDIR}/${SRCNAME}-${PV}"
-
-inherit setuptools rmargparse
-
-DEPENDS += " \
-        python-pip \
-        python-pbr \
-        "
-
-# Satisfy setup.py 'setup_requires'
-DEPENDS += " \
-        python-pbr-native \
-        "
-
-RDEPENDS_${PN} += " \
-        python-pbr \
-        python-argparse \
-        "
Signature · 1 line
2.7.4
#2 lore raw

PATCH 3/4 python-rfc3986: uprev to 0.4.1

In reply to Mark Asselstine

Required uprev to support python-oslo.config uprev to stable/newton.

---
 .../python/python-rfc3986_0.2.1.bb                 | 26 ----------------------
 .../python/python-rfc3986_0.4.1.bb                 | 26 ++++++++++++++++++++++
 2 files changed, 26 insertions(+), 26 deletions(-)
 delete mode 100644 meta-openstack/recipes-devtools/python/python-rfc3986_0.2.1.bb
 create mode 100644 meta-openstack/recipes-devtools/python/python-rfc3986_0.4.1.bb
meta-openstack/recipes-devtools/python/python-rfc3986_0.2.1.bb deleted +0 -26
deleted file mode 100644
index 66952d8..0000000
@@ -1,26 +0,0 @@
-DESCRIPTION = "Validating URI References per RFC 3986"
-HOMEPAGE = "https://rfc3986.rtfd.org"
-SECTION = "devel/python"
-LICENSE = "Apache-2"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=03731a0e7dbcb30cecdcec77cc93ec29"
-
-
-SRCNAME = "rfc3986"
-SRC_URI = "http://pypi.python.org/packages/source/r/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
-
-SRC_URI[md5sum] = "84151eec209c99e71edc760745510da4"
-SRC_URI[sha256sum] = "85aec4beb1edc4fa7cb7466cca1410237cb3e344968d07126e428bc62adb8f3c"
-
-S = "${WORKDIR}/${SRCNAME}-${PV}"
-
-inherit setuptools
-
-# DEPENDS_default: python-pip
-
-DEPENDS += " \
-        python-pip \
-        "
-
-# RDEPENDS_default: 
-RDEPENDS_${PN} += " \
-        "
meta-openstack/recipes-devtools/python/python-rfc3986_0.4.1.bb new file +26 -0
new file mode 100644
index 0000000..99da266
@@ -0,0 +1,26 @@
+DESCRIPTION = "Validating URI References per RFC 3986"
+HOMEPAGE = "https://rfc3986.rtfd.org"
+SECTION = "devel/python"
+LICENSE = "Apache-2"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=03731a0e7dbcb30cecdcec77cc93ec29"
+
+
+SRCNAME = "rfc3986"
+SRC_URI = "http://pypi.io/packages/source/r/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "b2b48cd36dabb82d5eaa54bbfb20d382"
+SRC_URI[sha256sum] = "5ac85eb132fae7bbd811fa48d11984ae3104be30d44d397a351d004c633a68d2"
+
+S = "${WORKDIR}/${SRCNAME}-${PV}"
+
+inherit setuptools
+
+# DEPENDS_default: python-pip
+
+DEPENDS += " \
+        python-pip \
+        "
+
+# RDEPENDS_default: 
+RDEPENDS_${PN} += " \
+        "
Signature · 1 line
2.7.4
#3 lore raw

PATCH 4/4 python-oslo.config: uprev to latest stable/newton

In reply to Mark Asselstine

Requires uprev to python-debtcollector, python-rfc3986, python-netaddr and python-stevedore.

---
 meta-openstack/recipes-devtools/python/python-oslo.config_git.bb | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
meta-openstack/recipes-devtools/python/python-oslo.config_git.bb +6 -3
index 9eaec3c..ade23ba 100644
@@ -4,11 +4,11 @@ SECTION = "devel/python"
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=c46f31914956e4579f9b488e71415ac8"
 
-PV = "2.6.0+git${SRCPV}"
-SRCREV = "ee2bab65e9a2f38bb915f106a4da1520e4b5060c"
+PV = "3.17.0+git${SRCPV}"
+SRCREV = "2f2c1839b7423185a6a48e7b3ca3c3274d5ba8f3"
 
 SRCNAME = "oslo.config"
-SRC_URI = "git://github.com/openstack/${SRCNAME}.git"
+SRC_URI = "git://github.com/openstack/${SRCNAME}.git;branch=stable/newton"
 
 S = "${WORKDIR}/git"
 
@@ -29,4 +29,7 @@ RDEPENDS_${PN} += " \
     python-netaddr \
     python-six \
     python-stevedore \
+    python-debtcollector \
+    python-oslo.i18n \
+    python-rfc3986 \
     "
Signature · 1 line
2.7.4
#4 lore raw
In reply to Mark Asselstine

merged, except for the stevedore patch, which didn't apply for me.

Bruce

Quoted 67 lines · Mark Asselstine

Required for the uprev of python-oslo.config to stable/newton.

---
 meta-openstack/conf/layer.conf                           |  1 +
 .../recipes-devtools/python/python-netaddr_0.7.14.bb     | 16 ----------------
 .../recipes-devtools/python/python-netaddr_0.7.19.bb     | 16 ++++++++++++++++
 3 files changed, 17 insertions(+), 16 deletions(-)
 delete mode 100644 meta-openstack/recipes-devtools/python/python-netaddr_0.7.14.bb
 create mode 100644 meta-openstack/recipes-devtools/python/python-netaddr_0.7.19.bb
meta-openstack/conf/layer.conf +1 -0
index 19e3cb1..f5288e3 100644
@@ -16,5 +16,6 @@ PREFERRED_VERSION_python-sqlalchemy = "1.0.8"
 PREFERRED_VERSION_python-pexpect = "3.3"
 PREFERRED_VERSION_python-futures = "3.0.3%"
 PREFERRED_VERSION_python-django = "1.8.6"
+PREFERRED_VERSION_python-netaddr = "0.7.19"
 
 LICENSE_PATH += "${LAYERDIR}/licenses"
meta-openstack/recipes-devtools/python/python-netaddr_0.7.14.bb deleted +0 -16
deleted file mode 100644
index 346663f..0000000
@@ -1,16 +0,0 @@
-DESCRIPTION = "A library for network address representation and manipulation"
-HOMEPAGE = "https://github.com/drkjam/netaddr"
-SECTION = "devel/python"
-LICENSE = "BSD"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=b277425f87f3b06d25af45d8b96f9682"
-
-SRCNAME = "netaddr"
-
-SRC_URI = "https://pypi.python.org/packages/source/n/${SRCNAME}/${SRCNAME}-${PV}.zip"
-
-SRC_URI[md5sum] = "4aecd1ce80ddf242953f2a196046a14a"
-SRC_URI[sha256sum] = "6d19b06b9bb6c9562b5f67ec36511946cfcfebf024a0c804b6fd5c36d3b11fb6"
-
-S = "${WORKDIR}/${SRCNAME}-${PV}"
-
-inherit distutils
meta-openstack/recipes-devtools/python/python-netaddr_0.7.19.bb new file +16 -0
new file mode 100644
index 0000000..8284d20
@@ -0,0 +1,16 @@
+DESCRIPTION = "A library for network address representation and manipulation"
+HOMEPAGE = "https://github.com/drkjam/netaddr"
+SECTION = "devel/python"
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=e6345d695ffe3776f68a56fe7962db44"
+
+SRCNAME = "netaddr"
+
+SRC_URI = "https://pypi.io/packages/source/n/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "51019ef59c93f3979bcb37d3b8527e07"
+SRC_URI[sha256sum] = "38aeec7cdd035081d3a4c306394b19d677623bf76fa0913f6695127c7753aefd"
+
+S = "${WORKDIR}/${SRCNAME}-${PV}"
+
+inherit distutils