config BR2_PACKAGE_PYTHON_CHEETAH
bool "python-cheetah"
- depends on BR2_PACKAGE_PYTHON
help
Cheetah is an open source template engine and code
generation tool.
It can be used standalone or combined with other tools and
- frameworks. Web development is its principle use, but
+ frameworks. Web development is its principle use, but
Cheetah is very flexible and is also being used to generate
C++ game code, Java, sql, form emails and even Python code.
- https://pypi.python.org/pypi/Cheetah/
+ https://pypi.org/project/Cheetah3/
-# From https://pypi.python.org/pypi/Cheetah/2.4.4
-md5 853917116e731afbc8c8a43c37e6ddba Cheetah-2.4.4.tar.gz
-# Calculated based on the hash above
-sha256 be308229f0c1e5e5af4f27d7ee06d90bb19e6af3059794e5fd536a6f29a9b550 Cheetah-2.4.4.tar.gz
+# From https://pypi.org/pypi/Cheetah3/json
+md5 8c0ac643263ffc3454fb321342284d0a Cheetah3-3.2.4.tar.gz
+sha256 caabb9c22961a3413ac85cd1e5525ec9ca80daeba6555f4f60802b6c256e252b Cheetah3-3.2.4.tar.gz
+# Locally computed sha256 checksums
+sha256 635349ae512fafc2e60eb74a50d0a5276fa06c00b5ecb20da53546449ddc45ea LICENSE
#
################################################################################
-PYTHON_CHEETAH_VERSION = 2.4.4
-PYTHON_CHEETAH_SOURCE = Cheetah-$(PYTHON_CHEETAH_VERSION).tar.gz
-PYTHON_CHEETAH_SITE = https://pypi.python.org/packages/source/C/Cheetah
+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
PYTHON_CHEETAH_LICENSE = MIT
+PYTHON_CHEETAH_LICENSE_FILES = LICENSE
PYTHON_CHEETAH_SETUP_TYPE = setuptools
-HOST_PYTHON_CHEETAH_NEEDS_HOST_PYTHON = python2
-
-# The dependency on host-python-markdown is needed to prevent
-# setuptools from downloading markdown if it is not installed yet.
-HOST_PYTHON_CHEETAH_DEPENDENCIES = host-python-markdown
-
$(eval $(python-package))
$(eval $(host-python-package))