package/python3-ply: add special host variant
authorPeter Seiderer <ps.report@gmx.net>
Tue, 17 Nov 2020 22:34:34 +0000 (23:34 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Tue, 19 Jan 2021 21:40:22 +0000 (22:40 +0100)
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/python-ply/python-ply.mk
package/python3-ply/python3-ply.hash [new symlink]
package/python3-ply/python3-ply.mk [new file with mode: 0644]

index 5dc7964d5fd3f56fa7325d5ae265b9d89e8d0771..50a3e32bc2d0143395521a8b668ae711d9bab7bb 100644 (file)
@@ -4,6 +4,7 @@
 #
 ################################################################################
 
+# Please keep in sync with package/python3-ply/python3-ply.mk
 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
diff --git a/package/python3-ply/python3-ply.hash b/package/python3-ply/python3-ply.hash
new file mode 120000 (symlink)
index 0000000..5e07165
--- /dev/null
@@ -0,0 +1 @@
+../python-ply/python-ply.hash
\ No newline at end of file
diff --git a/package/python3-ply/python3-ply.mk b/package/python3-ply/python3-ply.mk
new file mode 100644 (file)
index 0000000..15f66a4
--- /dev/null
@@ -0,0 +1,16 @@
+################################################################################
+#
+# python3-ply
+#
+################################################################################
+
+PYTHON3_PLY_VERSION = 3.11
+PYTHON3_PLY_SOURCE = ply-$(PYTHON3_PLY_VERSION).tar.gz
+PYTHON3_PLY_SITE = https://files.pythonhosted.org/packages/e5/69/882ee5c9d017149285cab114ebeab373308ef0f874fcdac9beb90e0ac4da
+PYTHON3_PLY_SETUP_TYPE = setuptools
+PYTHON3_PLY_LICENSE = BSD-3-Clause
+PYTHON3_PLY_LICENSE_FILES = README.md
+
+HOST_PYTHON3_PLY_NEEDS_HOST_PYTHON = python3
+
+$(eval $(host-python-package))