git: c91d99603b00 - main - devel/py-spyder-unittest: New port: Plugin to run tests from within the Spyder IDE

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Thu, 12 Jan 2023 02:02:39 UTC
The branch main has been updated by yuri:

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

commit c91d99603b007c154b7ac4663070d023be27d14f
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-01-12 02:02:04 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-01-12 02:02:04 +0000

    devel/py-spyder-unittest: New port: Plugin to run tests from within the Spyder IDE
---
 devel/Makefile                     |  1 +
 devel/py-spyder-unittest/Makefile  | 23 +++++++++++++++++++++++
 devel/py-spyder-unittest/distinfo  |  3 +++
 devel/py-spyder-unittest/pkg-descr |  6 ++++++
 4 files changed, 33 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 9c7bc9091d74..23fa72a00253 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5397,6 +5397,7 @@
     SUBDIR += py-speaklater
     SUBDIR += py-speg
     SUBDIR += py-spyder-kernels
+    SUBDIR += py-spyder-unittest
     SUBDIR += py-squint
     SUBDIR += py-sre-yield
     SUBDIR += py-srsly
diff --git a/devel/py-spyder-unittest/Makefile b/devel/py-spyder-unittest/Makefile
new file mode 100644
index 000000000000..674a3965b336
--- /dev/null
+++ b/devel/py-spyder-unittest/Makefile
@@ -0,0 +1,23 @@
+PORTNAME=	spyder-unittest
+DISTVERSION=	0.5.1
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	${PORTNAME:S/-/_/}-${DISTVERSION}
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Plugin to run tests from within the Spyder IDE
+WWW=		https://github.com/spyder-ide/spyder-unittest
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}lxml>=0:devel/py-lxml@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pyzmq>=0:net/py-pyzmq@${PY_FLAVOR}
+
+USES=		python:3.5+
+USE_PYTHON=	distutils autoplist
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-spyder-unittest/distinfo b/devel/py-spyder-unittest/distinfo
new file mode 100644
index 000000000000..bc739cc84902
--- /dev/null
+++ b/devel/py-spyder-unittest/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1673485455
+SHA256 (spyder_unittest-0.5.1.tar.gz) = 91822efe7b665b92ad999dd34bcb4eb4b1e4eb5785ef792a8a11076a52347e2d
+SIZE (spyder_unittest-0.5.1.tar.gz) = 50927
diff --git a/devel/py-spyder-unittest/pkg-descr b/devel/py-spyder-unittest/pkg-descr
new file mode 100644
index 000000000000..18f4cd42d67f
--- /dev/null
+++ b/devel/py-spyder-unittest/pkg-descr
@@ -0,0 +1,6 @@
+Spyder-unittest is a plugin that integrates popular unit test frameworks with
+Spyder, allowing you to run test suites and view the results in the IDE.
+
+The plugin supports the unittest module in the Python standard library as well
+as the pytest and nose testing frameworks. Support for pytest is most complete
+at the moment.