git: 0f33d05f0034 - main - sysutils/duplicity: Update to 2.2.4

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Sat, 25 May 2024 07:33:03 UTC
The branch main has been updated by eduardo:

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

commit 0f33d05f003447905fbe9e51502322429c1a5fc1
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-05-25 07:30:00 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-05-25 07:32:40 +0000

    sysutils/duplicity: Update to 2.2.4
    
    - Build deps: Switch from PY_SETUPTOOLS -> py-setuptools
    
    ChangeLog:      https://duplicity.gitlab.io/stable/CHANGELOG.html
    PR:             279266
    Reported by:    FiLiS <freebsdbugs@filis.org>
---
 sysutils/duplicity/Makefile                   |  7 ++++---
 sysutils/duplicity/distinfo                   |  6 +++---
 sysutils/duplicity/files/patch-pyproject.toml | 11 +++++++++++
 3 files changed, 18 insertions(+), 6 deletions(-)

diff --git a/sysutils/duplicity/Makefile b/sysutils/duplicity/Makefile
index 594125b574f8..382bc078b364 100644
--- a/sysutils/duplicity/Makefile
+++ b/sysutils/duplicity/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	duplicity
-DISTVERSION=	2.2.3
-PORTREVISION=	1
+DISTVERSION=	2.2.4
 CATEGORIES=	sysutils
 MASTER_SITES=	PYPI
 
@@ -11,7 +10,9 @@ WWW=		https://duplicity.gitlab.io/
 LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-BUILD_DEPENDS=	${PY_SETUPTOOLS} \
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pip>0:devel/py-pip@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pipx>0:devel/py-pipx@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
 LIB_DEPENDS=	librsync.so:net/librsync
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}fasteners>=0:devel/py-fasteners@${PY_FLAVOR} \
diff --git a/sysutils/duplicity/distinfo b/sysutils/duplicity/distinfo
index 45add1b2d565..98372c638d28 100644
--- a/sysutils/duplicity/distinfo
+++ b/sysutils/duplicity/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1710967459
-SHA256 (duplicity-2.2.3.tar.gz) = 4ad43f93601b1a41fb5f642bdda1706a1fb75f8ef1d6d482dd7f23107eaee87d
-SIZE (duplicity-2.2.3.tar.gz) = 1978008
+TIMESTAMP = 1716534960
+SHA256 (duplicity-2.2.4.tar.gz) = 46623891a66be41f5d548d88ce9653e77f92bb0123e884c6ecbb651e74a9ab84
+SIZE (duplicity-2.2.4.tar.gz) = 1949969
diff --git a/sysutils/duplicity/files/patch-pyproject.toml b/sysutils/duplicity/files/patch-pyproject.toml
new file mode 100644
index 000000000000..6f351ca42fa8
--- /dev/null
+++ b/sysutils/duplicity/files/patch-pyproject.toml
@@ -0,0 +1,11 @@
+--- pyproject.toml.orig	2024-05-24 07:34:29 UTC
++++ pyproject.toml
+@@ -7,7 +7,7 @@ requires = [
+ [build-system]
+ requires = [
+     "build>=1.1",
+-    "pip>=24.0",
++    "pip>=23.3.2",
+     "pipx>=1.5",
+     "packaging>=20.0",
+     "setuptools>=60.0",