瀏覽代碼

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>
Yegor Yefremov 5 年之前
父節點
當前提交
709f21fb4f

+ 1 - 0
package/python-regex/python-regex.mk

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

+ 1 - 0
package/python3-regex/python3-regex.hash

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

+ 16 - 0
package/python3-regex/python3-regex.mk

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