aa7a6c429e
With hat: portmgr
24 lines
592 B
Makefile
24 lines
592 B
Makefile
# Created by: Murilo Opsfelder <mopsfelder@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= ipaddr
|
|
PORTVERSION= 2.2.0
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= mopsfelder@gmail.com
|
|
COMMENT= Google open source IPv4/IPv6 manipulation library in Python
|
|
|
|
LICENSE= APACHE20
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
NO_ARCH= yes
|
|
USES= python:3.6+
|
|
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>
|