Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Feb 2023 12:20:18 GMT
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 3fdbb70f1523 - main - security/py-tuf: Update version 2.0.0=>2.1.0
Message-ID:  <202302021220.312CKIE2071272@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh:

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

commit 3fdbb70f1523b57287a3666c4bc940bf2d76bfed
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-02-02 12:18:33 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-02-02 12:20:02 +0000

    security/py-tuf: Update version 2.0.0=>2.1.0
    
    - Change to pep517 from distutils
    
    Relnotes:
    https://github.com/theupdateframework/python-tuf/releases/tag/v2.1.0
---
 security/py-tuf/Makefile | 8 +++++---
 security/py-tuf/distinfo | 6 +++---
 2 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/security/py-tuf/Makefile b/security/py-tuf/Makefile
index 5d8d6bc76c14..30a629a08a38 100644
--- a/security/py-tuf/Makefile
+++ b/security/py-tuf/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	tuf
-PORTVERSION=	2.0.0
+PORTVERSION=	2.1.0
 CATEGORIES=	security devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -13,17 +13,19 @@ 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}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}requests>=2.19.1:www/py-requests@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}securesystemslib>=0.22.0:security/py-securesystemslib@${PY_FLAVOR}
 
 USES=		pytest python:3.7+
-USE_PYTHON=	autoplist concurrent distutils
+USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes
 
 PYTEST_BROKEN_TESTS=	test_cleanup TestRepoExamples # uses files missing from pypi distribution
 
 post-patch:
-	@${RM} ${WRKSRC}/pyproject.toml
+	@${REINPLACE_CMD} 's|hatchling==1.11.1|hatchling>=1.11.1|g' \
+		${WRKSRC}/pyproject.toml
 
 .include <bsd.port.mk>
diff --git a/security/py-tuf/distinfo b/security/py-tuf/distinfo
index 0746b1d21b37..9067c9e93e7e 100644
--- a/security/py-tuf/distinfo
+++ b/security/py-tuf/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1661861865
-SHA256 (tuf-2.0.0.tar.gz) = 76e7f2a7aced84466865fac2a7127b6085afae51d4328af896fb46f952dd3a53
-SIZE (tuf-2.0.0.tar.gz) = 255819
+TIMESTAMP = 1675279500
+SHA256 (tuf-2.1.0.tar.gz) = dbfe18fbdeba6d76144931db88b76e473fa40c431b60d25b455a9adbb07c2397
+SIZE (tuf-2.1.0.tar.gz) = 261568



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202302021220.312CKIE2071272>