git: 29f3a3070dfb - main - databases/py-pgdbconn: Convert to USE_PYTHON=pep517

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 06 Jul 2024 16:28:29 UTC
The branch main has been updated by sunpoet:

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

commit 29f3a3070dfb8b62ba09ea5ab2d24fc2ca1cc746
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-07-06 16:11:49 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-07-06 16:11:49 +0000

    databases/py-pgdbconn: Convert to USE_PYTHON=pep517
    
    - Add NO_ARCH
    - Bump PORTREVISION for package change
---
 databases/py-pgdbconn/Makefile | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/databases/py-pgdbconn/Makefile b/databases/py-pgdbconn/Makefile
index bf3a688bf8d6..df6587054a35 100644
--- a/databases/py-pgdbconn/Makefile
+++ b/databases/py-pgdbconn/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	pgdbconn
 PORTVERSION=	0.8.0
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	databases python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,9 +12,13 @@ WWW=		https://pypi.org/project/pgdbconn/
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}psycopg2>=2.5:databases/py-psycopg2@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	distutils autoplist
+USE_PYTHON=	autoplist concurrent pep517
+
+NO_ARCH=	yes
 
 .include <bsd.port.mk>