python-netaddr: new package
authorMauro Condarelli <mc5686@mclink.it>
Tue, 2 Feb 2016 00:44:47 +0000 (01:44 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 2 Feb 2016 19:36:19 +0000 (20:36 +0100)
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>
package/Config.in
package/python-netaddr/Config.in [new file with mode: 0644]
package/python-netaddr/python-netaddr.hash [new file with mode: 0644]
package/python-netaddr/python-netaddr.mk [new file with mode: 0644]

index 8ee5ad4a449d085062ab1520d54e39f2a1f2e463..f2b690199ced2615bd9a2a8bd90ab3fc19f7e936 100644 (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"
diff --git a/package/python-netaddr/Config.in b/package/python-netaddr/Config.in
new file mode 100644 (file)
index 0000000..534d136
--- /dev/null
@@ -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 (file)
index 0000000..5fcdda4
--- /dev/null
@@ -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 (file)
index 0000000..c68b24f
--- /dev/null
@@ -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))