forked from Lainports/opnsense-ports
22 lines
491 B
Makefile
22 lines
491 B
Makefile
PORTNAME= netifaces
|
|
PORTVERSION= 0.11.0
|
|
CATEGORIES= net python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= bofh@FreeBSD.org
|
|
COMMENT= Getting network addresses from Python 3
|
|
WWW= https://pypi.org/project/netifaces/
|
|
|
|
LICENSE= MIT
|
|
|
|
USES= python:3.6+
|
|
USE_PYTHON= autoplist distutils
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/netifaces*.so
|
|
|
|
do-test:
|
|
@cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} test.py
|
|
|
|
.include <bsd.port.mk>
|