svn commit: r484960 - head/devel/py-testpath
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Wed Nov 14 21:44:42 UTC 2018
Author: sunpoet
Date: Wed Nov 14 21:44:36 2018
New Revision: 484960
URL: https://svnweb.freebsd.org/changeset/ports/484960
Log:
Simplify Makefile: use PY_PATHLIB
Modified:
head/devel/py-testpath/Makefile
Modified: head/devel/py-testpath/Makefile
==============================================================================
--- head/devel/py-testpath/Makefile Wed Nov 14 21:44:28 2018 (r484959)
+++ head/devel/py-testpath/Makefile Wed Nov 14 21:44:36 2018 (r484960)
@@ -12,20 +12,15 @@ COMMENT= Test utilities for Python code working with f
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
-TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR}
+TEST_DEPENDS= ${PY_PATHLIB} \
+ ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist distutils
NO_ARCH= yes
-.include <bsd.port.pre.mk>
-
-.if ${PYTHON_REL} < 3000
-TEST_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pathlib>=0:devel/py-pathlib@${PY_FLAVOR}
-.endif
-
do-test:
@(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYTHON_VER})
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
More information about the svn-ports-all
mailing list