svn commit: r556360 - head/devel/py-pip-licenses

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Thu Nov 26 21:17:38 UTC 2020


Author: sunpoet
Date: Thu Nov 26 21:17:33 2020
New Revision: 556360
URL: https://svnweb.freebsd.org/changeset/ports/556360

Log:
  Convert to test framework
  
  - Clean up TEST_DEPENDS

Modified:
  head/devel/py-pip-licenses/Makefile

Modified: head/devel/py-pip-licenses/Makefile
==============================================================================
--- head/devel/py-pip-licenses/Makefile	Thu Nov 26 21:17:29 2020	(r556359)
+++ head/devel/py-pip-licenses/Makefile	Thu Nov 26 21:17:33 2020	(r556360)
@@ -18,14 +18,14 @@ BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pip>=0:devel/py-
 		${PYTHON_PKGNAMEPREFIX}ptable>=0:devel/py-ptable@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pip>=0:devel/py-pip@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}ptable>=0:devel/py-ptable@${PY_FLAVOR}
-TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}docutils>=0:textproc/py-docutils@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pytest-cov>=0:devel/py-pytest-cov@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pytest-pycodestyle>=0:devel/py-pytest-pycodestyle@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pytest-runner>=0:devel/py-pytest-runner@${PY_FLAVOR}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}docutils>=0:textproc/py-docutils@${PY_FLAVOR}
 
 USES=		python:3.6+
 USE_PYTHON=	autoplist concurrent distutils
 
 NO_ARCH=	yes
+
+do-test:
+	cd ${WRKSRC} && ${PYTHON_CMD} test_piplicenses.py
 
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list