[oe-commits] [meta-openembedded] 13/20: python-serpent: add a python3 recipe

git at git.openembedded.org git at git.openembedded.org
Thu Mar 9 23:50:11 UTC 2017


This is an automated email from the git hooks/post-receive script.

martin_jansa pushed a commit to branch master-next
in repository meta-openembedded.

commit 3f92a40958f4e514344eddd1a59b6d9d0d9b1503
Author: Derek Straka <derek at asterius.io>
AuthorDate: Wed Mar 8 08:16:03 2017 -0500

    python-serpent: add a python3 recipe
    
    Signed-off-by: Derek Straka <derek at asterius.io>
    Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
 .../{python-serpent_1.18.1.bb => python-serpent.inc}      |  2 +-
 .../recipes-devtools/python/python-serpent_1.18.1.bb      | 15 ++-------------
 .../recipes-devtools/python/python3-serpent_1.18.1.bb     |  8 ++++++++
 3 files changed, 11 insertions(+), 14 deletions(-)

diff --git a/meta-python/recipes-devtools/python/python-serpent_1.18.1.bb b/meta-python/recipes-devtools/python/python-serpent.inc
similarity index 93%
copy from meta-python/recipes-devtools/python/python-serpent_1.18.1.bb
copy to meta-python/recipes-devtools/python/python-serpent.inc
index f18343a..a1520db 100644
--- a/meta-python/recipes-devtools/python/python-serpent_1.18.1.bb
+++ b/meta-python/recipes-devtools/python/python-serpent.inc
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://PKG-INFO;md5=2669deccb79531c74a5ddd71b45f5095"
 SRC_URI[md5sum] = "e2cd7b751274c59b420d4f54db9a49cf"
 SRC_URI[sha256sum] = "9afebb58ac8b827050e1969324388349dc9738b0a03b0d91567b328834a27732"
 
-inherit pypi setuptools
+inherit pypi
 
 RDEPENDS_${PN} += "\
     ${PYTHON_PN}-netclient \
diff --git a/meta-python/recipes-devtools/python/python-serpent_1.18.1.bb b/meta-python/recipes-devtools/python/python-serpent_1.18.1.bb
index f18343a..0db3cf9 100644
--- a/meta-python/recipes-devtools/python/python-serpent_1.18.1.bb
+++ b/meta-python/recipes-devtools/python/python-serpent_1.18.1.bb
@@ -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
diff --git a/meta-python/recipes-devtools/python/python3-serpent_1.18.1.bb b/meta-python/recipes-devtools/python/python3-serpent_1.18.1.bb
new file mode 100644
index 0000000..199dcfa
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-serpent_1.18.1.bb
@@ -0,0 +1,8 @@
+inherit setuptools3
+require python-serpent.inc
+
+# Requires _pydecimal which is in misc
+RDEPENDS_${PN} += " \
+    ${PYTHON_PN}-enum \
+    ${PYTHON_PN}-misc \
+"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list