[oe-commits] [meta-openembedded] 04/43: python-parse-type: Add Python 3 recipe

git at git.openembedded.org git at git.openembedded.org
Mon Aug 13 06:24:32 UTC 2018


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

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

commit 4dc3c05e72fb97800f3902b8a634f1df5a27193f
Author: Robert Joslyn <robert.joslyn at redrectangle.org>
AuthorDate: Thu Aug 2 20:27:03 2018 -0700

    python-parse-type: Add Python 3 recipe
    
    Clarify license from BSD to BSD-3-Clause.
    
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 .../{python-parse-type_0.4.2.bb => python-parse-type.inc}   |  9 +++++----
 .../recipes-devtools/python/python-parse-type_0.4.2.bb      | 13 ++-----------
 .../recipes-devtools/python/python3-parse-type_0.4.2.bb     |  2 ++
 3 files changed, 9 insertions(+), 15 deletions(-)

diff --git a/meta-python/recipes-devtools/python/python-parse-type_0.4.2.bb b/meta-python/recipes-devtools/python/python-parse-type.inc
similarity index 71%
copy from meta-python/recipes-devtools/python/python-parse-type_0.4.2.bb
copy to meta-python/recipes-devtools/python/python-parse-type.inc
index b516c59..4549ec9 100644
--- a/meta-python/recipes-devtools/python/python-parse-type_0.4.2.bb
+++ b/meta-python/recipes-devtools/python/python-parse-type.inc
@@ -1,11 +1,12 @@
 SUMMARY = "Simplifies building parse types based on the parse module"
-LICENSE = "BSD"
+HOMEPAGE = "https://github.com/jenisys/parse_type"
+LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=d07323820cca0f1d192cbbf8a0516f95"
-PYPI_PACKAGE = "parse_type"
 
 SRC_URI[md5sum] = "b5fa59e45965d1b2896023742df2e707"
 SRC_URI[sha256sum] = "f596bdc75d3dd93036fbfe3d04127da9f6df0c26c36e01e76da85adef4336b3c"
 
-RDEPENDS_${PN} += "python-parse"
+PYPI_PACKAGE = "parse_type"
+inherit pypi
 
-inherit pypi setuptools
+RDEPENDS_${PN} += "${PYTHON_PN}-parse"
diff --git a/meta-python/recipes-devtools/python/python-parse-type_0.4.2.bb b/meta-python/recipes-devtools/python/python-parse-type_0.4.2.bb
index b516c59..8e10e80 100644
--- a/meta-python/recipes-devtools/python/python-parse-type_0.4.2.bb
+++ b/meta-python/recipes-devtools/python/python-parse-type_0.4.2.bb
@@ -1,11 +1,2 @@
-SUMMARY = "Simplifies building parse types based on the parse module"
-LICENSE = "BSD"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=d07323820cca0f1d192cbbf8a0516f95"
-PYPI_PACKAGE = "parse_type"
-
-SRC_URI[md5sum] = "b5fa59e45965d1b2896023742df2e707"
-SRC_URI[sha256sum] = "f596bdc75d3dd93036fbfe3d04127da9f6df0c26c36e01e76da85adef4336b3c"
-
-RDEPENDS_${PN} += "python-parse"
-
-inherit pypi setuptools
+inherit setuptools
+require python-parse-type.inc
diff --git a/meta-python/recipes-devtools/python/python3-parse-type_0.4.2.bb b/meta-python/recipes-devtools/python/python3-parse-type_0.4.2.bb
new file mode 100644
index 0000000..91d9ce2
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-parse-type_0.4.2.bb
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-parse-type.inc

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


More information about the Openembedded-commits mailing list