Skip to contentSkip to conversation

python-positional: use archived tarball

PATCH Superseded Mark Asselstine 1 participant 1 message Aug 22, 2017

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 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.

---
 .../python/python-positional_1.1.1.bb              | 22 ++++++++++++++++++++++
 .../python/python-positional_git.bb                | 22 ----------------------
 2 files changed, 22 insertions(+), 22 deletions(-)
 create mode 100644 meta-openstack/recipes-devtools/python/python-positional_1.1.1.bb
 delete mode 100644 meta-openstack/recipes-devtools/python/python-positional_git.bb
meta-openstack/recipes-devtools/python/python-positional_1.1.1.bb new file +22 -0
new file mode 100644
index 0000000..c2dc44c
@@ -0,0 +1,22 @@
+DESCRIPTION = "Library to enforce positional or key-word arguments"
+HOMEPAGE = "https://github.com/morganfainberg/positional"
+SECTION = "devel/python"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=5335066555b14d832335aa4660d6c376"
+
+SRCNAME = "positional"
+SRC_URI = "https://pypi.io/packages/source/p/${SRCNAME}/${SRCNAME}-${PV}.tar.gz \
+"
+
+SRC_URI[md5sum] = "c82903c32c1aec1ac0f0f6e166ef4e2e"
+SRC_URI[sha256sum] = "ef845fa46ee5a11564750aaa09dd7db059aaf39c44c901b37181e5ffa67034b0"
+
+S = "${WORKDIR}/${SRCNAME}-${PV}"
+
+inherit setuptools
+
+CLEANBROKEN = "1"
+
+RDEPENDS_${PN} += " \
+    python-wrapt \
+"
\ No newline at end of file
meta-openstack/recipes-devtools/python/python-positional_git.bb deleted +0 -22
deleted file mode 100644
index 821d704..0000000
@@ -1,22 +0,0 @@
-DESCRIPTION = "Library to enforce positional or key-word arguments"
-HOMEPAGE = "https://github.com/morganfainberg/positional"
-SECTION = "devel/python"
-LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=5335066555b14d832335aa4660d6c376"
-
-SRCNAME = "positional"
-SRC_URI = "git://github.com/morganfainberg/positional \
-"
-
-PV = "1.1.1+git${SRCPV}"
-SRCREV = "1f5e9fc0f50e9e774fc4db27f97f9acae5f0c29f"
-
-S = "${WORKDIR}/git"
-
-inherit setuptools
-
-CLEANBROKEN = "1"
-
-RDEPENDS_${PN} += " \
-    python-wrapt \
-"
\ No newline at end of file
Signature · 1 line
2.7.4