freebsd-ports/devel/py-scripttest/Makefile
Kubilay Kocak ed0e1afb67 devel/py-scripttest: Rename, Update to 1.3.0
- Update to 1.3.0
- Chase upstream rename from ScriptTest to "scripttest"
- USE_GITHUB to get tests until sdist includes it [1]
- Add python to CATEGORIES
- Add TEST_DEPENDS and regression-test target
- Sort USE_PYTHON
- Patch tests to include skipIf reasons. Send upstream [2]

While MOVE'ing:

- Update MOVED
- Update devel/Makefile
- Fix date going backwards bug in MOVED [3]

[1] https://github.com/pypa/scripttest/issues/11
[2] https://github.com/pypa/scripttest/pull/12
[3] 7597: date going backwards from 2015-05-24 to 2015-05-23

Approved by:	nivit (maintainer, via email)
2015-06-02 15:25:43 +00:00

25 lines
517 B
Makefile

# Created by: Nicola Vitale <nivit@FreeBSD.org>
# $FreeBSD$
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
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:${PORTSDIR}/devel/py-pytest
USES= python
USE_PYTHON= autoplist distutils
USE_GITHUB= yes
GH_ACCOUNT= pypa
regression-test: build
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
.include <bsd.port.mk>