python-ply: new package
authorAsaf Kahlon <asafka7@gmail.com>
Sat, 22 Sep 2018 19:36:29 +0000 (22:36 +0300)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Tue, 9 Oct 2018 13:59:45 +0000 (15:59 +0200)
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>
DEVELOPERS
package/Config.in
package/python-ply/Config.in [new file with mode: 0644]
package/python-ply/python-ply.hash [new file with mode: 0644]
package/python-ply/python-ply.mk [new file with mode: 0644]

index 824f3a3c585ba2114d91a4d6cec7332b52e9015c..031a162c5845e7547c5205cc524298db0b685188 100644 (file)
@@ -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/
index 77e5f4cc395c9c2963d44e09f402343c4b99c627..125a7a85f1837a816ebb8857a50986cce1371c7c 100644 (file)
@@ -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 (file)
index 0000000..d6d265a
--- /dev/null
@@ -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 (file)
index 0000000..1eba3b0
--- /dev/null
@@ -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 (file)
index 0000000..95a290a
--- /dev/null
@@ -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))