Skip to contentSkip to conversation

python-serpent: add a python3 recipe

PATCH New Derek Straka 1 participant 2 messages Mar 8, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 python-serpent: add a python3 recipe

---
 meta-python/recipes-devtools/python/python-serpent.inc    | 13 +++++++++++++
 .../recipes-devtools/python/python-serpent_1.18.1.bb      | 15 ++-------------
 .../recipes-devtools/python/python3-serpent_1.18.1.bb     |  8 ++++++++
 3 files changed, 23 insertions(+), 13 deletions(-)
 create mode 100644 meta-python/recipes-devtools/python/python-serpent.inc
 create mode 100644 meta-python/recipes-devtools/python/python3-serpent_1.18.1.bb
meta-python/recipes-devtools/python/python-serpent.inc new file +13 -0
new file mode 100644
index 0000000..a1520db
@@ -0,0 +1,13 @@
+SUMMARY = "Serialization based on ast.literal_eval"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://PKG-INFO;md5=2669deccb79531c74a5ddd71b45f5095"
+
+SRC_URI[md5sum] = "e2cd7b751274c59b420d4f54db9a49cf"
+SRC_URI[sha256sum] = "9afebb58ac8b827050e1969324388349dc9738b0a03b0d91567b328834a27732"
+
+inherit pypi
+
+RDEPENDS_${PN} += "\
+    ${PYTHON_PN}-netclient \
+    ${PYTHON_PN}-numbers \
+    "    
meta-python/recipes-devtools/python/python-serpent_1.18.1.bb +2 -13
index f18343a..0db3cf9 100644
@@ -1,13 +1,2 @@
-SUMMARY = "Serialization based on ast.literal_eval"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://PKG-INFO;md5=2669deccb79531c74a5ddd71b45f5095"
-
-SRC_URI[md5sum] = "e2cd7b751274c59b420d4f54db9a49cf"
-SRC_URI[sha256sum] = "9afebb58ac8b827050e1969324388349dc9738b0a03b0d91567b328834a27732"
-
-inherit pypi setuptools
-
-RDEPENDS_${PN} += "\
-    ${PYTHON_PN}-netclient \
-    ${PYTHON_PN}-numbers \
-    "    
+inherit setuptools
+require python-serpent.inc
meta-python/recipes-devtools/python/python3-serpent_1.18.1.bb new file +8 -0
new file mode 100644
index 0000000..199dcfa
@@ -0,0 +1,8 @@
+inherit setuptools3
+require python-serpent.inc
+
+# Requires _pydecimal which is in misc
+RDEPENDS_${PN} += " \
+    ${PYTHON_PN}-enum \
+    ${PYTHON_PN}-misc \
+"
Signature · 1 line
2.7.4
#1 lore raw

PATCH 2/2 python-serpent: update to version 1.19

---
 meta-python/recipes-devtools/python/python-serpent.inc              | 6 +++---
 .../python/{python-serpent_1.18.1.bb => python-serpent_1.19.bb}     | 0
 .../python/{python3-serpent_1.18.1.bb => python3-serpent_1.19.bb}   | 0
 3 files changed, 3 insertions(+), 3 deletions(-)
 rename meta-python/recipes-devtools/python/{python-serpent_1.18.1.bb => python-serpent_1.19.bb} (100%)
 rename meta-python/recipes-devtools/python/{python3-serpent_1.18.1.bb => python3-serpent_1.19.bb} (100%)
meta-python/recipes-devtools/python/python-serpent.inc +3 -3
index a1520db..0b1aa91 100644
@@ -1,9 +1,9 @@
 SUMMARY = "Serialization based on ast.literal_eval"
 LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://PKG-INFO;md5=2669deccb79531c74a5ddd71b45f5095"
+LIC_FILES_CHKSUM = "file://PKG-INFO;md5=3773e39c491bb1f9ccc98389d57169d7"
 
-SRC_URI[md5sum] = "e2cd7b751274c59b420d4f54db9a49cf"
-SRC_URI[sha256sum] = "9afebb58ac8b827050e1969324388349dc9738b0a03b0d91567b328834a27732"
+SRC_URI[md5sum] = "cdef596f727cb6b4176c89769d2d41ee"
+SRC_URI[sha256sum] = "946b2c837f889971df3575af9dadd8f09bfe48549ebc1b9f6434263b653707ce"
 
 inherit pypi
 
meta-python/recipes-devtools/python/python-serpent_1.19.bb renamed from meta-python/recipes-devtools/python/python-serpent_1.18.1.bb +0 -0
similarity index 100%
rename from meta-python/recipes-devtools/python/python-serpent_1.18.1.bb
rename to meta-python/recipes-devtools/python/python-serpent_1.19.bb
meta-python/recipes-devtools/python/python3-serpent_1.19.bb renamed from meta-python/recipes-devtools/python/python3-serpent_1.18.1.bb +0 -0
similarity index 100%
rename from meta-python/recipes-devtools/python/python3-serpent_1.18.1.bb
rename to meta-python/recipes-devtools/python/python3-serpent_1.19.bb
Signature · 1 line
2.7.4