Skip to contentSkip to conversation

python-positional: use archived tarball

PATCH In review Mark Asselstine 2 participants 2 messages Aug 22, 2017 – Aug 23, 2017

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 python-positional: use archived tarball

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.

---

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%)
meta-openstack/recipes-devtools/python/python-positional_1.1.1.bb renamed from meta-openstack/recipes-devtools/python/python-positional_git.bb +4 -4
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
@@ -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
 
Signature · 1 line
2.7.4
#1 lore raw

merged.

Bruce

Quoted 63 lines · Mark Asselstine

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.

---

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

(quoted diff) +0 -0

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

meta-openstack/recipes-devtools/python/python-positional_1.1.1.bb renamed from meta-openstack/recipes-devtools/python/python-positional_git.bb +3 -4
@@ -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] = "ef845fa46ee5a11564750aaa09dd7d

b059aaf39c44c901b37181e5ffa67034b0"

meta-openstack/recipes-devtools/python/python-positional_1.1.1.bb renamed from meta-openstack/recipes-devtools/python/python-positional_git.bb +1 -2
-S = "${WORKDIR}/git"
+S = "${WORKDIR}/${SRCNAME}-${PV}"
 
 inherit setuptools
 
--

2.7.4

--
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization

Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end"