git: 6d316a82927c - main - devel/py-requirements-detector: Update to 1.3.2

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Thu, 21 Nov 2024 13:42:37 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6d316a82927ca8839d850f41add83bcc1b4b00c2

commit 6d316a82927ca8839d850f41add83bcc1b4b00c2
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-11-21 13:22:16 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-11-21 13:38:17 +0000

    devel/py-requirements-detector: Update to 1.3.2
    
    Changes:        https://github.com/prospector-dev/requirements-detector/commits/master
---
 devel/py-requirements-detector/Makefile | 13 +++++++++----
 devel/py-requirements-detector/distinfo |  6 +++---
 2 files changed, 12 insertions(+), 7 deletions(-)

diff --git a/devel/py-requirements-detector/Makefile b/devel/py-requirements-detector/Makefile
index ea4050c8995f..6772e6356065 100644
--- a/devel/py-requirements-detector/Makefile
+++ b/devel/py-requirements-detector/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	requirements-detector
-PORTVERSION=	1.3.1
+PORTVERSION=	1.3.2
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -15,12 +15,17 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0:devel/py-poetry-core@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}astroid>=3.0<4:devel/py-astroid@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}packaging>=21.3:devel/py-packaging@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}semver>=3.0.0<4:devel/py-semver@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}toml>=0.10.2<0.11:textproc/py-toml@${PY_FLAVOR}
+		${PYTHON_PKGNAMEPREFIX}semver>=3.0.0<4:devel/py-semver@${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}toml>=0.10.2<0.11:textproc/py-toml@${PY_FLAVOR}
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/py-requirements-detector/distinfo b/devel/py-requirements-detector/distinfo
index e8165fd2c4b7..8d6ef1098ab1 100644
--- a/devel/py-requirements-detector/distinfo
+++ b/devel/py-requirements-detector/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1728632406
-SHA256 (requirements_detector-1.3.1.tar.gz) = b89e34faf0e4d17f5736923918bd5401949cbe723294ccfefd698b3cda28e676
-SIZE (requirements_detector-1.3.1.tar.gz) = 15908
+TIMESTAMP = 1731679302
+SHA256 (requirements_detector-1.3.2.tar.gz) = af5a3ea98ca703d14cf7b66751b2aeb3656d02d9e5fc1c97d7d4da02b057b601
+SIZE (requirements_detector-1.3.2.tar.gz) = 16342