freebsd-ports/devel/py-scripttest/Makefile
2021-04-06 16:31:07 +02:00

26 lines
551 B
Makefile

# Created by: Nicola Vitale <nivit@FreeBSD.org>
PORTNAME= scripttest
PORTVERSION= 1.3.0
CATEGORIES= devel python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= nivit@FreeBSD.org
COMMENT= Helper to test command-line scripts
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/docs/license.rst
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
USES= python:3.6+
USE_PYTHON= autoplist distutils
NO_ARCH= yes
USE_GITHUB= yes
GH_ACCOUNT= pypa
do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
.include <bsd.port.mk>