[meta-virtualization] [v3 PATCH] python-webob: uprev to v1.7.3

Mark Asselstine mark.asselstine at windriver.com
Mon Nov 6 12:26:44 PST 2017


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.

Signed-off-by: Mark Asselstine <mark.asselstine at windriver.com>
---

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%)

diff --git a/recipes-devtools/python/python-webob_1.6.0.bb b/recipes-devtools/python/python-webob_1.7.3.bb
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
--- a/recipes-devtools/python/python-webob_1.6.0.bb
+++ b/recipes-devtools/python/python-webob_1.7.3.bb
@@ -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 \
-- 
2.7.4



More information about the meta-virtualization mailing list