diff options
| author | Derek Straka <derek@asterius.io> | 2017-12-03 14:53:47 -0500 |
|---|---|---|
| committer | Armin Kuster <akuster808@gmail.com> | 2017-12-11 07:58:58 -0800 |
| commit | f00a7b9e7037f5e3efed10b1c81371b69dd0dee9 (patch) | |
| tree | afd557f12f0e89d3920c6ed633479d03d46c8d92 /meta-python | |
| parent | aecdd05a89f503c1b92b75746f086f19c967f94b (diff) | |
| download | meta-openembedded-f00a7b9e7037f5e3efed10b1c81371b69dd0dee9.tar.gz | |
python-ply: add a python3 version of the recipe
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-python')
| -rw-r--r-- | meta-python/recipes-devtools/python/python-ply.inc | 18 | ||||
| -rw-r--r-- | meta-python/recipes-devtools/python/python-ply_3.10.bb | 13 | ||||
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-ply_3.10.bb | 6 |
3 files changed, 26 insertions, 11 deletions
diff --git a/meta-python/recipes-devtools/python/python-ply.inc b/meta-python/recipes-devtools/python/python-ply.inc new file mode 100644 index 0000000000..a6cdf4b40d --- /dev/null +++ b/meta-python/recipes-devtools/python/python-ply.inc | |||
| @@ -0,0 +1,18 @@ | |||
| 1 | SUMMARY = "Python Lex and Yacc" | ||
| 2 | DESCRIPTION = "Python ply: PLY is yet another implementation of lex and yacc for Python" | ||
| 3 | HOMEPAGE = "https://pypi.python.org/pypi/ply" | ||
| 4 | SECTION = "devel/python" | ||
| 5 | LICENSE = "BSD" | ||
| 6 | LIC_FILES_CHKSUM = "file://README.md;beginline=3;endline=30;md5=fcb04bc2f765e46ab7084d6ab6e452bb" | ||
| 7 | |||
| 8 | SRC_URI[md5sum] = "1d63c166ab250bab87d8dcc42dcca70e" | ||
| 9 | SRC_URI[sha256sum] = "96e94af7dd7031d8d6dd6e2a8e0de593b511c211a86e28a9c9621c275ac8bacb" | ||
| 10 | |||
| 11 | inherit pypi | ||
| 12 | |||
| 13 | RDEPENDS_${PN}_class-target += "\ | ||
| 14 | ${PYTHON_PN}-netclient \ | ||
| 15 | ${PYTHON_PN}-shell \ | ||
| 16 | " | ||
| 17 | |||
| 18 | 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 9d019ae031..2b6165c5be 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 @@ | |||
| 1 | SUMMARY = "Python Lex and Yacc" | 1 | require python-ply.inc |
| 2 | DESCRIPTION = "Python ply: PLY is yet another implementation of lex and yacc for Python" | 2 | inherit setuptools |
| 3 | HOMEPAGE = "https://pypi.python.org/pypi/ply" | ||
| 4 | SECTION = "devel/python" | ||
| 5 | LICENSE = "BSD" | ||
| 6 | LIC_FILES_CHKSUM = "file://README.md;beginline=3;endline=30;md5=fcb04bc2f765e46ab7084d6ab6e452bb" | ||
| 7 | |||
| 8 | SRC_URI[md5sum] = "1d63c166ab250bab87d8dcc42dcca70e" | ||
| 9 | SRC_URI[sha256sum] = "96e94af7dd7031d8d6dd6e2a8e0de593b511c211a86e28a9c9621c275ac8bacb" | ||
| 10 | |||
| 11 | inherit pypi 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 0000000000..de8881d514 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-ply_3.10.bb | |||
| @@ -0,0 +1,6 @@ | |||
| 1 | require python-ply.inc | ||
| 2 | inherit setuptools3 | ||
| 3 | |||
| 4 | RDEPENDS_${PN}_class-target += "\ | ||
| 5 | ${PYTHON_PN}-enum \ | ||
| 6 | " | ||
