[meta-virtualization] [m-c-s][PATCH 2/2] python-wrapt: switch to using git
Mark Asselstine
mark.asselstine at windriver.com
Thu Jan 14 13:01:28 PST 2016
In an effort to make things easier to uprev whenever possible we
should use git in our recipes. This has some negative implications if
there is a versioned recipe in another layer (without using
PREFERRED_VERSION the versioned recipe is used) but overall is the
best solution.
Signed-off-by: Mark Asselstine <mark.asselstine at windriver.com>
---
.../python/{python-wrapt_1.10.5.bb => python-wrapt_git.bb} | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
rename meta-openstack/recipes-devtools/python/{python-wrapt_1.10.5.bb => python-wrapt_git.bb} (46%)
diff --git a/meta-openstack/recipes-devtools/python/python-wrapt_1.10.5.bb b/meta-openstack/recipes-devtools/python/python-wrapt_git.bb
similarity index 46%
rename from meta-openstack/recipes-devtools/python/python-wrapt_1.10.5.bb
rename to meta-openstack/recipes-devtools/python/python-wrapt_git.bb
index 5a8d0e7..a2def9a 100644
--- a/meta-openstack/recipes-devtools/python/python-wrapt_1.10.5.bb
+++ b/meta-openstack/recipes-devtools/python/python-wrapt_git.bb
@@ -1,11 +1,15 @@
DESCRIPTION = "A Python module for decorators, wrappers and monkey patching."
-HOMEPAGE = "https://pypi.python.org/pypi/wrapt/"
+HOMEPAGE = "https://github.com/GrahamDumpleton/wrapt"
SECTION = "devel/python"
LICENSE = "BSD-2-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=848d45ec255e411c0ff82b034a49d8a0"
-SRC_URI[md5sum] = "79732bbc096235704e7523d3bacd202c"
-SRC_URI[sha256sum] = "99cbb4e3a3ea964df0cb1437261fc1198616ec872e7b501622f3f7f92fcd0833"
+PV = "1.10.5"
+SRCREV = "42af0563bf88e84d215dea9ea6f989cb867e930e"
-inherit pypi
+SRCNAME = "wrapt"
+SRC_URI = "git://github.com/GrahamDumpleton/${SRCNAME}.git"
+S = "${WORKDIR}/git"
+
+inherit setuptools
--
2.1.4
More information about the meta-virtualization
mailing list