git: 8d0a9ddf520c - main - devel/py-pytest-instafail: Add py-pytest-instafail 0.5.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 18 Sep 2024 06:18:19 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8d0a9ddf520cac2f56afa08537d35d5bb4d91a23

commit 8d0a9ddf520cac2f56afa08537d35d5bb4d91a23
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-09-18 05:50:54 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-09-18 06:12:59 +0000

    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.
---
 devel/Makefile                      |  1 +
 devel/py-pytest-instafail/Makefile  | 23 +++++++++++++++++++++++
 devel/py-pytest-instafail/distinfo  |  3 +++
 devel/py-pytest-instafail/pkg-descr |  2 ++
 4 files changed, 29 insertions(+)

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.