[oe-commits] [meta-openembedded] 03/43: python3-parse: Add recipe

git at git.openembedded.org git at git.openembedded.org
Mon Aug 13 06:24:31 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 4f39906e1c40cff080dae42abed8631b155e42c7
Author: Robert Joslyn <robert.joslyn at redrectangle.org>
AuthorDate: Thu Aug 2 20:27:02 2018 -0700

    python3-parse: Add recipe
    
    Correct the license to MIT. The PyPI metadata says BSD, but the license
    text in the code is actually MIT.
    
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 .../python/{python-parse_1.8.4.bb => python-parse.inc}    |  5 +++--
 meta-python/recipes-devtools/python/python-parse_1.8.4.bb | 15 ++-------------
 .../recipes-devtools/python/python3-parse_1.8.4.bb        |  2 ++
 3 files changed, 7 insertions(+), 15 deletions(-)

diff --git a/meta-python/recipes-devtools/python/python-parse_1.8.4.bb b/meta-python/recipes-devtools/python/python-parse.inc
similarity index 83%
copy from meta-python/recipes-devtools/python/python-parse_1.8.4.bb
copy to meta-python/recipes-devtools/python/python-parse.inc
index c66d4c8..fa55a93 100644
--- a/meta-python/recipes-devtools/python/python-parse_1.8.4.bb
+++ b/meta-python/recipes-devtools/python/python-parse.inc
@@ -1,11 +1,12 @@
 SUMMARY = "Parse strings using a specification based on the Python format() syntax"
-LICENSE = "BSD"
+HOMEPAGE = "https://github.com/r1chardj0n3s/parse"
+LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://parse.py;beginline=1273;endline=1291;md5=5147afdd9b3615290ad8733f0137a1a1"
 
 SRC_URI[md5sum] = "fa69ab2fe846f9b183411391f7c6897b"
 SRC_URI[sha256sum] = "c3cdf6206f22aeebfa00e5b954fcfea13d1b2dc271c75806b6025b94fb490939"
 
-inherit pypi setuptools
+inherit pypi
 
 RDEPENDS_${PN} += "\
     ${PYTHON_PN}-datetime \
diff --git a/meta-python/recipes-devtools/python/python-parse_1.8.4.bb b/meta-python/recipes-devtools/python/python-parse_1.8.4.bb
index c66d4c8..d31ccc7 100644
--- a/meta-python/recipes-devtools/python/python-parse_1.8.4.bb
+++ b/meta-python/recipes-devtools/python/python-parse_1.8.4.bb
@@ -1,13 +1,2 @@
-SUMMARY = "Parse strings using a specification based on the Python format() syntax"
-LICENSE = "BSD"
-LIC_FILES_CHKSUM = "file://parse.py;beginline=1273;endline=1291;md5=5147afdd9b3615290ad8733f0137a1a1"
-
-SRC_URI[md5sum] = "fa69ab2fe846f9b183411391f7c6897b"
-SRC_URI[sha256sum] = "c3cdf6206f22aeebfa00e5b954fcfea13d1b2dc271c75806b6025b94fb490939"
-
-inherit pypi setuptools
-
-RDEPENDS_${PN} += "\
-    ${PYTHON_PN}-datetime \
-    ${PYTHON_PN}-logging \
-    "
+inherit setuptools
+require python-parse.inc
diff --git a/meta-python/recipes-devtools/python/python3-parse_1.8.4.bb b/meta-python/recipes-devtools/python/python3-parse_1.8.4.bb
new file mode 100644
index 0000000..b124254
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-parse_1.8.4.bb
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-parse.inc

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


More information about the Openembedded-commits mailing list