[Buildroot] [PATCH 1/2] package/python-yatl: new package

Asaf Kahlon asafka7 at gmail.com
Mon Jun 15 19:13:43 UTC 2020


Hello,

On Thu, Jun 11, 2020 at 11:56 PM Fabrice Fontaine
<fontaine.fabrice at gmail.com> wrote:
>
> 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 at gmail.com>
> ---
>  DEVELOPERS                           |  1 +
>  package/Config.in                    |  1 +
>  package/python-yatl/Config.in        |  6 ++++++
>  package/python-yatl/python-yatl.hash |  3 +++
>  package/python-yatl/python-yatl.mk   | 14 ++++++++++++++
>  5 files changed, 25 insertions(+)
>  create mode 100644 package/python-yatl/Config.in
>  create mode 100644 package/python-yatl/python-yatl.hash
>  create mode 100644 package/python-yatl/python-yatl.mk
>
> diff --git a/DEVELOPERS b/DEVELOPERS
> index 9a94307082..b6c9023292 100644
> --- a/DEVELOPERS
> +++ b/DEVELOPERS
> @@ -880,6 +880,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/
> diff --git a/package/Config.in b/package/Config.in
> index b0a7da2f5c..6eb1767836 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -1214,6 +1214,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"
> diff --git a/package/python-yatl/Config.in b/package/python-yatl/Config.in
> new file mode 100644
> index 0000000000..88a79512f8
> --- /dev/null
> +++ b/package/python-yatl/Config.in
> @@ -0,0 +1,6 @@
> +config BR2_PACKAGE_PYTHON_YATL
> +       bool "python-yatl"
> +       help
> +         Yet Another Template Language.
> +
> +         https://github.com/web2py/yatl
> diff --git a/package/python-yatl/python-yatl.hash b/package/python-yatl/python-yatl.hash
> new file mode 100644
> index 0000000000..9238e71b22
> --- /dev/null
> +++ b/package/python-yatl/python-yatl.hash
> @@ -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
> diff --git a/package/python-yatl/python-yatl.mk b/package/python-yatl/python-yatl.mk
> new file mode 100644
> index 0000000000..fca39bb5ef
> --- /dev/null
> +++ b/package/python-yatl/python-yatl.mk
> @@ -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))
> --
> 2.26.2
>
Reviewed-by: Asaf Kahlon <asafka7 at gmail.com>

Regards,
Asaf.


More information about the buildroot mailing list