diff options
author | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2023-10-01 07:30:04 +0800 |
---|---|---|
committer | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2023-10-01 07:30:04 +0800 |
commit | f9966352f81beec560cd28300f19d626430063ca (patch) | |
tree | 9b18d394e93aa9d3d847b606b3cc5dac599fd7ee | |
parent | ba06e9e76d03d295c673ede04dabe3871c213a25 (diff) | |
download | freebsd-ports-f9966352f81beec560cd28300f19d626430063ca.zip |
mail/py-mailmanclient: Fix RUN_DEPENDS and TEST_DEPENDS
- Convert to USE_PYTHON=pytest
- Bump PORTREVISION for dependency change
- Take maintainership
-rw-r--r-- | mail/py-mailmanclient/Makefile | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/mail/py-mailmanclient/Makefile b/mail/py-mailmanclient/Makefile index b4a7b4f4a072..9f2b700459b4 100644 --- a/mail/py-mailmanclient/Makefile +++ b/mail/py-mailmanclient/Makefile @@ -1,27 +1,27 @@ PORTNAME= mailmanclient PORTVERSION= 3.3.5 +PORTREVISION= 1 CATEGORIES= mail MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -MAINTAINER= ports@FreeBSD.org -COMMENT= Official Python bindings for the GNU Mailman 3 REST API +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Python bindings for Mailman REST API WWW= https://gitlab.com/mailman/mailmanclient LICENSE= LGPL3+ LICENSE_FILE= ${WRKSRC}/COPYING.LESSER -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flake8>3.0:devel/py-flake8@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}flake8-bugbear>0:devel/py-flake8-bugbear@${PY_FLAVOR} -TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mailman>0:mail/mailman3@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}falcon>0:www/py-falcon@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}falcon>=1.4.1:www/py-falcon@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}httpx>=0:www/py-httpx@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}mailman>=3.3.1:mail/mailman3@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-asyncio>=0:devel/py-pytest-asyncio@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-services>=0:devel/py-pytest-services@${PY_FLAVOR} USES= python -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent distutils pytest NO_ARCH= yes -do-test: - @cd ${WRKSRC}/src/mailmanclient/tests && ${PYTHON_CMD} test_client.py - .include <bsd.port.mk> |