git: a96138cb7809 - main - devel/py-pluggy0: Add py-pluggy0 0.13.1 (copied from py-pluggy)

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 26 Apr 2022 15:04:09 UTC
The branch main has been updated by sunpoet:

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

commit a96138cb78092c71c83cc847b23c516cd17b65fc
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-04-26 14:46:02 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-04-26 15:01:10 +0000

    devel/py-pluggy0: Add py-pluggy0 0.13.1 (copied from py-pluggy)
    
    - Add PORTSCOUT
---
 devel/Makefile             |  1 +
 devel/py-pluggy0/Makefile  | 35 +++++++++++++++++++++++++++++++++++
 devel/py-pluggy0/distinfo  |  3 +++
 devel/py-pluggy0/pkg-descr | 14 ++++++++++++++
 4 files changed, 53 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 44a0d725f343..be8ce60b2db8 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4949,6 +4949,7 @@
     SUBDIR += py-plette
     SUBDIR += py-plex
     SUBDIR += py-pluggy
+    SUBDIR += py-pluggy0
     SUBDIR += py-pluginbase
     SUBDIR += py-ply
     SUBDIR += py-pockets
diff --git a/devel/py-pluggy0/Makefile b/devel/py-pluggy0/Makefile
new file mode 100644
index 000000000000..4734b6879c95
--- /dev/null
+++ b/devel/py-pluggy0/Makefile
@@ -0,0 +1,35 @@
+# Created by: Kubilay Kocak <koobs@FreeBSD.org>
+
+PORTNAME=	pluggy
+PORTVERSION=	0.13.1
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+PKGNAMESUFFIX=	0
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Plugin and hook calling mechanisms for Python
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>=0,1:devel/py-pytest@${PY_FLAVOR}
+
+USES=		python:3.6+
+USE_PYTHON=	autoplist concurrent distutils
+
+NO_ARCH=	yes
+
+PORTSCOUT=	limit:^0\.
+
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 30800
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}importlib-metadata>=0.12:devel/py-importlib-metadata@${PY_FLAVOR}
+.endif
+
+do-test:
+	cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -rs -v
+
+.include <bsd.port.post.mk>
diff --git a/devel/py-pluggy0/distinfo b/devel/py-pluggy0/distinfo
new file mode 100644
index 000000000000..1a76a7112f64
--- /dev/null
+++ b/devel/py-pluggy0/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1592561546
+SHA256 (pluggy-0.13.1.tar.gz) = 15b2acde666561e1298d71b523007ed7364de07029219b604cf808bfa1c765b0
+SIZE (pluggy-0.13.1.tar.gz) = 57962
diff --git a/devel/py-pluggy0/pkg-descr b/devel/py-pluggy0/pkg-descr
new file mode 100644
index 000000000000..e964b3f48183
--- /dev/null
+++ b/devel/py-pluggy0/pkg-descr
@@ -0,0 +1,14 @@
+pluggy is the crystallized core of plugin management and hook calling for
+pytest. It enables 500+ plugins to extend and customize pytest's default
+behaviour. Even pytest itself is composed as a set of pluggy plugins
+which are invoked in sequence according to a well defined set of protocols.
+
+It gives users the ability to extend or modify the behaviour of a host
+program by installing a plugin for that program. The plugin code will run
+as part of normal program execution, changing or enhancing certain aspects
+of it.
+
+In essence, pluggy enables function hooking so you can build "pluggable"
+systems.
+
+WWW: https://github.com/pytest-dev/pluggy