Any missed ports, feel free to bump. Any ports that need setuptools at runtime can have the devel/py-setuptools manually added back to RUN_DEPENDS, but understand that this practice is deprecated; see CHANGES for details.
24 lines
572 B
Makefile
24 lines
572 B
Makefile
PORTNAME= ipaddr
|
|
PORTVERSION= 2.2.0
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= PYPI
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= mopsfelder@gmail.com
|
|
COMMENT= Google open source IPv4/IPv6 manipulation library in Python
|
|
WWW= https://github.com/google/ipaddr-py
|
|
|
|
LICENSE= APACHE20
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
NO_ARCH= yes
|
|
USES= python
|
|
USE_PYTHON= distutils autoplist
|
|
TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
|
|
|
|
do-test:
|
|
@(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} ipaddr_test.py)
|
|
|
|
.include <bsd.port.mk>
|