aboutsummaryrefslogtreecommitdiff
path: root/package/python-ipaddress
diff options
context:
space:
mode:
authorGravatar Yegor Yefremov <yegorslists@googlemail.com>2015-12-24 22:30:37 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-12-25 19:48:22 +0100
commit3068555c47c15afb62988d35e5e148dc691c6eb9 (patch)
treec90ec3c086195f3a0d31aecb702379cad9e8c85e /package/python-ipaddress
parenta2d166004d8e8bbf41375f4277ea4835168642f8 (diff)
downloadbuildroot-3068555c47c15afb62988d35e5e148dc691c6eb9.tar.gz
buildroot-3068555c47c15afb62988d35e5e148dc691c6eb9.tar.bz2
python-ipaddress: new package
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/python-ipaddress')
-rw-r--r--package/python-ipaddress/Config.in7
-rw-r--r--package/python-ipaddress/python-ipaddress.hash3
-rw-r--r--package/python-ipaddress/python-ipaddress.mk13
3 files changed, 23 insertions, 0 deletions
diff --git a/package/python-ipaddress/Config.in b/package/python-ipaddress/Config.in
new file mode 100644
index 0000000000..b2b9f0b1c3
--- /dev/null
+++ b/package/python-ipaddress/Config.in
@@ -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
index 0000000000..21bc37318a
--- /dev/null
+++ b/package/python-ipaddress/python-ipaddress.hash
@@ -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
index 0000000000..8019aa8a88
--- /dev/null
+++ b/package/python-ipaddress/python-ipaddress.mk
@@ -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))