git: 3b02fd4d50f9 - main - devel/py-unittest-parallel: Add py-unittest-parallel 1.6.2

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 29 Oct 2024 14:40:50 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3b02fd4d50f90ec9fa1fe122fe0881d11fcef8fe

commit 3b02fd4d50f90ec9fa1fe122fe0881d11fcef8fe
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-10-29 14:09:13 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-10-29 14:38:27 +0000

    devel/py-unittest-parallel: Add py-unittest-parallel 1.6.2
    
    unittest-parallel is a parallel unit test runner for Python with coverage
    support.
---
 devel/Makefile                       |  1 +
 devel/py-unittest-parallel/Makefile  | 24 ++++++++++++++++++++++++
 devel/py-unittest-parallel/distinfo  |  3 +++
 devel/py-unittest-parallel/pkg-descr |  2 ++
 4 files changed, 30 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 95be3f699713..636fd783c262 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -6053,6 +6053,7 @@
     SUBDIR += py-unidep
     SUBDIR += py-unidiff
     SUBDIR += py-unipath
+    SUBDIR += py-unittest-parallel
     SUBDIR += py-unittest2
     SUBDIR += py-unittest2pytest
     SUBDIR += py-unpaddedbase64
diff --git a/devel/py-unittest-parallel/Makefile b/devel/py-unittest-parallel/Makefile
new file mode 100644
index 000000000000..cd58fa179198
--- /dev/null
+++ b/devel/py-unittest-parallel/Makefile
@@ -0,0 +1,24 @@
+PORTNAME=	unittest-parallel
+PORTVERSION=	1.6.2
+CATEGORIES=	devel python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	unittest_parallel-${PORTVERSION}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Parallel unit test runner with coverage support
+WWW=		https://github.com/craigahobbs/unittest-parallel
+
+LICENSE=	MIT
+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}coverage>=5.1:devel/py-coverage@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist concurrent pep517
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-unittest-parallel/distinfo b/devel/py-unittest-parallel/distinfo
new file mode 100644
index 000000000000..1b19fbffc529
--- /dev/null
+++ b/devel/py-unittest-parallel/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1729994282
+SHA256 (unittest_parallel-1.6.2.tar.gz) = 60a270d7209691fda520f169cf4112300dc2e95db47ea62a0d57a2b43e86e557
+SIZE (unittest_parallel-1.6.2.tar.gz) = 8948
diff --git a/devel/py-unittest-parallel/pkg-descr b/devel/py-unittest-parallel/pkg-descr
new file mode 100644
index 000000000000..2c392d7e2d9f
--- /dev/null
+++ b/devel/py-unittest-parallel/pkg-descr
@@ -0,0 +1,2 @@
+unittest-parallel is a parallel unit test runner for Python with coverage
+support.