package/python3-pycparser: add python3 host variant

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>
This commit is contained in:
Chan, Donald 2021-05-20 01:48:29 +00:00 committed by Yann E. MORIN
parent 5864b40fac
commit 9e2f12ae1c
3 changed files with 19 additions and 0 deletions

View 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

View File

@ -0,0 +1 @@
../python-pycparser/python-pycparser.hash

View File

@ -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))