git: 95cc5014f1f2 - main - security/py-tuf: Update version 2.1.0=>3.0.0

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Fri, 12 May 2023 14:57:40 UTC
The branch main has been updated by bofh:

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

commit 95cc5014f1f2a5e60e65ac1b6e5eaa3f3907a2a6
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-05-12 14:00:09 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-05-12 14:57:23 +0000

    security/py-tuf: Update version 2.1.0=>3.0.0
    
    Changelog:
    https://github.com/theupdateframework/python-tuf/releases/tag/v3.0.0
---
 security/py-tuf/Makefile | 9 ++++-----
 security/py-tuf/distinfo | 6 +++---
 2 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/security/py-tuf/Makefile b/security/py-tuf/Makefile
index 2c9850d56470..e52bff574e74 100644
--- a/security/py-tuf/Makefile
+++ b/security/py-tuf/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	tuf
-PORTVERSION=	2.1.0
-PORTREVISION=	1
+PORTVERSION=	3.0.0
 CATEGORIES=	security devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -14,9 +13,9 @@ LICENSE_COMB=	dual
 LICENSE_FILE_APACHE20=	${WRKSRC}/LICENSE
 LICENSE_FILE_MIT=	${WRKSRC}/LICENSE-MIT
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR}
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hatchling>=1.13.0:devel/py-hatchling@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}requests>=2.19.1:www/py-requests@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}securesystemslib>=0.22.0:security/py-securesystemslib@${PY_FLAVOR}
+		${PYTHON_PKGNAMEPREFIX}securesystemslib>=0.26.0:security/py-securesystemslib@${PY_FLAVOR}
 
 USES=		pytest python:3.7+
 USE_PYTHON=	autoplist concurrent pep517
@@ -26,7 +25,7 @@ NO_ARCH=	yes
 PYTEST_BROKEN_TESTS=	test_cleanup TestRepoExamples # uses files missing from pypi distribution
 
 post-patch:
-	@${REINPLACE_CMD} 's|hatchling==1.11.1|hatchling>=1.11.1|g' \
+	@${REINPLACE_CMD} 's|hatchling==1|hatchling>=1|g' \
 		${WRKSRC}/pyproject.toml
 
 .include <bsd.port.mk>
diff --git a/security/py-tuf/distinfo b/security/py-tuf/distinfo
index 9067c9e93e7e..87f321eca68e 100644
--- a/security/py-tuf/distinfo
+++ b/security/py-tuf/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1675279500
-SHA256 (tuf-2.1.0.tar.gz) = dbfe18fbdeba6d76144931db88b76e473fa40c431b60d25b455a9adbb07c2397
-SIZE (tuf-2.1.0.tar.gz) = 261568
+TIMESTAMP = 1683897873
+SHA256 (tuf-3.0.0.tar.gz) = 493f5e9dc60c6a216320a82e052f6bd6f4b12cf8dfafc90ce6de537545ccfa61
+SIZE (tuf-3.0.0.tar.gz) = 266374