git: 8bcb3a0c15f2 - main - devel/py-setuptools-rust: Update to 1.7.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 26 Aug 2023 09:30:55 UTC
The branch main has been updated by sunpoet:

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

commit 8bcb3a0c15f22000f2746de533650b58fde463f1
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-08-26 09:27:36 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-08-26 09:27:36 +0000

    devel/py-setuptools-rust: Update to 1.7.0
    
    Changes:        https://github.com/PyO3/setuptools-rust/releases
---
 devel/py-setuptools-rust/Makefile | 15 +++++++++++----
 devel/py-setuptools-rust/distinfo |  6 +++---
 2 files changed, 14 insertions(+), 7 deletions(-)

diff --git a/devel/py-setuptools-rust/Makefile b/devel/py-setuptools-rust/Makefile
index b561c7e72449..543a72e01136 100644
--- a/devel/py-setuptools-rust/Makefile
+++ b/devel/py-setuptools-rust/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	setuptools-rust
-PORTVERSION=	1.6.0
+PORTVERSION=	1.7.0
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,10 +11,11 @@ WWW=		https://github.com/PyO3/setuptools-rust
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	${PY_SETUPTOOLS} \
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=62.4:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}semantic-version>=2.8.2<3:devel/py-semantic-version@${PY_FLAVOR} \
-		${PY_SETUPTOOLS} \
+		${PYTHON_PKGNAMEPREFIX}setuptools>=62.4:devel/py-setuptools@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}typing-extensions>=3.7.4.3:devel/py-typing-extensions@${PY_FLAVOR} \
 		cargo:lang/rust
 
@@ -23,4 +24,10 @@ 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>=1.2.1:textproc/py-tomli@${PY_FLAVOR}
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/py-setuptools-rust/distinfo b/devel/py-setuptools-rust/distinfo
index 6448519b3d74..e41e46ee5e60 100644
--- a/devel/py-setuptools-rust/distinfo
+++ b/devel/py-setuptools-rust/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1682903104
-SHA256 (setuptools-rust-1.6.0.tar.gz) = c86e734deac330597998bfbc08da45187e6b27837e23bd91eadb320732392262
-SIZE (setuptools-rust-1.6.0.tar.gz) = 296421
+TIMESTAMP = 1692812427
+SHA256 (setuptools-rust-1.7.0.tar.gz) = c7100999948235a38ae7e555fe199aa66c253dc384b125f5d85473bf81eae3a3
+SIZE (setuptools-rust-1.7.0.tar.gz) = 303181