git: 89ec15ff638c - main - devel/py-pytest-metadata -- New port

From: Matthew Seaman <matthew_at_FreeBSD.org>
Date: Mon, 18 Apr 2022 12:00:39 UTC
The branch main has been updated by matthew:

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

commit 89ec15ff638c8ad24d4f0f58c8de7caf9dcb88f7
Author:     Matthew Seaman <matthew@FreeBSD.org>
AuthorDate: 2022-04-10 10:07:10 +0000
Commit:     Matthew Seaman <matthew@FreeBSD.org>
CommitDate: 2022-04-18 11:59:06 +0000

    devel/py-pytest-metadata -- New port
    
    pytest-metadata is a plugin for pytest that provides access to test
    session metadata.
    
    Required as part of the TEST_DEPENDS heirarchy for
    sysutils/py-ansible-compat
    
    PR:     263033
---
 devel/Makefile                     |  1 +
 devel/py-pytest-metadata/Makefile  | 18 ++++++++++++++++++
 devel/py-pytest-metadata/distinfo  |  3 +++
 devel/py-pytest-metadata/pkg-descr |  4 ++++
 4 files changed, 26 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index e7e888f5ad5e..ff7722588cf0 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5091,6 +5091,7 @@
     SUBDIR += py-pytest-isort
     SUBDIR += py-pytest-lazy-fixture
     SUBDIR += py-pytest-localserver
+    SUBDIR += py-pytest-metadata
     SUBDIR += py-pytest-mock
     SUBDIR += py-pytest-mutagen
     SUBDIR += py-pytest-mypy
diff --git a/devel/py-pytest-metadata/Makefile b/devel/py-pytest-metadata/Makefile
new file mode 100644
index 000000000000..48af5c200229
--- /dev/null
+++ b/devel/py-pytest-metadata/Makefile
@@ -0,0 +1,18 @@
+PORTNAME=	pytest-metadata
+PORTVERSION=	2.0.1
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	matthew@FreeBSD.org
+COMMENT=	Pytest plugin for test session metadata
+
+LICENSE=	MPL20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>=3.0.0:devel/py-pytest@${PY_FLAVOR}
+
+USES=		python:3.7+
+USE_PYTHON=	autoplist distutils
+
+.include <bsd.port.mk>
diff --git a/devel/py-pytest-metadata/distinfo b/devel/py-pytest-metadata/distinfo
new file mode 100644
index 000000000000..80830787d61a
--- /dev/null
+++ b/devel/py-pytest-metadata/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1649582503
+SHA256 (pytest-metadata-2.0.1.tar.gz) = 5cdb6aeea8ba9109181cf9f149c8a3ae1430ff7e44506a8f866af8a98ca46301
+SIZE (pytest-metadata-2.0.1.tar.gz) = 10519
diff --git a/devel/py-pytest-metadata/pkg-descr b/devel/py-pytest-metadata/pkg-descr
new file mode 100644
index 000000000000..ae4f7dd518df
--- /dev/null
+++ b/devel/py-pytest-metadata/pkg-descr
@@ -0,0 +1,4 @@
+pytest-metadata is a plugin for pytest that provides access to test
+session metadata.
+
+WWW: https://github.com/pytest-dev/pytest-metadata