git: 4d278fd66bdf - main - devel/py-stevedore: Update to 5.9.0

Nicola Vitale <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.ports
Message-ID <[email protected]>
The branch main has been updated by nivit:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4d278fd66bdf2c88ec472d24eb6974d3fc68f78f

commit 4d278fd66bdf2c88ec472d24eb6974d3fc68f78f
Author:     Nicola Vitale <[email protected]>
AuthorDate: 2026-08-14 20:50:39 +0000
Commit:     Nicola Vitale <[email protected]>
CommitDate: 2026-08-14 20:51:47 +0000

    devel/py-stevedore: Update to 5.9.0
    
    - Add test dependencies
    - Add a post-patch target to fix license key in pyproject.toml
    
    Reported by:    portscout!
---
 devel/py-stevedore/Makefile | 11 ++++++++++-
 devel/py-stevedore/distinfo |  6 +++---
 2 files changed, 13 insertions(+), 4 deletions(-)

diff --git a/devel/py-stevedore/Makefile b/devel/py-stevedore/Makefile
index 72582d4b8510..b7421a11ead1 100644
--- a/devel/py-stevedore/Makefile
+++ b/devel/py-stevedore/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	stevedore
-PORTVERSION=	5.7.0
+PORTVERSION=	5.9.0
 CATEGORIES=	devel
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -16,6 +16,9 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 # https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197373
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pbr>=6.1.1:devel/py-pbr@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pbr>=6.1.1:devel/py-pbr@${PY_FLAVOR}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}stestr>=4.2.1:devel/py-stestr@${PY_FLAVOR} \
+	${PYTHON_PKGNAMEPREFIX}coverage>=4.0:devel/py-coverage@${PY_FLAVOR} \
+	${PYTHON_PKGNAMEPREFIX}sphinx>=9.4.0:textproc/py-sphinx@${PY_FLAVOR}
 
 USES=		python
 USE_PYTHON=	autoplist distutils pytest
@@ -28,4 +31,10 @@ TEST_ENV=	PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
 
 NO_ARCH=	yes
 
+post-patch:
+	${REINPLACE_CMD} -E \
+		-e 's/^(license = )"([^"]+)"/\1{ text = "\2" }/1' \
+		-e '/^license-files/d' \
+		${WRKSRC}/pyproject.toml
+
 .include <bsd.port.mk>
diff --git a/devel/py-stevedore/distinfo b/devel/py-stevedore/distinfo
index e8a63e8e4161..66863628c2b6 100644
--- a/devel/py-stevedore/distinfo
+++ b/devel/py-stevedore/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1771757474
-SHA256 (stevedore-5.7.0.tar.gz) = 31dd6fe6b3cbe921e21dcefabc9a5f1cf848cf538a1f27543721b8ca09948aa3
-SIZE (stevedore-5.7.0.tar.gz) = 516200
+TIMESTAMP = 1786738022
+SHA256 (stevedore-5.9.0.tar.gz) = abbd0af7a38a8bbb1d6adea2e35b17609cf004eaac323e88a8d8963640dd2b3c
+SIZE (stevedore-5.9.0.tar.gz) = 514850
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.