package/python-templating: port of old python-mako

The ifupdown2 package is incompatible with python-mako >= v1.2.0.  So as
a workaround we add the old one as a local override.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg
2022-12-14 22:21:16 +01:00
parent 245c298f0d
commit af6907a380
3 changed files with 31 additions and 0 deletions
@@ -0,0 +1,18 @@
################################################################################
#
# python-mako
#
################################################################################
PYTHON_TEMPLATING_VERSION = 1.1.5
PYTHON_TEMPLATING_SOURCE = Mako-$(PYTHON_TEMPLATING_VERSION).tar.gz
PYTHON_TEMPLATING_SITE = https://files.pythonhosted.org/packages/d1/42/ff293411e980debfc647be9306d89840c8b82ea24571b014f1a35b2ad80f
PYTHON_TEMPLATING_SETUP_TYPE = setuptools
PYTHON_TEMPLATING_LICENSE = MIT
PYTHON_TEMPLATING_LICENSE_FILES = LICENSE
# In host build, setup.py tries to download markupsafe if it is not installed
HOST_PYTHON_TEMPLATING_DEPENDENCIES = host-python-markupsafe
$(eval $(python-package))
$(eval $(host-python-package))