python-ply: add new recipe

python-ply: PLY is yet another implementation
of lex and yacc for Python.

It's required by python-pysmi.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Jackie Huang 2017-04-21 17:08:14 +08:00 committed by Martin Jansa
parent d1d2775a3a
commit 4ebcca6670

View File

@ -0,0 +1,17 @@
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"
SRCNAME = "ply"
SRC_URI = "https://files.pythonhosted.org/packages/source/p/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
SRC_URI[md5sum] = "1d63c166ab250bab87d8dcc42dcca70e"
SRC_URI[sha256sum] = "96e94af7dd7031d8d6dd6e2a8e0de593b511c211a86e28a9c9621c275ac8bacb"
S = "${WORKDIR}/${SRCNAME}-${PV}"
inherit setuptools