Import py-ifaddr-0.1.6

"ifaddr" is a small Python library that allows you to find all the IP addresses
of the computer.

ok robert@
This commit is contained in:
ajacoutot 2019-03-14 06:31:34 +00:00
parent 131933336d
commit d1a9e5eac4
4 changed files with 53 additions and 0 deletions

31
net/py-ifaddr/Makefile Normal file
View File

@ -0,0 +1,31 @@
# $OpenBSD: Makefile,v 1.1.1.1 2019/03/14 06:31:34 ajacoutot Exp $
COMMENT= enumerate IP addresses on the local network adapters
MODPY_EGG_VERSION= 0.1.6
DISTNAME= ifaddr-${MODPY_EGG_VERSION}
PKGNAME= py-${DISTNAME}
CATEGORIES= net
# MIT
PERMIT_PACKAGE_CDROM= Yes
MODULES= lang/python
MODPY_PI= Yes
MODPY_SETUPTOOLS= Yes
TEST_DEPENDS= devel/py-nose${MODPY_FLAVOR}
FLAVORS = python3
FLAVOR ?=
.if ! ${FLAVOR:Mpython3}
RUN_DEPENDS += net/py-ipaddress
.endif
do-test:
cd ${WRKSRC} && nosetests${MODPY_BIN_SUFFIX} ifaddr/test_ifaddr.py
.include <bsd.port.mk>

2
net/py-ifaddr/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (ifaddr-0.1.6.tar.gz) = wZxkiCp61Ro5RFHavLvtcumLViXsHnl4mSTV6j4+y5M=
SIZE (ifaddr-0.1.6.tar.gz) = 6526

2
net/py-ifaddr/pkg/DESCR Normal file
View File

@ -0,0 +1,2 @@
"ifaddr" is a small Python library that allows you to find all the IP addresses
of the computer.

18
net/py-ifaddr/pkg/PLIST Normal file
View File

@ -0,0 +1,18 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2019/03/14 06:31:34 ajacoutot Exp $
lib/python${MODPY_VERSION}/site-packages/ifaddr/
lib/python${MODPY_VERSION}/site-packages/ifaddr-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/
lib/python${MODPY_VERSION}/site-packages/ifaddr-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO
lib/python${MODPY_VERSION}/site-packages/ifaddr-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/SOURCES.txt
lib/python${MODPY_VERSION}/site-packages/ifaddr-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/dependency_links.txt
lib/python${MODPY_VERSION}/site-packages/ifaddr-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/top_level.txt
lib/python${MODPY_VERSION}/site-packages/ifaddr/__init__.py
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/ifaddr/${MODPY_PYCACHE}
lib/python${MODPY_VERSION}/site-packages/ifaddr/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/ifaddr/${MODPY_PYCACHE}_posix.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/ifaddr/${MODPY_PYCACHE}_shared.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/ifaddr/${MODPY_PYCACHE}_win32.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/ifaddr/${MODPY_PYCACHE}test_ifaddr.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/ifaddr/_posix.py
lib/python${MODPY_VERSION}/site-packages/ifaddr/_shared.py
lib/python${MODPY_VERSION}/site-packages/ifaddr/_win32.py
lib/python${MODPY_VERSION}/site-packages/ifaddr/test_ifaddr.py