git: cdc74d097769 - main - textproc/py-toml: Convert to USE_PYTHON=pep517

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

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

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

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

diff --git a/textproc/py-toml/Makefile b/textproc/py-toml/Makefile
index 854f76a8f4ce..2375c0ad9d20 100644
--- a/textproc/py-toml/Makefile
+++ b/textproc/py-toml/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	toml
 PORTVERSION=	0.10.2
+PORTREVISION=	1
 CATEGORIES=	textproc python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,17 +12,12 @@ WWW=		https://github.com/uiri/toml
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+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
 
-PORTDOCS=	README.rst
-
-OPTIONS_DEFINE=	DOCS
-
-post-install-DOCS-on:
-	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/README.rst ${STAGEDIR}${DOCSDIR}
-
 .include <bsd.port.mk>