pkgsrc/devel/py-test-watch/Makefile
adam 141b995d9d py-test-watch: added version 4.2.0
pytest-watch a zero-config CLI tool that runs pytest, and re-runs it when
a file in your project changes. It beeps on failures and can run arbitrary
commands on each passing and failing test run.
2019-09-18 13:00:44 +00:00

26 lines
828 B
Makefile

# $NetBSD: Makefile,v 1.1 2019/09/18 13:00:44 adam Exp $
DISTNAME= pytest-watch-4.2.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytest-watch/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/joeyespo/pytest-watch
COMMENT= Continuous pytest runner
LICENSE= mit
DEPENDS+= ${PYPKGPREFIX}-colorama>=0.3.3:../../comms/py-colorama
DEPENDS+= ${PYPKGPREFIX}-docopt>=0.4.0:../../devel/py-docopt
DEPENDS+= ${PYPKGPREFIX}-test>=2.6.4:../../devel/py-test
DEPENDS+= ${PYPKGPREFIX}-watchdog>=0.6.0:../../sysutils/py-watchdog
USE_LANGUAGES= # none
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} ptw ptw-${PYVERSSUFFIX} && \
${MV} pytest-watch pytest-watch-${PYVERSSUFFIX} || ${TRUE}
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"