Skip to contentSkip to conversation

python-wrapt: add recipe

PATCH Applied Mark Asselstine 2 participants 3 messages Jan 14, 2016 – Jan 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 python-wrapt: add recipe

From: Josep Puigdemont <[email protected]>

---

** cherry-picked from fido-kilo **

 meta-openstack/recipes-devtools/python/python-wrapt_1.10.5.bb | 11 +++++++++++
 1 file changed, 11 insertions(+)
 create mode 100644 meta-openstack/recipes-devtools/python/python-wrapt_1.10.5.bb
meta-openstack/recipes-devtools/python/python-wrapt_1.10.5.bb new file +11 -0
new file mode 100644
index 0000000..5a8d0e7
@@ -0,0 +1,11 @@
+DESCRIPTION = "A Python module for decorators, wrappers and monkey patching."
+HOMEPAGE = "https://pypi.python.org/pypi/wrapt/"
+SECTION = "devel/python"
+LICENSE = "BSD-2-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=848d45ec255e411c0ff82b034a49d8a0"
+
+SRC_URI[md5sum] = "79732bbc096235704e7523d3bacd202c"
+SRC_URI[sha256sum] = "99cbb4e3a3ea964df0cb1437261fc1198616ec872e7b501622f3f7f92fcd0833"
+
+inherit pypi
+
Signature · 1 line
2.1.4
#1 lore raw

PATCH 2/2 python-wrapt: switch to using git

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.

---
 .../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%)
meta-openstack/recipes-devtools/python/python-wrapt_git.bb renamed from meta-openstack/recipes-devtools/python/python-wrapt_1.10.5.bb +8 -4
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
@@ -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
Signature · 1 line
2.1.4
#2 lore raw
In reply to Mark Asselstine

merged to master.

Bruce

Quoted 30 lines · Mark Asselstine

From: Josep Puigdemont <[email protected]>

---

** cherry-picked from fido-kilo **

  meta-openstack/recipes-devtools/python/python-wrapt_1.10.5.bb | 11 +++++++++++
  1 file changed, 11 insertions(+)

create mode 100644 meta-openstack/recipes-devtools/python/python-wrapt_1.10.5.bb

meta-openstack/recipes-devtools/python/python-wrapt_1.10.5.bb new file +11 -0
new file mode 100644
index 0000000..5a8d0e7
@@ -0,0 +1,11 @@
+DESCRIPTION = "A Python module for decorators, wrappers and monkey patching."
+HOMEPAGE = "https://pypi.python.org/pypi/wrapt/"
+SECTION = "devel/python"
+LICENSE = "BSD-2-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=848d45ec255e411c0ff82b034a49d8a0"
+
+SRC_URI[md5sum] = "79732bbc096235704e7523d3bacd202c"
+SRC_URI[sha256sum] = "99cbb4e3a3ea964df0cb1437261fc1198616ec872e7b501622f3f7f92fcd0833"
+
+inherit pypi
+