svn commit: r448633 - head/devel/py-pytest-cache

Antoine Brodin antoine at FreeBSD.org
Wed Aug 23 17:45:55 UTC 2017


Author: antoine
Date: Wed Aug 23 17:45:54 2017
New Revision: 448633
URL: https://svnweb.freebsd.org/changeset/ports/448633

Log:
  - Remove nonsense TESTS option
  - Mark architecture neutral
  - Use the framework for regression tests
  
  With hat:	portmgr

Modified:
  head/devel/py-pytest-cache/Makefile

Modified: head/devel/py-pytest-cache/Makefile
==============================================================================
--- head/devel/py-pytest-cache/Makefile	Wed Aug 23 17:44:44 2017	(r448632)
+++ head/devel/py-pytest-cache/Makefile	Wed Aug 23 17:45:54 2017	(r448633)
@@ -17,15 +17,10 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>=2.2:devel/
 		${PYTHON_PKGNAMEPREFIX}execnet>=1.2:sysutils/py-execnet
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest
 
-OPTIONS_DEFINE=	TESTS
-
-TESTS_DESC=		Install test suite requirements
-TESTS_BUILD_DEPENDS=	${TEST_DEPENDS}
-
+NO_ARCH=	yes
 USES=		python
 USE_PYTHON=	autoplist distutils
-
-regression-test: build
-	@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
+DO_MAKE_TEST=	${SETENV} ${TEST_ENV} ${PYTHON_CMD} ${PYDISTUTILS_SETUP}
+TEST_TARGET=	test
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list