aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-09-18 05:50:54 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-09-18 06:12:59 +0000
commit8d0a9ddf520cac2f56afa08537d35d5bb4d91a23 (patch)
tree380bb4b603e28975cbd6cfb3b7bc992aaa838f4c
parent0b36a7a5161bccebacb64ebb711363ce5dc4baed (diff)
devel/py-pytest-instafail: Add py-pytest-instafail 0.5.0
pytest-instafail is a plugin for pytest that shows failures and errors instantly instead of waiting until the end of test session.
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-pytest-instafail/Makefile23
-rw-r--r--devel/py-pytest-instafail/distinfo3
-rw-r--r--devel/py-pytest-instafail/pkg-descr2
4 files changed, 29 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index f0422fcc135b..44e385f82eef 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5598,6 +5598,7 @@
SUBDIR += py-pytest-httpbin
SUBDIR += py-pytest-httpserver
SUBDIR += py-pytest-httpx
+ SUBDIR += py-pytest-instafail
SUBDIR += py-pytest-isort
SUBDIR += py-pytest-jupyter
SUBDIR += py-pytest-lazy-fixture
diff --git a/devel/py-pytest-instafail/Makefile b/devel/py-pytest-instafail/Makefile
new file mode 100644
index 000000000000..a64d9f3bbef0
--- /dev/null
+++ b/devel/py-pytest-instafail/Makefile
@@ -0,0 +1,23 @@
+PORTNAME= pytest-instafail
+PORTVERSION= 0.5.0
+CATEGORIES= devel python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Pytest plugin to show failures instantly
+WWW= https://github.com/pytest-dev/pytest-instafail
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=5,1:devel/py-pytest@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist concurrent pep517
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-pytest-instafail/distinfo b/devel/py-pytest-instafail/distinfo
new file mode 100644
index 000000000000..b259b4902c8b
--- /dev/null
+++ b/devel/py-pytest-instafail/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1726487276
+SHA256 (pytest-instafail-0.5.0.tar.gz) = 33a606f7e0c8e646dc3bfee0d5e3a4b7b78ef7c36168cfa1f3d93af7ca706c9e
+SIZE (pytest-instafail-0.5.0.tar.gz) = 5849
diff --git a/devel/py-pytest-instafail/pkg-descr b/devel/py-pytest-instafail/pkg-descr
new file mode 100644
index 000000000000..378518cfd3d6
--- /dev/null
+++ b/devel/py-pytest-instafail/pkg-descr
@@ -0,0 +1,2 @@
+pytest-instafail is a plugin for pytest that shows failures and errors instantly
+instead of waiting until the end of test session.