[oe-commits] [meta-openembedded] 38/40: python-ply: add a python3 version of the recipe

git at git.openembedded.org git at git.openembedded.org
Mon Dec 11 16:04:55 UTC 2017


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

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

commit f00a7b9e7037f5e3efed10b1c81371b69dd0dee9
Author: Derek Straka <derek at asterius.io>
AuthorDate: Sun Dec 3 14:53:47 2017 -0500

    python-ply: add a python3 version of the recipe
    
    Signed-off-by: Derek Straka <derek at asterius.io>
    Signed-off-by: Armin Kuster <akuster808 at gmail.com>
---
 .../python/{python-ply_3.10.bb => python-ply.inc}           |  9 ++++++++-
 meta-python/recipes-devtools/python/python-ply_3.10.bb      | 13 ++-----------
 meta-python/recipes-devtools/python/python3-ply_3.10.bb     |  6 ++++++
 3 files changed, 16 insertions(+), 12 deletions(-)

diff --git a/meta-python/recipes-devtools/python/python-ply_3.10.bb b/meta-python/recipes-devtools/python/python-ply.inc
similarity index 77%
copy from meta-python/recipes-devtools/python/python-ply_3.10.bb
copy to meta-python/recipes-devtools/python/python-ply.inc
index 9d019ae..a6cdf4b 100644
--- a/meta-python/recipes-devtools/python/python-ply_3.10.bb
+++ b/meta-python/recipes-devtools/python/python-ply.inc
@@ -8,4 +8,11 @@ LIC_FILES_CHKSUM = "file://README.md;beginline=3;endline=30;md5=fcb04bc2f765e46a
 SRC_URI[md5sum] = "1d63c166ab250bab87d8dcc42dcca70e"
 SRC_URI[sha256sum] = "96e94af7dd7031d8d6dd6e2a8e0de593b511c211a86e28a9c9621c275ac8bacb"
 
-inherit pypi setuptools
+inherit pypi
+
+RDEPENDS_${PN}_class-target += "\
+    ${PYTHON_PN}-netclient \
+    ${PYTHON_PN}-shell \
+"
+
+BBCLASSEXTEND = "native"
diff --git a/meta-python/recipes-devtools/python/python-ply_3.10.bb b/meta-python/recipes-devtools/python/python-ply_3.10.bb
index 9d019ae..2b6165c 100644
--- a/meta-python/recipes-devtools/python/python-ply_3.10.bb
+++ b/meta-python/recipes-devtools/python/python-ply_3.10.bb
@@ -1,11 +1,2 @@
-SUMMARY = "Python Lex and Yacc"
-DESCRIPTION = "Python ply: PLY is yet another implementation of lex and yacc for Python"
-HOMEPAGE = "https://pypi.python.org/pypi/ply"
-SECTION = "devel/python"
-LICENSE = "BSD"
-LIC_FILES_CHKSUM = "file://README.md;beginline=3;endline=30;md5=fcb04bc2f765e46ab7084d6ab6e452bb"
-
-SRC_URI[md5sum] = "1d63c166ab250bab87d8dcc42dcca70e"
-SRC_URI[sha256sum] = "96e94af7dd7031d8d6dd6e2a8e0de593b511c211a86e28a9c9621c275ac8bacb"
-
-inherit pypi setuptools
+require python-ply.inc
+inherit setuptools
diff --git a/meta-python/recipes-devtools/python/python3-ply_3.10.bb b/meta-python/recipes-devtools/python/python3-ply_3.10.bb
new file mode 100644
index 0000000..de8881d
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-ply_3.10.bb
@@ -0,0 +1,6 @@
+require python-ply.inc
+inherit setuptools3
+
+RDEPENDS_${PN}_class-target += "\
+    ${PYTHON_PN}-enum \
+"

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


More information about the Openembedded-commits mailing list