[meta-virtualization] [m-c-s][PATCH v2] python-positional: use archived tarball

Mark Asselstine mark.asselstine at windriver.com
Tue Aug 22 10:03:51 PDT 2017


The upstream project has been discontinued as you can see from the
comment from the developer in response to another pkg which used
positional:
https://github.com/conda-forge/positional-feedstock/issues/7

In addition to discontinuing the project the developer removed the
repository, so we need to use the version archived via pypi. We can't
simply drop the package as it is used by python-nova and other
openstack components.

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

v2: sending with -M to allow this to be reviewed more
    easily


 .../{python-positional_git.bb => python-positional_1.1.1.bb}      | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
 rename meta-openstack/recipes-devtools/python/{python-positional_git.bb => python-positional_1.1.1.bb} (57%)

diff --git a/meta-openstack/recipes-devtools/python/python-positional_git.bb b/meta-openstack/recipes-devtools/python/python-positional_1.1.1.bb
similarity index 57%
rename from meta-openstack/recipes-devtools/python/python-positional_git.bb
rename to meta-openstack/recipes-devtools/python/python-positional_1.1.1.bb
index 821d704..c2dc44c 100644
--- a/meta-openstack/recipes-devtools/python/python-positional_git.bb
+++ b/meta-openstack/recipes-devtools/python/python-positional_1.1.1.bb
@@ -5,13 +5,13 @@ LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=5335066555b14d832335aa4660d6c376"
 
 SRCNAME = "positional"
-SRC_URI = "git://github.com/morganfainberg/positional \
+SRC_URI = "https://pypi.io/packages/source/p/${SRCNAME}/${SRCNAME}-${PV}.tar.gz \
 "
 
-PV = "1.1.1+git${SRCPV}"
-SRCREV = "1f5e9fc0f50e9e774fc4db27f97f9acae5f0c29f"
+SRC_URI[md5sum] = "c82903c32c1aec1ac0f0f6e166ef4e2e"
+SRC_URI[sha256sum] = "ef845fa46ee5a11564750aaa09dd7db059aaf39c44c901b37181e5ffa67034b0"
 
-S = "${WORKDIR}/git"
+S = "${WORKDIR}/${SRCNAME}-${PV}"
 
 inherit setuptools
 
-- 
2.7.4



More information about the meta-virtualization mailing list