summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAsaf Kahlon <asafka7@gmail.com>2018-09-22 22:36:29 +0300
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-10-09 15:59:45 +0200
commite6115701196cdf44abfc6296706c61e882ead6f6 (patch)
tree849a0d5a96b52196c8f0c1e2a9a8225084f434b5
parenta5e4eddb84d11ad0e4ee5c7d5298f6267e0e7f87 (diff)
downloadbuildroot-e6115701196cdf44abfc6296706c61e882ead6f6.tar.gz
buildroot-e6115701196cdf44abfc6296706c61e882ead6f6.zip
python-ply: new package
No license file was found in the repo and README.md seems to be the closest (license type was mentioned in setup.py). Signed-off-by: Asaf Kahlon <asafka7@gmail.com> [Thomas: use the right SPDX license tag.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-rw-r--r--DEVELOPERS1
-rw-r--r--package/Config.in1
-rw-r--r--package/python-ply/Config.in6
-rw-r--r--package/python-ply/python-ply.hash5
-rw-r--r--package/python-ply/python-ply.mk14
5 files changed, 27 insertions, 0 deletions
diff --git a/DEVELOPERS b/DEVELOPERS
index 824f3a3c58..031a162c58 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -215,6 +215,7 @@ F: package/python-logbook/
F: package/python-lxml/
F: package/python-paramiko/
F: package/python-passlib/
+F: package/python-ply/
F: package/python-priority/
F: package/python-pyasn1/
F: package/python-pyasn1-modules/
diff --git a/package/Config.in b/package/Config.in
index 77e5f4cc39..125a7a85f1 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -925,6 +925,7 @@ menu "External python modules"
source "package/python-pigpio/Config.in"
source "package/python-pillow/Config.in"
source "package/python-pip/Config.in"
+ source "package/python-ply/Config.in"
source "package/python-portend/Config.in"
source "package/python-posix-ipc/Config.in"
source "package/python-priority/Config.in"
diff --git a/package/python-ply/Config.in b/package/python-ply/Config.in
new file mode 100644
index 0000000000..d6d265ad1c
--- /dev/null
+++ b/package/python-ply/Config.in
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PYTHON_PLY
+ bool "python-ply"
+ help
+ Python Lex & Yacc.
+
+ http://www.dabeaz.com/ply/
diff --git a/package/python-ply/python-ply.hash b/package/python-ply/python-ply.hash
new file mode 100644
index 0000000000..1eba3b0ffe
--- /dev/null
+++ b/package/python-ply/python-ply.hash
@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/ply/json
+md5 6465f602e656455affcd7c5734c638f8 ply-3.11.tar.gz
+sha256 00c7c1aaa88358b9c765b6d3000c6eec0ba42abca5351b095321aef446081da3 ply-3.11.tar.gz
+# Locally computed sha256 checksums
+sha256 1095b93b81d2043c5c55e0859875b416f75edb6d5eccb4bf2ace1b5445d1c84f README.md
diff --git a/package/python-ply/python-ply.mk b/package/python-ply/python-ply.mk
new file mode 100644
index 0000000000..95a290a7c4
--- /dev/null
+++ b/package/python-ply/python-ply.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-ply
+#
+################################################################################
+
+PYTHON_PLY_VERSION = 3.11
+PYTHON_PLY_SOURCE = ply-$(PYTHON_PLY_VERSION).tar.gz
+PYTHON_PLY_SITE = https://files.pythonhosted.org/packages/e5/69/882ee5c9d017149285cab114ebeab373308ef0f874fcdac9beb90e0ac4da
+PYTHON_PLY_SETUP_TYPE = setuptools
+PYTHON_PLY_LICENSE = BSD-3-Clause
+PYTHON_PLY_LICENSE_FILES = README.md
+
+$(eval $(python-package))
OpenPOWER on IntegriCloud