[Buildroot] [PATCH v2 4/7] package/python-traittypes: new package
Yegor Yefremov
yegorslists at googlemail.com
Fri May 3 06:22:10 UTC 2019
On Thu, May 2, 2019 at 8:53 PM Jugurtha BELKALEM
<jugurtha.belkalem at smile.fr> wrote:
>
> bcc requires this package which is used to add
> custom trait types for scientific computing.
>
> Signed-off-by: Jugurtha BELKALEM <jugurtha.belkalem at smile.fr>
Reviewed-by: Yegor Yefremov <yegorslists at googlemail.com>
>
> ---
> Changes v1 => v2:
> Correcting typos, adding #runtime
> comment and fixing License name.
> ---
> DEVELOPERS | 1 +
> package/Config.in | 1 +
> package/python-traittypes/Config.in | 7 +++++++
> package/python-traittypes/python-traittypes.hash | 5 +++++
> package/python-traittypes/python-traittypes.mk | 14 ++++++++++++++
> 5 files changed, 28 insertions(+)
> create mode 100644 package/python-traittypes/Config.in
> create mode 100644 package/python-traittypes/python-traittypes.hash
> create mode 100644 package/python-traittypes/python-traittypes.mk
>
> diff --git a/DEVELOPERS b/DEVELOPERS
> index d4370db..dc83571 100644
> --- a/DEVELOPERS
> +++ b/DEVELOPERS
> @@ -1227,6 +1227,7 @@ F: package/python-xlib/
> N: Jugurtha BELKALEM <jugurtha.belkalem at smile.fr>
> F: package/python-pytest
> F: package/python-pytest-runner
> +F: package/python-traittypes
>
> N: Joshua Henderson <joshua.henderson at microchip.com>
> F: package/qt5/qt5wayland/
> diff --git a/package/Config.in b/package/Config.in
> index 4fcf4f7..4918ec5 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -1073,6 +1073,7 @@ menu "External python modules"
> source "package/python-toml/Config.in"
> source "package/python-tornado/Config.in"
> source "package/python-traitlets/Config.in"
> + source "package/python-traittypes/Config.in"
> source "package/python-treq/Config.in"
> source "package/python-twisted/Config.in"
> source "package/python-txaio/Config.in"
> diff --git a/package/python-traittypes/Config.in b/package/python-traittypes/Config.in
> new file mode 100644
> index 0000000..0688f80
> --- /dev/null
> +++ b/package/python-traittypes/Config.in
> @@ -0,0 +1,7 @@
> +config BR2_PACKAGE_PYTHON_TRAITTYPES
> + bool "python-traittypes"
> + select BR2_PACKAGE_PYTHON_TRAITLETS # runtime
> + help
> + Custom trait types for scientific computing.
> +
> + https://pypi.org/project/traittypes/
> diff --git a/package/python-traittypes/python-traittypes.hash b/package/python-traittypes/python-traittypes.hash
> new file mode 100644
> index 0000000..a94b256
> --- /dev/null
> +++ b/package/python-traittypes/python-traittypes.hash
> @@ -0,0 +1,5 @@
> +# sha256 from https://pypi.org/project/traittypes/#files
> +sha256 be6fa26294733e7489822ded4ae25da5b4824a8a7a0e0c2dccfde596e3489bd6 traittypes-0.2.1.tar.gz
> +
> +# Locally calculated
> +sha256 221976dfad5db283a2669efe8607e24c9c9aecca8453d6beba045e665c2f88a1 LICENSE
> diff --git a/package/python-traittypes/python-traittypes.mk b/package/python-traittypes/python-traittypes.mk
> new file mode 100644
> index 0000000..d360e2d
> --- /dev/null
> +++ b/package/python-traittypes/python-traittypes.mk
> @@ -0,0 +1,14 @@
> +################################################################################
> +#
> +# python-traittypes
> +#
> +################################################################################
> +
> +PYTHON_TRAITTYPES_VERSION = 0.2.1
> +PYTHON_TRAITTYPES_SOURCE = traittypes-$(PYTHON_TRAITTYPES_VERSION).tar.gz
> +PYTHON_TRAITTYPES_SITE = https://files.pythonhosted.org/packages/8a/71/0578e44d2110f93c2136eb705f5b11e706e1e8ea3acaaaeac043bd40d8fd
> +PYTHON_TRAITTYPES_LICENSE = BSD-3-Clause
> +PYTHON_TRAITTYPES_LICENSE_FILES = LICENSE
> +PYTHON_TRAITTYPES_SETUP_TYPE = distutils
> +
> +$(eval $(python-package))
> --
> 2.7.4
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
More information about the buildroot
mailing list