[Buildroot] [PATCH 17/19] python-pyasn-modules: new package

Yegor Yefremov yegorslists at googlemail.com
Tue Feb 2 08:36:31 UTC 2016


On Tue, Feb 2, 2016 at 1:44 AM, Mauro Condarelli <mc5686 at mclink.it> wrote:
> Signed-off-by: Mauro Condarelli <mc5686 at mclink.it>
> ---
>  package/Config.in                                      |  1 +
>  package/python-pyasn-modules/Config.in                 |  8 ++++++++
>  package/python-pyasn-modules/python-pyasn-modules.hash |  3 +++
>  package/python-pyasn-modules/python-pyasn-modules.mk   | 15 +++++++++++++++
>  4 files changed, 27 insertions(+)
>  create mode 100644 package/python-pyasn-modules/Config.in
>  create mode 100644 package/python-pyasn-modules/python-pyasn-modules.hash
>  create mode 100644 package/python-pyasn-modules/python-pyasn-modules.mk
>
> diff --git a/package/Config.in b/package/Config.in
> index b8b7129..807cffb 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -679,6 +679,7 @@ menu "External python modules"
>         source "package/python-protobuf/Config.in"
>         source "package/python-psutil/Config.in"
>         source "package/python-pyasn/Config.in"
> +       source "package/python-pyasn-modules/Config.in"
>         source "package/python-pycli/Config.in"
>         source "package/python-pycparser/Config.in"
>         source "package/python-pycrypto/Config.in"
> diff --git a/package/python-pyasn-modules/Config.in b/package/python-pyasn-modules/Config.in
> new file mode 100644
> index 0000000..68d1579
> --- /dev/null
> +++ b/package/python-pyasn-modules/Config.in
> @@ -0,0 +1,8 @@
> +config BR2_PACKAGE_PYTHON_PYASN_MODULES
> +       bool "python-pyasn-modules"

add python-pyasn dependency

depends on BR2_INSTALL_LIBSTDCPP

> +       select BR2_PACKAGE_PYASN
> +       help
> +         A collection of ASN.1-based protocols modules.
> +
> +         https://pypi.python.org/pypi/pyasn1-modules
> +

comment "python-pyasn-modules needs a toolchain w/ C++"
        depends on !BR2_INSTALL_LIBSTDCPP

see package/python-pyasn/Config.in for reference

> diff --git a/package/python-pyasn-modules/python-pyasn-modules.hash b/package/python-pyasn-modules/python-pyasn-modules.hash
> new file mode 100644
> index 0000000..6d9a707
> --- /dev/null
> +++ b/package/python-pyasn-modules/python-pyasn-modules.hash
> @@ -0,0 +1,3 @@
> +# md5 from https://pypi.python.org/pypi?:action=show_md5&digest=178129bc7fbf07215c25230c5f053f81, sha256 locally computed.
> +md5    178129bc7fbf07215c25230c5f053f81  pyasn1-modules-0.0.8.tar.gz
> +sha256 10561934f1829bcc455c7ecdcdacdb4be5ffd3696f26f468eb6eb41e107f3837  pyasn1-modules-0.0.8.tar.gz
> diff --git a/package/python-pyasn-modules/python-pyasn-modules.mk b/package/python-pyasn-modules/python-pyasn-modules.mk
> new file mode 100644
> index 0000000..9ba13cb
> --- /dev/null
> +++ b/package/python-pyasn-modules/python-pyasn-modules.mk
> @@ -0,0 +1,15 @@
> +################################################################################
> +#
> +# python-pyasn-modules
> +#
> +################################################################################
> +
> +PYTHON_PYASN_MODULES_VERSION = 0.0.8
> +PYTHON_PYASN_MODULES_SOURCE = pyasn1-modules-$(PYTHON_PYASN1_MODULES_VERSION).tar.gz
> +PYTHON_PYASN_MODULES_SITE = http://pypi.python.org/packages/source/p/pyasn1-modules
> +PYTHON_PYASN_MODULES_LICENSE = BSD
> +PYTHON_PYASN_MODULES_LICENSE_FILES = LICENSE.txt
> +PYTHON_PYASN_MODULES_SETUP_TYPE = setuptools
> +PYTHON_PYASN_MODULES_DEPENDENCIES = python-pyasn
> +
> +$(eval $(python-package))
> --
> 2.1.4
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot


More information about the buildroot mailing list