forked from Lainports/freebsd-ports
The '-v' flag was intentionally left out to reduce the cluttering of the screen as some tests have rather long names. But after a second look it makes more sense to enable the verbosity of the tests because they'll be more meaningful in case of errors. Reported by: koobs
25 lines
507 B
Makefile
25 lines
507 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= packageurl-python
|
|
DISTVERSION= 0.8.7
|
|
CATEGORIES= textproc python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= kai@FreeBSD.org
|
|
COMMENT= Parser and builder for package URLs (aka purl)
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/mit.LICENSE
|
|
|
|
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
|
|
|
|
USES= python
|
|
USE_PYTHON= distutils autoplist
|
|
|
|
NO_ARCH= yes
|
|
|
|
do-test:
|
|
@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs
|
|
|
|
.include <bsd.port.mk>
|