mirror of
https://gitee.com/open-loongarch/buildroot-2024.08.git
synced 2026-10-28 22:17:12 +08:00
first commit: base 2024.08
Signed-off-by: maoxiaochuan <maoxiaochuan@loongson.cn>
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
config BR2_PACKAGE_PYTHON_JINJA2
|
||||
bool "python-jinja2"
|
||||
select BR2_PACKAGE_PYTHON_MARKUPSAFE # runtime
|
||||
select BR2_PACKAGE_PYTHON3_UNICODEDATA
|
||||
help
|
||||
Jinja2 is a template engine written in pure Python. It
|
||||
provides a Django inspired non-XML syntax but supports
|
||||
inline expressions and an optional sandboxed environment.
|
||||
|
||||
https://jinja.palletsprojects.com
|
||||
@@ -0,0 +1,5 @@
|
||||
# md5, sha256 from https://pypi.org/pypi/jinja2/json
|
||||
md5 02ca9a6364c92e83d14b037bef4732bc jinja2-3.1.4.tar.gz
|
||||
sha256 4a3aee7acbbe7303aede8e9648d13b8bf88a429282aa6122a993f0ac800cb369 jinja2-3.1.4.tar.gz
|
||||
# Locally computed sha256 checksums
|
||||
sha256 3b49dcee4105eb37bac10faf1be260408fe85d252b8e9df2e0979fc1e094437b LICENSE.txt
|
||||
@@ -0,0 +1,21 @@
|
||||
################################################################################
|
||||
#
|
||||
# python-jinja2
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PYTHON_JINJA2_VERSION = 3.1.4
|
||||
PYTHON_JINJA2_SOURCE = jinja2-$(PYTHON_JINJA2_VERSION).tar.gz
|
||||
PYTHON_JINJA2_SITE = https://files.pythonhosted.org/packages/ed/55/39036716d19cab0747a5020fc7e907f362fbf48c984b14e62127f7e68e5d
|
||||
PYTHON_JINJA2_SETUP_TYPE = flit
|
||||
PYTHON_JINJA2_LICENSE = BSD-3-Clause
|
||||
PYTHON_JINJA2_LICENSE_FILES = LICENSE.txt
|
||||
PYTHON_JINJA2_CPE_ID_VENDOR = pocoo
|
||||
PYTHON_JINJA2_CPE_ID_PRODUCT = jinja2
|
||||
|
||||
# In host/target build, setup.py tries to download markupsafe if it is not installed
|
||||
PYTHON_JINJA2_DEPENDENCIES = host-python-markupsafe
|
||||
HOST_PYTHON_JINJA2_DEPENDENCIES = host-python-markupsafe
|
||||
|
||||
$(eval $(python-package))
|
||||
$(eval $(host-python-package))
|
||||
Reference in New Issue
Block a user