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

Mark Asselstine mark.asselstine at windriver.com
Tue Aug 22 10:00:57 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>
---
 .../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

diff --git a/meta-openstack/recipes-devtools/python/python-positional_1.1.1.bb b/meta-openstack/recipes-devtools/python/python-positional_1.1.1.bb
new file mode 100644
index 0000000..c2dc44c
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python-positional_1.1.1.bb
@@ -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
diff --git a/meta-openstack/recipes-devtools/python/python-positional_git.bb b/meta-openstack/recipes-devtools/python/python-positional_git.bb
deleted file mode 100644
index 821d704..0000000
--- a/meta-openstack/recipes-devtools/python/python-positional_git.bb
+++ /dev/null
@@ -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
-- 
2.7.4



More information about the meta-virtualization mailing list