Skip to contentSkip to conversation

python-webob: uprev to v1.7.3

PATCH In review Mark Asselstine 2 participants 2 messages Nov 6, 2017 – Nov 7, 2017

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 python-webob: uprev to v1.7.3

The only user in meta-virtualization is python-bugsnag and there is no version dependency. This new version is however required by the latest openstack. Switched to using the "common" pypi.bbclass while we are at it.

---

OK, dialed back the matching threashold completely and managed to get the rename logic to trigger. Sorry for the spam.

 .../python/{python-webob_1.6.0.bb => python-webob_1.7.3.bb} | 13 ++++---------
 1 file changed, 4 insertions(+), 9 deletions(-)
 rename recipes-devtools/python/{python-webob_1.6.0.bb => python-webob_1.7.3.bb} (45%)
recipes-devtools/python/python-webob_1.7.3.bb renamed from recipes-devtools/python/python-webob_1.6.0.bb +4 -9
similarity index 45%
rename from recipes-devtools/python/python-webob_1.6.0.bb
rename to recipes-devtools/python/python-webob_1.7.3.bb
index 71c74ff..a2448be 100644
@@ -4,17 +4,12 @@ SECTION = "devel/python"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://docs/license.txt;md5=8ed3584bcc78c16da363747ccabc5af5"
 
-PR = "r0"
-SRCNAME = "WebOb"
+PYPI_PACKAGE = "WebOb"
 
-SRC_URI = "http://pypi.python.org/packages/source/W/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
+SRC_URI[md5sum] = "350028baffc508e3d23c078118e35316"
+SRC_URI[sha256sum] = "e65ca14b9f5ae5b031988ffc93f8b7f305ddfcf17a4c774ae0db47bcb3b87283"
 
-SRC_URI[md5sum] = "089d7fc6745f175737800237c7287802"
-SRC_URI[sha256sum] = "63d262d8f61b516321f786879c9277fa2209f7f57eb47b537eeecfea383d55b7"
-
-S = "${WORKDIR}/${SRCNAME}-${PV}"
-
-inherit setuptools
+inherit setuptools pypi
 
 RDEPENDS_${PN} += " \
 	python-sphinx \
Signature · 1 line
2.7.4
#1 lore raw
Quoted 5 lines · Mark Asselstine

The only user in meta-virtualization is python-bugsnag and there is no version dependency. This new version is however required by the latest openstack. Switched to using the "common" pypi.bbclass while we are at it.

merged.

Bruce

Quoted 40 lines

---

OK, dialed back the matching threashold completely and managed to get the rename logic to trigger. Sorry for the spam.

  .../python/{python-webob_1.6.0.bb => python-webob_1.7.3.bb} | 13 ++++---------
  1 file changed, 4 insertions(+), 9 deletions(-)

rename recipes-devtools/python/{python-webob_1.6.0.bb => python-webob_1.7.3.bb} (45%)

recipes-devtools/python/python-webob_1.7.3.bb renamed from recipes-devtools/python/python-webob_1.6.0.bb +4 -9
similarity index 45%
rename from recipes-devtools/python/python-webob_1.6.0.bb
rename to recipes-devtools/python/python-webob_1.7.3.bb
index 71c74ff..a2448be 100644
@@ -4,17 +4,12 @@ SECTION = "devel/python"
  LICENSE = "MIT"
  LIC_FILES_CHKSUM = "file://docs/license.txt;md5=8ed3584bcc78c16da363747ccabc5af5"
 
-PR = "r0"
-SRCNAME = "WebOb"
+PYPI_PACKAGE = "WebOb"
 
-SRC_URI = "http://pypi.python.org/packages/source/W/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
+SRC_URI[md5sum] = "350028baffc508e3d23c078118e35316"
+SRC_URI[sha256sum] = "e65ca14b9f5ae5b031988ffc93f8b7f305ddfcf17a4c774ae0db47bcb3b87283"
 
-SRC_URI[md5sum] = "089d7fc6745f175737800237c7287802"
-SRC_URI[sha256sum] = "63d262d8f61b516321f786879c9277fa2209f7f57eb47b537eeecfea383d55b7"
-
-S = "${WORKDIR}/${SRCNAME}-${PV}"
-
-inherit setuptools
+inherit setuptools pypi
 
  RDEPENDS_${PN} += " \
  	python-sphinx \