From 5831b3680c4b57e229fc4dda71a0ee5b42ae8672 Mon Sep 17 00:00:00 2001 From: Derek Straka Date: Wed, 8 Mar 2017 08:16:03 -0500 Subject: python-serpent: add a python3 recipe Signed-off-by: Derek Straka Signed-off-by: Martin Jansa --- 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 diff --git a/meta-python/recipes-devtools/python/python-serpent.inc b/meta-python/recipes-devtools/python/python-serpent.inc new file mode 100644 index 0000000000..a1520db490 --- /dev/null +++ b/meta-python/recipes-devtools/python/python-serpent.inc @@ -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 \ + " 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 f18343ab56..0db3cf98aa 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 0000000000..199dcfafda --- /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 \ +" -- cgit 1.2.3-korg