* Switch to the PEP517 build framework. * Add TEST_ENV to ensure that tests are run against the new copy of the module in the staging directory and remove superfluous TEST_DEPENDS as it's already set via "USE_PYTHON=pytest" while I'm here. Changelogs since 1.1.0: https://github.com/google/textfsm/releases/tag/v2.1.0 https://github.com/google/textfsm/releases/tag/v2.0.0
25 lines
555 B
Makefile
25 lines
555 B
Makefile
PORTNAME= textfsm
|
|
DISTVERSION= 2.1.0
|
|
CATEGORIES= textproc python
|
|
MASTER_SITES= PYPI
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= kai@FreeBSD.org
|
|
COMMENT= Parses semi-structured text into Python tables
|
|
WWW= https://github.com/google/textfsm
|
|
|
|
LICENSE= APACHE20
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
BUILD_DEPENDS= ${PY_SETUPTOOLS} \
|
|
${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
|
|
|
|
USES= python
|
|
USE_PYTHON= autoplist concurrent pep517 pytest
|
|
|
|
TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
|
|
|
|
NO_ARCH= yes
|
|
|
|
.include <bsd.port.mk>
|