git: 87e2239d4603 - main - devel/py-pytest-watcher: Add py-pytest-watcher 0.2.3
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 03 Oct 2022 02:24:31 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=87e2239d460308fd406de4500c1c7b4fab68521f
commit 87e2239d460308fd406de4500c1c7b4fab68521f
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-10-03 02:10:18 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-10-03 02:10:18 +0000
devel/py-pytest-watcher: Add py-pytest-watcher 0.2.3
pytest-watcher is a tool to automatically rerun pytest when your code changes.
It looks for the following events:
- New *.py file created
- Existing *.py file modified
- Existing *.py file deleted
---
devel/Makefile | 1 +
devel/py-pytest-watcher/Makefile | 21 +++++++++++++++++++++
devel/py-pytest-watcher/distinfo | 3 +++
devel/py-pytest-watcher/pkg-descr | 5 +++++
4 files changed, 30 insertions(+)
diff --git a/devel/Makefile b/devel/Makefile
index 60fda21a5646..653fd6409401 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5162,6 +5162,7 @@
SUBDIR += py-pytest-twisted
SUBDIR += py-pytest-verbose-parametrize
SUBDIR += py-pytest-virtualenv
+ SUBDIR += py-pytest-watcher
SUBDIR += py-pytest-xdist
SUBDIR += py-pytest-xprocess
SUBDIR += py-pytest4
diff --git a/devel/py-pytest-watcher/Makefile b/devel/py-pytest-watcher/Makefile
new file mode 100644
index 000000000000..dde60b4ab1c4
--- /dev/null
+++ b/devel/py-pytest-watcher/Makefile
@@ -0,0 +1,21 @@
+PORTNAME= pytest-watcher
+PORTVERSION= 0.2.3
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Continiously run pytest on changes in *.py files
+WWW= https://github.com/olzhasar/pytest-watcher
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}watchdog>=2.0.0:devel/py-watchdog@${PY_FLAVOR}
+
+USES= python:3.6+
+USE_PYTHON= autoplist concurrent distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-pytest-watcher/distinfo b/devel/py-pytest-watcher/distinfo
new file mode 100644
index 000000000000..803be6a63947
--- /dev/null
+++ b/devel/py-pytest-watcher/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1663672736
+SHA256 (pytest-watcher-0.2.3.tar.gz) = 1937dd97e72caafd371d8cea7b3d70c88ff4fe35e6cdecb29c41bbdcbf1dcc2b
+SIZE (pytest-watcher-0.2.3.tar.gz) = 3999
diff --git a/devel/py-pytest-watcher/pkg-descr b/devel/py-pytest-watcher/pkg-descr
new file mode 100644
index 000000000000..5801782028d2
--- /dev/null
+++ b/devel/py-pytest-watcher/pkg-descr
@@ -0,0 +1,5 @@
+pytest-watcher is a tool to automatically rerun pytest when your code changes.
+It looks for the following events:
+- New *.py file created
+- Existing *.py file modified
+- Existing *.py file deleted