python-ipaddress: new package
authorYegor Yefremov <yegorslists@googlemail.com>
Thu, 24 Dec 2015 21:30:37 +0000 (22:30 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 25 Dec 2015 18:48:22 +0000 (19:48 +0100)
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/Config.in
package/python-ipaddress/Config.in [new file with mode: 0644]
package/python-ipaddress/python-ipaddress.hash [new file with mode: 0644]
package/python-ipaddress/python-ipaddress.mk [new file with mode: 0644]

index d08ce9f0127fb277290af9453f895d746f22932b..dd447432bfc93f3086b1c7f01a3f6fb0ce64a9ad 100644 (file)
@@ -640,6 +640,7 @@ menu "External python modules"
        source "package/python-id3/Config.in"
        source "package/python-idna/Config.in"
        source "package/python-ipaddr/Config.in"
+       source "package/python-ipaddress/Config.in"
        source "package/python-ipy/Config.in"
        source "package/python-ipython/Config.in"
        source "package/python-itsdangerous/Config.in"
diff --git a/package/python-ipaddress/Config.in b/package/python-ipaddress/Config.in
new file mode 100644 (file)
index 0000000..b2b9f0b
--- /dev/null
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_PYTHON_IPADDRESS
+       bool "python-ipaddress"
+       depends on BR2_PACKAGE_PYTHON
+       help
+         Python 3.3's ipaddress for older Python versions.
+
+         https://github.com/phihag/ipaddress
diff --git a/package/python-ipaddress/python-ipaddress.hash b/package/python-ipaddress/python-ipaddress.hash
new file mode 100644 (file)
index 0000000..21bc373
--- /dev/null
@@ -0,0 +1,3 @@
+# md5 from https://pypi.python.org/pypi?:action=show_md5&digest=12915e923b738107e47827478d553ba1, sha256 locally computed
+md5     12915e923b738107e47827478d553ba1  ipaddress-1.0.15.tar.gz
+sha256  af6c85cfc9cdb12b861655e6b9f2f59618bf3088cbde858727b2c0a98e9f6636  ipaddress-1.0.15.tar.gz
diff --git a/package/python-ipaddress/python-ipaddress.mk b/package/python-ipaddress/python-ipaddress.mk
new file mode 100644 (file)
index 0000000..8019aa8
--- /dev/null
@@ -0,0 +1,13 @@
+################################################################################
+#
+# python-ipaddress
+#
+################################################################################
+
+PYTHON_IPADDRESS_VERSION = 1.0.15
+PYTHON_IPADDRESS_SOURCE = ipaddress-$(PYTHON_IPADDRESS_VERSION).tar.gz
+PYTHON_IPADDRESS_SITE = https://pypi.python.org/packages/source/i/ipaddress
+PYTHON_IPADDRESS_LICENSE = Python software foundation license
+PYTHON_IPADDRESS_SETUP_TYPE = setuptools
+
+$(eval $(python-package))