devel/py-pluggy: Update version requirement of TEST_DEPENDS

- Reformat pkg-descr
This commit is contained in:
Po-Chuan Hsieh 2022-04-26 22:53:38 +08:00
parent a0265e1080
commit 108b9840c9
No known key found for this signature in database
GPG key ID: 9A4BD10F002DD04B
2 changed files with 8 additions and 9 deletions

View file

@ -13,10 +13,10 @@ 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:devel/py-pytest@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0,1:devel/py-pytest@${PY_FLAVOR}
USES= python:3.6+
USE_PYTHON= autoplist distutils
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
@ -27,6 +27,6 @@ RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=0.12:devel/py-importlib
.endif
do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs
cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -rs -v
.include <bsd.port.post.mk>

View file

@ -1,12 +1,11 @@
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.
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.
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.