git: b3b823d89955 - main - security/py-itsdangerous: update to 2.2.0

From: Ruslan Makhmatkhanov <rm_at_FreeBSD.org>
Date: Wed, 31 Jul 2024 10:15:17 UTC
The branch main has been updated by rm:

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

commit b3b823d89955ec7e1d7c64f12c41ff070fef82fc
Author:     Ruslan Makhmatkhanov <rm@FreeBSD.org>
AuthorDate: 2024-07-31 10:14:15 +0000
Commit:     Ruslan Makhmatkhanov <rm@FreeBSD.org>
CommitDate: 2024-07-31 10:14:15 +0000

    security/py-itsdangerous: update to 2.2.0
    
    Changelog: https://github.com/pallets/itsdangerous/releases/tag/2.2.0
    
    Added flit-core and changed to pep517 build
    
    PR:             280526
    Reported by:    Nicholas Kirby <nick@kirby.cx>
---
 security/py-itsdangerous/Makefile | 6 ++++--
 security/py-itsdangerous/distinfo | 6 +++---
 2 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/security/py-itsdangerous/Makefile b/security/py-itsdangerous/Makefile
index 42242619d1c2..2874f017f62c 100644
--- a/security/py-itsdangerous/Makefile
+++ b/security/py-itsdangerous/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	itsdangerous
-PORTVERSION=	2.1.2
+DISTVERSION=	2.2.0
 CATEGORIES=	security python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -10,8 +10,10 @@ WWW=		https://github.com/mitsuhiko/itsdangerous/
 
 LICENSE=	BSD3CLAUSE
 
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}flit-core>0:devel/py-flit-core@${PY_FLAVOR}
+
 USES=		python
-USE_PYTHON=	distutils autoplist
+USE_PYTHON=	autoplist pep517
 
 NO_ARCH=	yes
 
diff --git a/security/py-itsdangerous/distinfo b/security/py-itsdangerous/distinfo
index 2d79f1c5a0ec..faedd7489f82 100644
--- a/security/py-itsdangerous/distinfo
+++ b/security/py-itsdangerous/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1658483457
-SHA256 (itsdangerous-2.1.2.tar.gz) = 5dbbc68b317e5e42f327f9021763545dc3fc3bfe22e6deb96aaf1fc38874156a
-SIZE (itsdangerous-2.1.2.tar.gz) = 56143
+TIMESTAMP = 1722409277
+SHA256 (itsdangerous-2.2.0.tar.gz) = e0050c0b7da1eea53ffaf149c0cfbb5c6e2e2b69c4bef22c81fa6eb73e5f6173
+SIZE (itsdangerous-2.2.0.tar.gz) = 54410