1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/net/py-netifaces/Makefile
2021-06-04 06:14:05 -05:00

24 lines
506 B
Makefile

# Created by: Muhammad Moinur Rahman <bofh@FreeBSD.org>
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
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>