pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel py-test-watch: added version 4.2.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/32452f10d419
branches:  trunk
changeset: 401474:32452f10d419
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Sep 18 13:00:44 2019 +0000

description:
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.

diffstat:

 devel/Makefile                   |   3 ++-
 devel/py-test-watch/ALTERNATIVES |   2 ++
 devel/py-test-watch/DESCR        |   3 +++
 devel/py-test-watch/Makefile     |  26 ++++++++++++++++++++++++++
 devel/py-test-watch/PLIST        |  33 +++++++++++++++++++++++++++++++++
 devel/py-test-watch/distinfo     |   6 ++++++
 6 files changed, 72 insertions(+), 1 deletions(-)

diffs (107 lines):

diff -r 577a1df3e485 -r 32452f10d419 devel/Makefile
--- a/devel/Makefile    Wed Sep 18 12:17:53 2019 +0000
+++ b/devel/Makefile    Wed Sep 18 13:00:44 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2915 2019/09/18 11:27:51 adam Exp $
+# $NetBSD: Makefile,v 1.2916 2019/09/18 13:00:44 adam Exp $
 #
 
 COMMENT=       Development utilities
@@ -2422,6 +2422,7 @@
 SUBDIR+=       py-test-timeout
 SUBDIR+=       py-test-utils
 SUBDIR+=       py-test-virtualenv
+SUBDIR+=       py-test-watch
 SUBDIR+=       py-test-xdist
 SUBDIR+=       py-test-xprocess
 SUBDIR+=       py-testpath
diff -r 577a1df3e485 -r 32452f10d419 devel/py-test-watch/ALTERNATIVES
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-test-watch/ALTERNATIVES  Wed Sep 18 13:00:44 2019 +0000
@@ -0,0 +1,2 @@
+bin/ptw @PREFIX@/bin/ptw-@PYVERSSUFFIX@
+bin/pytest-watch @PREFIX@/bin/pytest-watch-@PYVERSSUFFIX@
diff -r 577a1df3e485 -r 32452f10d419 devel/py-test-watch/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-test-watch/DESCR Wed Sep 18 13:00:44 2019 +0000
@@ -0,0 +1,3 @@
+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.
diff -r 577a1df3e485 -r 32452f10d419 devel/py-test-watch/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-test-watch/Makefile      Wed Sep 18 13:00:44 2019 +0000
@@ -0,0 +1,26 @@
+# $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@localhost
+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"
diff -r 577a1df3e485 -r 32452f10d419 devel/py-test-watch/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-test-watch/PLIST Wed Sep 18 13:00:44 2019 +0000
@@ -0,0 +1,33 @@
+@comment $NetBSD: PLIST,v 1.1 2019/09/18 13:00:44 adam Exp $
+bin/ptw-${PYVERSSUFFIX}
+bin/pytest-watch-${PYVERSSUFFIX}
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/pytest_watch/__init__.py
+${PYSITELIB}/pytest_watch/__init__.pyc
+${PYSITELIB}/pytest_watch/__init__.pyo
+${PYSITELIB}/pytest_watch/__main__.py
+${PYSITELIB}/pytest_watch/__main__.pyc
+${PYSITELIB}/pytest_watch/__main__.pyo
+${PYSITELIB}/pytest_watch/command.py
+${PYSITELIB}/pytest_watch/command.pyc
+${PYSITELIB}/pytest_watch/command.pyo
+${PYSITELIB}/pytest_watch/config.py
+${PYSITELIB}/pytest_watch/config.pyc
+${PYSITELIB}/pytest_watch/config.pyo
+${PYSITELIB}/pytest_watch/constants.py
+${PYSITELIB}/pytest_watch/constants.pyc
+${PYSITELIB}/pytest_watch/constants.pyo
+${PYSITELIB}/pytest_watch/helpers.py
+${PYSITELIB}/pytest_watch/helpers.pyc
+${PYSITELIB}/pytest_watch/helpers.pyo
+${PYSITELIB}/pytest_watch/util.py
+${PYSITELIB}/pytest_watch/util.pyc
+${PYSITELIB}/pytest_watch/util.pyo
+${PYSITELIB}/pytest_watch/watcher.py
+${PYSITELIB}/pytest_watch/watcher.pyc
+${PYSITELIB}/pytest_watch/watcher.pyo
diff -r 577a1df3e485 -r 32452f10d419 devel/py-test-watch/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-test-watch/distinfo      Wed Sep 18 13:00:44 2019 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2019/09/18 13:00:44 adam Exp $
+
+SHA1 (pytest-watch-4.2.0.tar.gz) = e732be8e61781e41f75706976dc3f1ccb42ac16d
+RMD160 (pytest-watch-4.2.0.tar.gz) = e136982e94182beb399153a55b9d5396e7c136a5
+SHA512 (pytest-watch-4.2.0.tar.gz) = b0c4b43ae9a5f352601cd4de175712d5ca2517da087af6376883c752dcc482c00282c7c3728546e5cdad4a692769437df7ccb915cc21033ecf791ebb1375580a
+Size (pytest-watch-4.2.0.tar.gz) = 16340 bytes



Home | Main Index | Thread Index | Old Index