package/python3-regex: add special package variant for the host build

Needed to build mongodb.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Yegor Yefremov 2020-03-23 11:49:04 +01:00 committed by Thomas Petazzoni
parent 7b99705f5f
commit 709f21fb4f
3 changed files with 18 additions and 0 deletions

View File

@ -4,6 +4,7 @@
#
################################################################################
# Please keep in sync with package/python3-regex/python3-regex.mk
PYTHON_REGEX_VERSION = 2020.2.20
PYTHON_REGEX_SOURCE = regex-$(PYTHON_REGEX_VERSION).tar.gz
PYTHON_REGEX_SITE = https://files.pythonhosted.org/packages/e8/76/8ac7f467617b9cfbafcef3c76df6f22b15de654a62bea719792b00a83195

View File

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

View File

@ -0,0 +1,16 @@
################################################################################
#
# python3-regex
#
################################################################################
# Please keep in sync with package/python-regex/python-regex.mk
PYTHON3_REGEX_VERSION = 2020.2.20
PYTHON3_REGEX_SOURCE = regex-$(PYTHON3_REGEX_VERSION).tar.gz
PYTHON3_REGEX_SITE = https://files.pythonhosted.org/packages/e8/76/8ac7f467617b9cfbafcef3c76df6f22b15de654a62bea719792b00a83195
PYTHON3_REGEX_SETUP_TYPE = setuptools
PYTHON3_REGEX_LICENSE = CNRI-Python
HOST_PYTHON3_REGEX_DL_SUBDIR = python-regex
HOST_PYTHON3_REGEX_NEEDS_HOST_PYTHON = python3
$(eval $(host-python-package))