git: c39f32aba201 - main - devel/py-pytest-mypy-plugins: Add py-pytest-mypy-plugins 1.10.1

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 30 Jan 2023 13:04:42 UTC
The branch main has been updated by sunpoet:

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

commit c39f32aba201500ede25fd5036911302c33ae3e9
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-01-30 12:21:02 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-01-30 12:58:47 +0000

    devel/py-pytest-mypy-plugins: Add py-pytest-mypy-plugins 1.10.1
    
    pytest plugin for testing mypy types, stubs, and plugins.
---
 devel/Makefile                         |  1 +
 devel/py-pytest-mypy-plugins/Makefile  | 26 ++++++++++++++++++++++++++
 devel/py-pytest-mypy-plugins/distinfo  |  3 +++
 devel/py-pytest-mypy-plugins/pkg-descr |  1 +
 4 files changed, 31 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 07ceb17c34f0..0fa9f55c4b88 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5209,6 +5209,7 @@
     SUBDIR += py-pytest-mpl
     SUBDIR += py-pytest-mutagen
     SUBDIR += py-pytest-mypy
+    SUBDIR += py-pytest-mypy-plugins
     SUBDIR += py-pytest-nunit
     SUBDIR += py-pytest-parallel
     SUBDIR += py-pytest-pep8
diff --git a/devel/py-pytest-mypy-plugins/Makefile b/devel/py-pytest-mypy-plugins/Makefile
new file mode 100644
index 000000000000..baa54e1c6dc4
--- /dev/null
+++ b/devel/py-pytest-mypy-plugins/Makefile
@@ -0,0 +1,26 @@
+PORTNAME=	pytest-mypy-plugins
+PORTVERSION=	1.10.1
+CATEGORIES=	devel python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	pytest plugin for writing tests for mypy plugins
+WWW=		https://github.com/typeddjango/pytest-mypy-plugins
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}chevron>=0:textproc/py-chevron@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}decorator>=0:devel/py-decorator@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}mypy>=0.970:devel/py-mypy@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pytest>=6.0.0,1:devel/py-pytest@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}yaml>=0:devel/py-yaml@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}regex>=0:textproc/py-regex@${PY_FLAVOR}
+
+USES=		python:3.7+
+USE_PYTHON=	autoplist concurrent distutils
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-pytest-mypy-plugins/distinfo b/devel/py-pytest-mypy-plugins/distinfo
new file mode 100644
index 000000000000..6ccfa6900960
--- /dev/null
+++ b/devel/py-pytest-mypy-plugins/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1674588054
+SHA256 (pytest-mypy-plugins-1.10.1.tar.gz) = 1f258ccd784341dee93d4baaedafe715ead2a1f730c59282c45abd025612cf16
+SIZE (pytest-mypy-plugins-1.10.1.tar.gz) = 17308
diff --git a/devel/py-pytest-mypy-plugins/pkg-descr b/devel/py-pytest-mypy-plugins/pkg-descr
new file mode 100644
index 000000000000..de892a2cb28c
--- /dev/null
+++ b/devel/py-pytest-mypy-plugins/pkg-descr
@@ -0,0 +1 @@
+pytest plugin for testing mypy types, stubs, and plugins.