From: Mauro Condarelli Date: Tue, 2 Feb 2016 00:44:47 +0000 (+0100) Subject: python-netaddr: new package X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ffde67a0de3c7849758c450019e6a8b23c98ea68;p=buildroot.git python-netaddr: new package Signed-off-by: Mauro Condarelli Reviewed-by: Yegor Yefremov [Thomas: - remove excessive empty new line at the end of Config.in - specify BSD-3c as the license, since it's the variant being used, and it's more specific than just BSD.] Signed-off-by: Thomas Petazzoni --- diff --git a/package/Config.in b/package/Config.in index 8ee5ad4a44..f2b690199c 100644 --- a/package/Config.in +++ b/package/Config.in @@ -665,6 +665,7 @@ menu "External python modules" source "package/python-meld3/Config.in" source "package/python-mistune/Config.in" source "package/python-msgpack/Config.in" + source "package/python-netaddr/Config.in" source "package/python-netifaces/Config.in" source "package/python-networkmanager/Config.in" source "package/python-nfc/Config.in" diff --git a/package/python-netaddr/Config.in b/package/python-netaddr/Config.in new file mode 100644 index 0000000000..534d136f06 --- /dev/null +++ b/package/python-netaddr/Config.in @@ -0,0 +1,6 @@ +config BR2_PACKAGE_PYTHON_NETADDR + bool "python-netaddr" + help + A network address manipulation library for Python. + + https://pypi.python.org/pypi/netaddr diff --git a/package/python-netaddr/python-netaddr.hash b/package/python-netaddr/python-netaddr.hash new file mode 100644 index 0000000000..5fcdda4539 --- /dev/null +++ b/package/python-netaddr/python-netaddr.hash @@ -0,0 +1,3 @@ +# md5 from https://pypi.python.org/pypi?:action=show_md5&digest=c65bb34f8bedfbbca0b316c490cd13a0, sha256 locally computed. +md5 c65bb34f8bedfbbca0b316c490cd13a0 netaddr-0.7.18.tar.gz +sha256 a1f5c9fcf75ac2579b9995c843dade33009543c04f218ff7c007b3c81695bd19 netaddr-0.7.18.tar.gz diff --git a/package/python-netaddr/python-netaddr.mk b/package/python-netaddr/python-netaddr.mk new file mode 100644 index 0000000000..c68b24fca1 --- /dev/null +++ b/package/python-netaddr/python-netaddr.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-netaddr +# +################################################################################ + +PYTHON_NETADDR_VERSION = 0.7.18 +PYTHON_NETADDR_SOURCE = netaddr-$(PYTHON_NETADDR_VERSION).tar.gz +PYTHON_NETADDR_SITE = http://pypi.python.org/packages/source/n/netaddr +PYTHON_NETADDR_LICENSE = BSD-3c +PYTHON_NETADDR_LICENSE_FILES = LICENSE +PYTHON_NETADDR_SETUP_TYPE = distutils + +$(eval $(python-package))