python-netaddr: new package

Signed-off-by: Mauro Condarelli <mc5686@mclink.it>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
[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 <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Mauro Condarelli 2016-02-02 01:44:47 +01:00 committed by Thomas Petazzoni
parent 56526bbfae
commit ffde67a0de
4 changed files with 24 additions and 0 deletions

View File

@ -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"

View File

@ -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

View File

@ -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

View File

@ -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))