python-ipaddr: new package
The functionality is included in python3 as the ipaddress module, so make it python2 only. Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
8b3b60c96b
commit
6ce7cf7f75
|
@ -497,6 +497,7 @@ menu "external python modules"
|
|||
source "package/python-gobject/Config.in"
|
||||
source "package/python-httplib2/Config.in"
|
||||
source "package/python-id3/Config.in"
|
||||
source "package/python-ipaddr/Config.in"
|
||||
source "package/python-ipy/Config.in"
|
||||
source "package/python-ipython/Config.in"
|
||||
source "package/python-itsdangerous/Config.in"
|
||||
|
|
9
package/python-ipaddr/Config.in
Normal file
9
package/python-ipaddr/Config.in
Normal file
|
@ -0,0 +1,9 @@
|
|||
config BR2_PACKAGE_PYTHON_IPADDR
|
||||
depends on BR2_PACKAGE_PYTHON # included since python3.3
|
||||
bool "python-ipaddr"
|
||||
help
|
||||
An IPv4/IPv6 manipulation library in Python. This library is
|
||||
used to create/poke/manipulate IPv4 and IPv6 addresses and
|
||||
prefixes.
|
||||
|
||||
https://code.google.com/p/ipaddr-py/
|
3
package/python-ipaddr/python-ipaddr.hash
Normal file
3
package/python-ipaddr/python-ipaddr.hash
Normal file
|
@ -0,0 +1,3 @@
|
|||
# md5 from https://pypi.python.org/pypi?:action=show_md5&digest=f2c7852f95862715f92e7d089dc3f2cf, sha256 locally computed
|
||||
md5 f2c7852f95862715f92e7d089dc3f2cf ipaddr-2.1.11.tar.gz
|
||||
sha256 1b555b8a8800134fdafe32b7d0cb52f5bdbfdd093707c3dd484c5ea59f1d98b7 ipaddr-2.1.11.tar.gz
|
14
package/python-ipaddr/python-ipaddr.mk
Normal file
14
package/python-ipaddr/python-ipaddr.mk
Normal file
|
@ -0,0 +1,14 @@
|
|||
################################################################################
|
||||
#
|
||||
# python-ipaddr
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PYTHON_IPADDR_VERSION = 2.1.11
|
||||
PYTHON_IPADDR_SOURCE = ipaddr-$(PYTHON_IPADDR_VERSION).tar.gz
|
||||
PYTHON_IPADDR_SITE = http://pypi.python.org/packages/source/i/ipaddr
|
||||
PYTHON_IPADDR_SETUP_TYPE = distutils
|
||||
PYTHON_IPADDR_LICENSE = Apache-2.0
|
||||
PYTHON_IPADDR_LICENSE_FILES = COPYING
|
||||
|
||||
$(eval $(python-package))
|
Loading…
Reference in a new issue