summaryrefslogtreecommitdiff
path: root/textproc/py-textfsm/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/py-textfsm/Makefile')
-rw-r--r--textproc/py-textfsm/Makefile13
1 files changed, 6 insertions, 7 deletions
diff --git a/textproc/py-textfsm/Makefile b/textproc/py-textfsm/Makefile
index 5706a623f89c..afd91ce4791b 100644
--- a/textproc/py-textfsm/Makefile
+++ b/textproc/py-textfsm/Makefile
@@ -1,6 +1,5 @@
PORTNAME= textfsm
-DISTVERSION= 1.1.3
-PORTREVISION= 2
+DISTVERSION= 2.1.0
CATEGORIES= textproc python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -12,13 +11,13 @@ WWW= https://github.com/google/textfsm
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/COPYING
-BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}future>0:devel/py-future@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}
-TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
+BUILD_DEPENDS= ${PY_SETUPTOOLS} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
USES= python
-USE_PYTHON= autoplist concurrent distutils pytest
+USE_PYTHON= autoplist concurrent pep517 pytest
+
+TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
NO_ARCH= yes