python-ply: add a python3 version of the recipe
PATCH 1/1 python-ply: add a python3 version of the recipe
Signed-off-by Derek Straka <[email protected]>
--- meta-python/recipes-devtools/python/python-ply.inc | 18 ++++++++++++++++++ meta-python/recipes-devtools/python/python-ply_3.10.bb | 13 ++----------- .../recipes-devtools/python/python3-ply_3.10.bb | 6 ++++++ 3 files changed, 26 insertions(+), 11 deletions(-) create mode 100644 meta-python/recipes-devtools/python/python-ply.inc create mode 100644 meta-python/recipes-devtools/python/python3-ply_3.10.bb
meta-python/recipes-devtools/python/python-ply.inc new file +18 -0
@@ -0,0 +1,18 @@ +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 + +RDEPENDS_${PN}_class-target += "\ + ${PYTHON_PN}-netclient \ + ${PYTHON_PN}-shell \ +" + +BBCLASSEXTEND = "native"
meta-python/recipes-devtools/python/python-ply_3.10.bb +2 -11
@@ -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
meta-python/recipes-devtools/python/python3-ply_3.10.bb new file +6 -0
@@ -0,0 +1,6 @@ +require python-ply.inc +inherit setuptools3 + +RDEPENDS_${PN}_class-target += "\ + ${PYTHON_PN}-enum \ +"
Signature · 1 line
2.7.4