package/python-ifaddr: new package

Enumerates all IP addresses on all network adapters of the system.

https://github.com/pydron/ifaddr

Signed-off-by: Grzegorz Blach <grzegorz@blach.pl>
[Thomas: add license file.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Grzegorz Blach 2019-07-05 11:57:11 +00:00 committed by Thomas Petazzoni
parent 91251cedde
commit 2ade7bfcdd
5 changed files with 28 additions and 0 deletions

View File

@ -970,6 +970,7 @@ F: package/f2fs-tools/
F: package/pigpio/
F: package/python-aioblescan/
F: package/python-falcon/
F: package/python-ifaddr/
F: package/python-mimeparse/
F: package/python-pigpio/
F: package/python-pyjwt/

View File

@ -911,6 +911,7 @@ menu "External python modules"
source "package/python-ibmiotf/Config.in"
source "package/python-id3/Config.in"
source "package/python-idna/Config.in"
source "package/python-ifaddr/Config.in"
source "package/python-incremental/Config.in"
source "package/python-inflection/Config.in"
source "package/python-influxdb/Config.in"

View File

@ -0,0 +1,7 @@
config BR2_PACKAGE_PYTHON_IFADDR
bool "python-ifaddr"
help
Enumerates all IP addresses on all network adapters of the
system.
https://github.com/pydron/ifaddr

View File

@ -0,0 +1,5 @@
# md5, sha256 from https://pypi.org/pypi/ifaddr/json
md5 cc1b7f0a587ef38491f07e50bf91d82e ifaddr-0.1.6.tar.gz
sha256 c19c64882a7ad51a394451dabcbbed72e98b5625ec1e79789924d5ea3e3ecb93 ifaddr-0.1.6.tar.gz
# Locally calculated
sha256 926c6fdac9ede91ae54c67066597466b04f9b4f956a24f9c77931e7765607b2c setup.py

View File

@ -0,0 +1,14 @@
################################################################################
#
# python-ifaddr
#
################################################################################
PYTHON_IFADDR_VERSION = 0.1.6
PYTHON_IFADDR_SOURCE = ifaddr-$(PYTHON_IFADDR_VERSION).tar.gz
PYTHON_IFADDR_SITE = https://files.pythonhosted.org/packages/9f/54/d92bda685093ebc70e2057abfa83ef1b3fb0ae2b6357262a3e19dfe96bb8
PYTHON_IFADDR_SETUP_TYPE = setuptools
PYTHON_IFADDR_LICENSE = MIT
PYTHON_IFADDR_LICENSE_FILES = setup.py
$(eval $(python-package))