diff --git a/package/python-templating/Config.in b/package/python-templating/Config.in new file mode 100644 index 00000000..813bd55d --- /dev/null +++ b/package/python-templating/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_PYTHON_TEMPLATING + bool "python-templating" + help + This is the old version of the Mako templating library for Python. + It provides a familiar, non-XML syntax which compiles into Python + modules for maximum performance. + + https://pypi.python.org/pypi/Mako diff --git a/package/python-templating/python-templating.hash b/package/python-templating/python-templating.hash new file mode 100644 index 00000000..f5b5daf0 --- /dev/null +++ b/package/python-templating/python-templating.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/mako/json +md5 409bdc38e9ddda5eada61fb092cb12fd Mako-1.1.5.tar.gz +sha256 169fa52af22a91900d852e937400e79f535496191c63712e3b9fda5a9bed6fc3 Mako-1.1.5.tar.gz +# Locally computed sha256 checksums +sha256 47cd0d41b1092f9161cfb629ed15e5cea185144710ff4633a4281ef088ff5de7 LICENSE diff --git a/package/python-templating/python-templating.mk b/package/python-templating/python-templating.mk new file mode 100644 index 00000000..a6134f8d --- /dev/null +++ b/package/python-templating/python-templating.mk @@ -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))