package/python3-cheetah: add special host variant
authorYegor Yefremov <yegorslists@googlemail.com>
Mon, 23 Mar 2020 10:49:05 +0000 (11:49 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Fri, 24 Apr 2020 12:57:00 +0000 (14:57 +0200)
Needed to build mongodb.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/python-cheetah/python-cheetah.mk
package/python3-cheetah/python3-cheetah.hash [new symlink]
package/python3-cheetah/python3-cheetah.mk [new file with mode: 0644]

index 1ad49a43b77692d5980a77af9dced34008f9af79..3dfd1fc54a5d3550d547a48813c58f51f03f9287 100644 (file)
@@ -4,6 +4,7 @@
 #
 ################################################################################
 
+# Please keep in sync with package/python3-cheetah/python3-cheetah.mk
 PYTHON_CHEETAH_VERSION = 3.2.4
 PYTHON_CHEETAH_SOURCE = Cheetah3-$(PYTHON_CHEETAH_VERSION).tar.gz
 PYTHON_CHEETAH_SITE = https://files.pythonhosted.org/packages/4e/72/e6a7d92279e3551db1b68fd336fd7a6e3d2f2ec742bf486486e6150d77d2
diff --git a/package/python3-cheetah/python3-cheetah.hash b/package/python3-cheetah/python3-cheetah.hash
new file mode 120000 (symlink)
index 0000000..c29a76e
--- /dev/null
@@ -0,0 +1 @@
+../python-cheetah/python-cheetah.hash
\ No newline at end of file
diff --git a/package/python3-cheetah/python3-cheetah.mk b/package/python3-cheetah/python3-cheetah.mk
new file mode 100644 (file)
index 0000000..8876f8d
--- /dev/null
@@ -0,0 +1,18 @@
+################################################################################
+#
+# python3-cheetah
+#
+################################################################################
+
+# Please keep in sync with
+# package/python-cheetah/python-cheetah.mk
+PYTHON3_CHEETAH_VERSION = 3.2.4
+PYTHON3_CHEETAH_SOURCE = Cheetah3-$(PYTHON3_CHEETAH_VERSION).tar.gz
+PYTHON3_CHEETAH_SITE = https://files.pythonhosted.org/packages/4e/72/e6a7d92279e3551db1b68fd336fd7a6e3d2f2ec742bf486486e6150d77d2
+PYTHON3_CHEETAH_LICENSE = MIT
+PYTHON3_CHEETAH_LICENSE_FILES = LICENSE
+PYTHON3_CHEETAH_SETUP_TYPE = setuptools
+HOST_PYTHON3_CHEETAH_DL_SUBDIR = python-cheetah
+HOST_PYTHON3_CHEETAH_NEEDS_HOST_PYTHON = python3
+
+$(eval $(host-python-package))