aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Seaman <matthew@FreeBSD.org>2022-04-10 10:07:10 +0000
committerMatthew Seaman <matthew@FreeBSD.org>2022-04-18 11:59:06 +0000
commit89ec15ff638c8ad24d4f0f58c8de7caf9dcb88f7 (patch)
treefc72b77bddf265c2755fee683318e0096bd7f494
parent96151ece4c41ec9a060a5347704f1a51323dd57f (diff)
downloadports-89ec15ff638c8ad24d4f0f58c8de7caf9dcb88f7.tar.gz
ports-89ec15ff638c8ad24d4f0f58c8de7caf9dcb88f7.zip
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
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-pytest-metadata/Makefile18
-rw-r--r--devel/py-pytest-metadata/distinfo3
-rw-r--r--devel/py-pytest-metadata/pkg-descr4
4 files changed, 26 insertions, 0 deletions
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