Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Sep 2023 23:33:56 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: f9966352f81b - main - mail/py-mailmanclient: Fix RUN_DEPENDS and TEST_DEPENDS
Message-ID:  <202309302333.38UNXuvc009173@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

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

commit f9966352f81beec560cd28300f19d626430063ca
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-09-30 23:30:04 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-09-30 23:30:04 +0000

    mail/py-mailmanclient: Fix RUN_DEPENDS and TEST_DEPENDS
    
    - Convert to USE_PYTHON=pytest
    - Bump PORTREVISION for dependency change
    - Take maintainership
---
 mail/py-mailmanclient/Makefile | 20 ++++++++++----------
 1 file 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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202309302333.38UNXuvc009173>