git: d6d00f01bb59 - main - www/radicale: Update to 3.3.0

From: Bernhard Froehlich <decke_at_FreeBSD.org>
Date: Fri, 01 Nov 2024 15:31:12 UTC
The branch main has been updated by decke:

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

commit d6d00f01bb59c3c34c3fcda3dd21ae7f99671219
Author:     Bernhard Froehlich <decke@FreeBSD.org>
AuthorDate: 2024-11-01 15:21:43 +0000
Commit:     Bernhard Froehlich <decke@FreeBSD.org>
CommitDate: 2024-11-01 15:31:05 +0000

    www/radicale: Update to 3.3.0
    
    This release deprecates setup.py so we had to move to pep517 which
    works fine when PORTNAME is consistent everywhere (portname, distfile,
    toml project name). But of cause it's not so for the moment I decided
    to use the ugliest possible way (happy halloween!).
---
 www/radicale/Makefile                   | 7 ++++---
 www/radicale/distinfo                   | 6 +++---
 www/radicale/files/patch-pyproject.toml | 9 +++++++++
 3 files changed, 16 insertions(+), 6 deletions(-)

diff --git a/www/radicale/Makefile b/www/radicale/Makefile
index a77c0588e917..7634f3e275ea 100644
--- a/www/radicale/Makefile
+++ b/www/radicale/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	radicale
-PORTVERSION=	3.2.3
+PORTVERSION=	3.3.0
 CATEGORIES=	www python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,7 +11,8 @@ WWW=		https://radicale.org/
 LICENSE=	GPLv3+
 LICENSE_FILE=	${WRKSRC}/COPYING.md
 
-BUILD_DEPENDS=	${PY_SETUPTOOLS}
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} \
+		${PY_SETUPTOOLS}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}bcrypt>=0:security/py-bcrypt@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}passlib>=0:security/py-passlib@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}vobject>=0.9.6:deskutils/py-vobject@${PY_FLAVOR} \
@@ -20,7 +21,7 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}bcrypt>=0:security/py-bcrypt@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}defusedxml>0:devel/py-defusedxml@${PY_FLAVOR}
 
 USES=		cpe python
-USE_PYTHON=	autoplist distutils
+USE_PYTHON=	autoplist pep517
 USERS=		radicale
 GROUPS=		radicale
 USE_RC_SUBR=	radicale
diff --git a/www/radicale/distinfo b/www/radicale/distinfo
index 75134c081acf..5f3cf9a878e4 100644
--- a/www/radicale/distinfo
+++ b/www/radicale/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1725371297
-SHA256 (radicale-3.2.3.tar.gz) = 12414266520b958e709165579654969c434909b6fa644b9e18e613400ca5fd1e
-SIZE (radicale-3.2.3.tar.gz) = 131496
+TIMESTAMP = 1729346079
+SHA256 (radicale-3.3.0.tar.gz) = 06460ce0eef03b61546810781412ca1ab690d1ccfd934ab092a6c0bb930a30ea
+SIZE (radicale-3.3.0.tar.gz) = 135732
diff --git a/www/radicale/files/patch-pyproject.toml b/www/radicale/files/patch-pyproject.toml
new file mode 100644
index 000000000000..389109a67a0b
--- /dev/null
+++ b/www/radicale/files/patch-pyproject.toml
@@ -0,0 +1,9 @@
+--- pyproject.toml.orig	2024-10-13 16:02:04 UTC
++++ pyproject.toml
+@@ -1,5 +1,5 @@
+ [project]
+-name = "Radicale"
++name = "radicale"
+ # When the version is updated, a new section in the CHANGELOG.md file must be
+ # added too.
+ readme = "README.md"