package/python-yatl: new package

License is BSD-3-Clause as stated in upstream LICENSE.txt:
https://github.com/web2py/yatl/blob/master/LICENSE.txt

An issue was opened to add LICENSE.txt in pypi tarballs:
https://github.com/web2py/yatl/issues/21

Add host variant as it will be needed for python-web2py

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Fabrice Fontaine 2020-06-11 22:56:06 +02:00 committed by Thomas Petazzoni
parent 9856e1d89a
commit 709f9ebad5
5 changed files with 25 additions and 0 deletions

View File

@ -881,6 +881,7 @@ F: package/pcmanfm/
F: package/python-backcall/ F: package/python-backcall/
F: package/python-jedi/ F: package/python-jedi/
F: package/python-parso/ F: package/python-parso/
F: package/python-yatl/
F: package/rocksdb/ F: package/rocksdb/
F: package/rygel/ F: package/rygel/
F: package/safeclib/ F: package/safeclib/

View File

@ -1216,6 +1216,7 @@ menu "External python modules"
source "package/python-xlwt/Config.in" source "package/python-xlwt/Config.in"
source "package/python-xmltodict/Config.in" source "package/python-xmltodict/Config.in"
source "package/python-yarl/Config.in" source "package/python-yarl/Config.in"
source "package/python-yatl/Config.in"
source "package/python-yieldfrom/Config.in" source "package/python-yieldfrom/Config.in"
source "package/python-zc-lockfile/Config.in" source "package/python-zc-lockfile/Config.in"
source "package/python-zeroconf/Config.in" source "package/python-zeroconf/Config.in"

View File

@ -0,0 +1,6 @@
config BR2_PACKAGE_PYTHON_YATL
bool "python-yatl"
help
Yet Another Template Language.
https://github.com/web2py/yatl

View File

@ -0,0 +1,3 @@
# md5, sha256 from https://pypi.org/pypi/yatl/json
md5 930be78b3d6e33f3f920619d673c345a yatl-20200430.1.tar.gz
sha256 5220390b27f010046642c00aded9ffc694e383a3d7a47985c8809d8482c8478a yatl-20200430.1.tar.gz

View File

@ -0,0 +1,14 @@
################################################################################
#
# python-yatl
#
################################################################################
PYTHON_YATL_VERSION = 20200430.1
PYTHON_YATL_SOURCE = yatl-$(PYTHON_YATL_VERSION).tar.gz
PYTHON_YATL_SITE = https://files.pythonhosted.org/packages/7f/bd/aa36c1a1d876757e3fa365e6c455097ebd3f2e8e7ded23e75901ff9c9ecf
PYTHON_YATL_SETUP_TYPE = setuptools
PYTHON_YATL_LICENSE = BSD-3-Clause
$(eval $(python-package))
$(eval $(host-python-package))