package/python3-pycparser: add python3 host variant
authorChan, Donald <hoiho@lab126.com>
Thu, 20 May 2021 01:48:29 +0000 (01:48 +0000)
committerYann E. MORIN <yann.morin.1998@free.fr>
Sun, 6 Jun 2021 20:42:10 +0000 (22:42 +0200)
Add a python3 host variant since we are adding a python3 host variant of
python-cryptography and it is dependent on this.

Signed-off-by: Donald Chan <hoiho@lab126.com>
[yann.morin.1998@free.fr: also add sync comment to python-pycparser]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/python-pycparser/python-pycparser.mk
package/python3-pycparser/python3-pycparser.hash [new symlink]
package/python3-pycparser/python3-pycparser.mk [new file with mode: 0644]

index 8af37fce985003a333283a61df393df08af77bd1..5f44a562af505cbfde0f8400ff7053a67f88111b 100644 (file)
@@ -4,6 +4,7 @@
 #
 ################################################################################
 
+# Please keep in sync with package/python3-pycparser/python3-pycparser.mk
 PYTHON_PYCPARSER_VERSION = 2.20
 PYTHON_PYCPARSER_SOURCE = pycparser-$(PYTHON_PYCPARSER_VERSION).tar.gz
 PYTHON_PYCPARSER_SITE = https://files.pythonhosted.org/packages/0f/86/e19659527668d70be91d0369aeaa055b4eb396b0f387a4f92293a20035bd
diff --git a/package/python3-pycparser/python3-pycparser.hash b/package/python3-pycparser/python3-pycparser.hash
new file mode 120000 (symlink)
index 0000000..7a1912c
--- /dev/null
@@ -0,0 +1 @@
+../python-pycparser/python-pycparser.hash
\ No newline at end of file
diff --git a/package/python3-pycparser/python3-pycparser.mk b/package/python3-pycparser/python3-pycparser.mk
new file mode 100644 (file)
index 0000000..68769ce
--- /dev/null
@@ -0,0 +1,17 @@
+################################################################################
+#
+# python3-pycparser
+#
+################################################################################
+
+# Please keep in sync with package/python-pycparser/python-pycparser.mk
+PYTHON3_PYCPARSER_VERSION = 2.20
+PYTHON3_PYCPARSER_SOURCE = pycparser-$(PYTHON3_PYCPARSER_VERSION).tar.gz
+PYTHON3_PYCPARSER_SITE = https://files.pythonhosted.org/packages/0f/86/e19659527668d70be91d0369aeaa055b4eb396b0f387a4f92293a20035bd
+PYTHON3_PYCPARSER_SETUP_TYPE = setuptools
+PYTHON3_PYCPARSER_LICENSE = BSD-3-Clause
+PYTHON3_PYCPARSER_LICENSE_FILES = LICENSE
+HOST_PYTHON3_PYCPARSER_DL_SUBDIR = python-pycparser
+HOST_PYTHON3_PYCPARSER_NEEDS_HOST_PYTHON = python3
+
+$(eval $(host-python-package))