pkgsrc/devel/py-testrepository/Makefile
adam 0412cec2ce py-testrepository: added version 0.0.20
This project provides a database of test results which can be used as part of
developer workflow to ensure/check things like:
* No commits without having had a test failure, test fixed cycle.
* No commits without new tests being added.
* What tests have failed since the last commit (to run just a subset).
* What tests are currently failing and need work.
Test results are inserted using subunit (and thus anything that can output
subunit or be converted into a subunit stream can be accepted).
2018-05-17 08:04:47 +00:00

29 lines
1,010 B
Makefile

# $NetBSD: Makefile,v 1.1 2018/05/17 08:04:47 adam Exp $
DISTNAME= testrepository-0.0.20
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=t/testrepository/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://launchpad.net/testrepository
COMMENT= Repository of test results
LICENSE= apache-2.0 OR modified-bsd
DEPENDS+= ${PYPKGPREFIX}-fixtures-[0-9]*:../../devel/py-fixtures
DEPENDS+= ${PYPKGPREFIX}-subunit>=0.0.18:../../net/py-subunit
DEPENDS+= ${PYPKGPREFIX}-testtools>=0.9.30:../../devel/py-testtools
TEST_DEPENDS+= ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz
TEST_DEPENDS+= ${PYPKGPREFIX}-testresources-[0-9]*:../../devel/py-testresources
TEST_DEPENDS+= ${PYPKGPREFIX}-testscenarios-[0-9]*:../../devel/py-testscenarios
USE_LANGUAGES= # none
post-install:
cd ${DESTDIR}${PREFIX}/bin && ${MV} testr testr-${PYVERSSUFFIX} || ${TRUE}
do-test:
cd ${WRKSRC} && py.test-${PYVERSSUFFIX}
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"