git: 8253eb81ae05 - main - devel/py-pyproject-fmt: Update to 2.1.1

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 19 May 2024 17:26:21 UTC
The branch main has been updated by sunpoet:

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

commit 8253eb81ae0576f11c4cfacb27e3f2cbdae7270e
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-05-19 16:17:56 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-05-19 17:15:43 +0000

    devel/py-pyproject-fmt: Update to 2.1.1
    
    Changes:        https://github.com/tox-dev/pyproject-fmt/releases
---
 devel/py-pyproject-fmt/Makefile | 18 +++++++++++-------
 devel/py-pyproject-fmt/distinfo |  6 +++---
 2 files changed, 14 insertions(+), 10 deletions(-)

diff --git a/devel/py-pyproject-fmt/Makefile b/devel/py-pyproject-fmt/Makefile
index 6409bdcce1c7..195e0bdb2166 100644
--- a/devel/py-pyproject-fmt/Makefile
+++ b/devel/py-pyproject-fmt/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	pyproject-fmt
-PORTVERSION=	0.13.1
+PORTVERSION=	2.1.1
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,15 +12,19 @@ WWW=		https://github.com/tox-dev/pyproject-fmt
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hatch-vcs>=0.3:devel/py-hatch-vcs@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}hatchling>=1.17.1:devel/py-hatchling@${PY_FLAVOR}
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}natsort>=8.4:devel/py-natsort@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}packaging>=23.1:devel/py-packaging@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}tomlkit>=0.11.8:textproc/py-tomlkit@${PY_FLAVOR}
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hatch-vcs>=0.4:devel/py-hatch-vcs@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}hatchling>=1.24.2:devel/py-hatchling@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pyproject-fmt-rust>=1.1.1<1.1.1_99:devel/py-pyproject-fmt-rust@${PY_FLAVOR}
 
 USES=		python
 USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 31100
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}tomli>=2.0.1:textproc/py-tomli@${PY_FLAVOR}
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/py-pyproject-fmt/distinfo b/devel/py-pyproject-fmt/distinfo
index 0c015266726b..b2df4be31e5b 100644
--- a/devel/py-pyproject-fmt/distinfo
+++ b/devel/py-pyproject-fmt/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1692211761
-SHA256 (pyproject_fmt-0.13.1.tar.gz) = ab56708a4bb3d8aa946abf9d5477b11441a23bcc574e5cf39fa758926e222805
-SIZE (pyproject_fmt-0.13.1.tar.gz) = 13938
+TIMESTAMP = 1715842744
+SHA256 (pyproject_fmt-2.1.1.tar.gz) = 4d87dd73d053a638cd91365b898b55e9f790c8897071b55c581516cfac31491a
+SIZE (pyproject_fmt-2.1.1.tar.gz) = 9015