git: 388bfe80f5e1 - main - databases/py-zodbpickle: Convert to USE_PYTHON=pep517

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 23 Mar 2024 15:00:27 UTC
The branch main has been updated by sunpoet:

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

commit 388bfe80f5e1c688ba684cdf197aee3cadaafa92
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-03-23 14:20:58 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-03-23 14:31:11 +0000

    databases/py-zodbpickle: Convert to USE_PYTHON=pep517
    
    - Bump PORTREVISION for package change
---
 databases/py-zodbpickle/Makefile | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/databases/py-zodbpickle/Makefile b/databases/py-zodbpickle/Makefile
index e522c7904903..dd9bfe01ac13 100644
--- a/databases/py-zodbpickle/Makefile
+++ b/databases/py-zodbpickle/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	zodbpickle
 PORTVERSION=	3.0.1
+PORTREVISION=	1
 CATEGORIES=	databases python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,8 +12,11 @@ WWW=		https://github.com/zopefoundation/zodbpickle
 LICENSE=	PSFL ZPL21
 LICENSE_COMB=	multi
 
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+
 USES=		python
-USE_PYTHON=	autoplist concurrent distutils
+USE_PYTHON=	autoplist concurrent pep517
 
 post-install:
 	${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +