Skip to content

Commit

Permalink
package/python-yatl: new package
Browse files Browse the repository at this point in the history
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:
web2py/yatl#21

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

Signed-off-by: Fabrice Fontaine <[email protected]>
Reviewed-by: Asaf Kahlon <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
  • Loading branch information
ffontaine authored and awanga committed Oct 6, 2020
1 parent cabb29b commit 1a2434d
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 0 deletions.
1 change: 1 addition & 0 deletions DEVELOPERS
Original file line number Diff line number Diff line change
Expand Up @@ -881,6 +881,7 @@ F: package/pcmanfm/
F: package/python-backcall/
F: package/python-jedi/
F: package/python-parso/
F: package/python-yatl/
F: package/rocksdb/
F: package/rygel/
F: package/safeclib/
Expand Down
1 change: 1 addition & 0 deletions package/Config.in
Original file line number Diff line number Diff line change
Expand Up @@ -1216,6 +1216,7 @@ menu "External python modules"
source "package/python-xlwt/Config.in"
source "package/python-xmltodict/Config.in"
source "package/python-yarl/Config.in"
source "package/python-yatl/Config.in"
source "package/python-yieldfrom/Config.in"
source "package/python-zc-lockfile/Config.in"
source "package/python-zeroconf/Config.in"
Expand Down
6 changes: 6 additions & 0 deletions package/python-yatl/Config.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
config BR2_PACKAGE_PYTHON_YATL
bool "python-yatl"
help
Yet Another Template Language.

https://github.com/web2py/yatl
3 changes: 3 additions & 0 deletions package/python-yatl/python-yatl.hash
Original file line number Diff line number Diff line change
@@ -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
14 changes: 14 additions & 0 deletions package/python-yatl/python-yatl.mk
Original file line number Diff line number Diff line change
@@ -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))

0 comments on commit 1a2434d

Please sign in to comment.