freebsd-ports/devel/py-ipaddr/Makefile
Antoine Brodin aa7a6c429e Drop python 2.7 support from a few ports
With hat:	portmgr
2020-12-28 23:02:12 +00:00

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>