git: 367d17ff0c1f - main - devel/py-goodreads: convert to pep517

From: Ruslan Makhmatkhanov <rm_at_FreeBSD.org>
Date: Tue, 24 Jun 2025 14:11:38 UTC
The branch main has been updated by rm:

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

commit 367d17ff0c1fdd3741718516a9a0eda2916910a5
Author:     Ruslan Makhmatkhanov <rm@FreeBSD.org>
AuthorDate: 2025-06-24 14:09:01 +0000
Commit:     Ruslan Makhmatkhanov <rm@FreeBSD.org>
CommitDate: 2025-06-24 14:11:29 +0000

    devel/py-goodreads: convert to pep517
    
    - convert to pep517
    - update PORTNAME and chase the change in dependent www/py-calibreweb
    
    PR:             285298
    Reported by:    Matthew Wener <matthew@wener.org> (maintainer)
---
 devel/py-goodreads/Makefile | 9 +++++----
 www/py-calibreweb/Makefile  | 4 ++--
 2 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/devel/py-goodreads/Makefile b/devel/py-goodreads/Makefile
index 08c2fd785cd3..403cf47178ac 100644
--- a/devel/py-goodreads/Makefile
+++ b/devel/py-goodreads/Makefile
@@ -1,10 +1,9 @@
-PORTNAME=	Goodreads
+PORTNAME=	goodreads
 PORTVERSION=	0.3.2
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
-DISTNAME=	goodreads-${PORTVERSION}
 
 MAINTAINER=	matthew@wener.org
 COMMENT=	Python interface for the Goodreads API
@@ -12,11 +11,13 @@ WWW=		https://github.com/sefakilic/goodreads/
 
 LICENSE=	MIT
 
+BUILD_DEPENDS=	${PY_SETUPTOOLS} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}rauth>=0:devel/py-rauth@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}xmltodict>=0:devel/py-xmltodict@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	autoplist distutils
+USE_PYTHON=	autoplist pep517
 
 .include <bsd.port.mk>
diff --git a/www/py-calibreweb/Makefile b/www/py-calibreweb/Makefile
index d3a749663e24..28c904020d37 100644
--- a/www/py-calibreweb/Makefile
+++ b/www/py-calibreweb/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	calibreweb
 PORTVERSION=	0.6.24
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	www python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -99,7 +99,7 @@ GDRIVE_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}gevent>=0:devel/py-gevent@${PY_FLAVOR
 			${PYTHON_PKGNAMEPREFIX}uritemplate>=0:net/py-uritemplate@${PY_FLAVOR}
 GMAIL_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}google-api-python-client>=0:www/py-google-api-python-client@${PY_FLAVOR} \
 			${PYTHON_PKGNAMEPREFIX}google-auth-oauthlib>=0:security/py-google-auth-oauthlib@${PY_FLAVOR}
-GREADS_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}Goodreads>=0:devel/py-goodreads@${PY_FLAVOR} \
+GREADS_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}goodreads>=0:devel/py-goodreads@${PY_FLAVOR} \
 			${PYTHON_PKGNAMEPREFIX}Levenshtein>=0:devel/py-Levenshtein@${PY_FLAVOR}
 IMAGICK6_NOX11_USES=	magick:6,run,nox11
 IMAGICK6_X11_USES=	magick:6,run