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>
This commit is contained in:
Derek Straka
2017-12-03 14:53:47 -05:00
committed by Armin Kuster
parent aecdd05a89
commit f00a7b9e70
3 changed files with 26 additions and 11 deletions

View File

@@ -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"

View File

@@ -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

View File

@@ -0,0 +1,6 @@
require python-ply.inc
inherit setuptools3
RDEPENDS_${PN}_class-target += "\
${PYTHON_PN}-enum \
"