git: 626e4d6cccf4 - main - devel/py-py_interface: Convert to USE_PYTHON=pep517

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

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

commit 626e4d6cccf4131e7ee16edb4f14b19ae9a59384
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-07-06 16:12:01 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-07-06 16:12:01 +0000

    devel/py-py_interface: Convert to USE_PYTHON=pep517
    
    - Remove DOCS option
    - Bump PORTREVISION for package change
---
 devel/py-py_interface/Makefile | 14 +++++---------
 1 file changed, 5 insertions(+), 9 deletions(-)

diff --git a/devel/py-py_interface/Makefile b/devel/py-py_interface/Makefile
index a1b5284e261f..c4c4d6d43f2b 100644
--- a/devel/py-py_interface/Makefile
+++ b/devel/py-py_interface/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	py_interface
 PORTVERSION=	2.3
+PORTREVISION=	1
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -10,17 +11,12 @@ WWW=		https://www.lysator.liu.se/~tab/erlang/py_interface/
 
 LICENSE=	LGPL20
 
+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
 
 NO_ARCH=	yes
 
-OPTIONS_DEFINE=	DOCS
-
-PORTDOCS=	README
-
-post-install-DOCS-on:
-	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	cd ${WRKSRC} && ${INSTALL_DATA} README ${STAGEDIR}${DOCSDIR}
-
 .include <bsd.port.mk>