Date: Wed, 14 Nov 2018 21:44:36 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r484960 - head/devel/py-testpath Message-ID: <201811142144.wAELiaiP070087@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201811142144.wAELiaiP070087>