git: e18b6e8fca01 - main - devel/py-pytest-plus: New port

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

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

commit e18b6e8fca01f960d73329ff1360c7615168f01b
Author:     Matthew Seaman <matthew@FreeBSD.org>
AuthorDate: 2022-04-10 17:44:24 +0000
Commit:     Matthew Seaman <matthew@FreeBSD.org>
CommitDate: 2022-04-18 11:59:07 +0000

    devel/py-pytest-plus: New port
    
    This plugin aims to be used to host multiple pytest extensions that
    meet the following criteria:
    
    * Keep py36 compatibility
    
    * Downgrade gracefully, meaning that if the plugin is removed, you
      will still be able to run pytest
    
    Required as part of the TEST_DEPENDS heirarchy for
    sysutils/py-ansible-compat
    
    PR:     263033
---
 devel/Makefile                 |  1 +
 devel/py-pytest-plus/Makefile  | 23 +++++++++++++++++++++++
 devel/py-pytest-plus/distinfo  |  3 +++
 devel/py-pytest-plus/pkg-descr |  9 +++++++++
 4 files changed, 36 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 02dc2d67e2ba..009acd42d73e 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5097,6 +5097,7 @@
     SUBDIR += py-pytest-mutagen
     SUBDIR += py-pytest-mypy
     SUBDIR += py-pytest-pep8
+    SUBDIR += py-pytest-plus
     SUBDIR += py-pytest-pycodestyle
     SUBDIR += py-pytest-randomly
     SUBDIR += py-pytest-regressions
diff --git a/devel/py-pytest-plus/Makefile b/devel/py-pytest-plus/Makefile
new file mode 100644
index 000000000000..0a0c11797b3f
--- /dev/null
+++ b/devel/py-pytest-plus/Makefile
@@ -0,0 +1,23 @@
+PORTNAME=	pytest-plus
+PORTVERSION=	0.2
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	matthew@FreeBSD.org
+COMMENT=	Pytest plus plugin :: extends pytest functionality
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=41.0.0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}setuptools_scm>=1.15.0:devel/py-setuptools_scm@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}setuptools_scm_git_archive>=1.0:devel/py-setuptools_scm_git_archive@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>=3.50:devel/py-pytest@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pytest-html>0:devel/py-pytest-html@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist distutils
+
+.include <bsd.port.mk>
diff --git a/devel/py-pytest-plus/distinfo b/devel/py-pytest-plus/distinfo
new file mode 100644
index 000000000000..d804adf314c0
--- /dev/null
+++ b/devel/py-pytest-plus/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1649581361
+SHA256 (pytest-plus-0.2.tar.gz) = eb0e11b52c617460bfaae788b82bcfd25efad9472895b240f182a8850757b6c5
+SIZE (pytest-plus-0.2.tar.gz) = 8210
diff --git a/devel/py-pytest-plus/pkg-descr b/devel/py-pytest-plus/pkg-descr
new file mode 100644
index 000000000000..d23a5ab9a763
--- /dev/null
+++ b/devel/py-pytest-plus/pkg-descr
@@ -0,0 +1,9 @@
+This plugin aims to be used to host multiple pytest extensions that
+meet the following criteria:
+
+* Keep py36 compatibility
+
+* Downgrade gracefully, meaning that if the plugin is removed, you
+  will still be able to run pytest
+
+WWW: https://github.com/pycontribs/pytest-plus