git: c3fe5965edb3 - main - textproc/py-sphinxcontrib-devhelp: Update to 2.0.0

From: Wen Heping <wen_at_FreeBSD.org>
Date: Sun, 02 Mar 2025 09:12:48 UTC
The branch main has been updated by wen:

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

commit c3fe5965edb30594b1cb8988a113f385730dfef6
Author:     Alastair Hogge <agh@riseup.net>
AuthorDate: 2025-03-02 09:10:04 +0000
Commit:     Wen Heping <wen@FreeBSD.org>
CommitDate: 2025-03-02 09:11:44 +0000

    textproc/py-sphinxcontrib-devhelp: Update to 2.0.0
    
    PR:             284844
    Reported by:    agh@riseup.net
---
 textproc/py-sphinxcontrib-devhelp/Makefile | 10 +++++++---
 textproc/py-sphinxcontrib-devhelp/distinfo |  6 +++---
 2 files changed, 10 insertions(+), 6 deletions(-)

diff --git a/textproc/py-sphinxcontrib-devhelp/Makefile b/textproc/py-sphinxcontrib-devhelp/Makefile
index 56a0e105a24b..340ed50b30f4 100644
--- a/textproc/py-sphinxcontrib-devhelp/Makefile
+++ b/textproc/py-sphinxcontrib-devhelp/Makefile
@@ -1,8 +1,9 @@
 PORTNAME=	sphinxcontrib-devhelp
-PORTVERSION=	1.0.2
+PORTVERSION=	2.0.0
 CATEGORIES=	textproc python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	${PORTNAME:C/-/_/}-${PORTVERSION}
 DIST_SUBDIR=	python
 
 MAINTAINER=	wen@FreeBSD.org
@@ -10,10 +11,13 @@ COMMENT=	Sphinx extension which outputs Devhelp document
 WWW=		https://www.sphinx-doc.org/
 
 LICENSE=	BSD2CLAUSE
-LICENSE_FILE=	${WRKSRC}/LICENSE
+LICENSE_FILE=	${WRKSRC}/LICENCE.rst
 
 USES=		python
-USE_PYTHON=	autoplist distutils concurrent
+USE_PYTHON=	autoplist concurrent pep517
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}flit-core>=3.2.0<4:devel/py-flit-core@${PY_FLAVOR}
+
 NO_ARCH=	yes
 
 .include <bsd.port.mk>
diff --git a/textproc/py-sphinxcontrib-devhelp/distinfo b/textproc/py-sphinxcontrib-devhelp/distinfo
index 88c92729d2c4..2d1c5b178eb4 100644
--- a/textproc/py-sphinxcontrib-devhelp/distinfo
+++ b/textproc/py-sphinxcontrib-devhelp/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1584758042
-SHA256 (python/sphinxcontrib-devhelp-1.0.2.tar.gz) = ff7f1afa7b9642e7060379360a67e9c41e8f3121f2ce9164266f61b9f4b338e4
-SIZE (python/sphinxcontrib-devhelp-1.0.2.tar.gz) = 17398
+TIMESTAMP = 1740897322
+SHA256 (python/sphinxcontrib_devhelp-2.0.0.tar.gz) = 411f5d96d445d1d73bb5d52133377b4248ec79db5c793ce7dbe59e074b4dd1ad
+SIZE (python/sphinxcontrib_devhelp-2.0.0.tar.gz) = 12967