Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Jun 2026 17:25:54 +0000
From:      Max Brazhnikov <makc@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Cc:        Hiroo Ono <hiroo.ono+freebsd@gmail.com>
Subject:   git: f6fd08384583 - main - devel/py-breathe: Update to 4.36.0
Message-ID:  <6a3eb622.39129.4587d8d0@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by makc:

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

commit f6fd083845833151b7cf7999c1d252818b51411d
Author:     Hiroo Ono <hiroo.ono+freebsd@gmail.com>
AuthorDate: 2026-06-26 17:23:09 +0000
Commit:     Max Brazhnikov <makc@FreeBSD.org>
CommitDate: 2026-06-26 17:23:09 +0000

    devel/py-breathe: Update to 4.36.0
    
    This fixes the build with sphinx-9.0.4
    
    PR:             284845
---
 devel/py-breathe/Makefile                              | 11 +++++------
 devel/py-breathe/distinfo                              |  6 +++---
 .../files/patch-documentation_source_conf.py           | 18 ++++++++++++++++++
 3 files changed, 26 insertions(+), 9 deletions(-)

diff --git a/devel/py-breathe/Makefile b/devel/py-breathe/Makefile
index 059efe657c97..5c34f163b062 100644
--- a/devel/py-breathe/Makefile
+++ b/devel/py-breathe/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	breathe
-PORTVERSION=	4.35.0
-PORTREVISION=	3
+PORTVERSION=	4.36.0
 CATEGORIES=	devel python
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
@@ -12,12 +11,12 @@ LICENSE=	BSD2CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 BUILD_DEPENDS=	${RUN_DEPENDS} \
-		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+		${PYTHON_PKGNAMEPREFIX}flit-core>=3.7:devel/py-flit-core@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}furo>=0:textproc/py-furo@${PY_FLAVOR} \
 		graphviz>=0:graphics/graphviz \
-		${PYTHON_PKGNAMEPREFIX}setuptools>=63.1.0:devel/py-setuptools@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}sphinx>=0,1:textproc/py-sphinx@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}sphinx>=7.2,1:textproc/py-sphinx@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}sphinx-copybutton>=0:textproc/py-sphinx-copybutton@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}sphinxcontrib-spelling>=0:textproc/py-sphinxcontrib-spelling@${PY_FLAVOR} \
 		doxygen:devel/doxygen
 
 USES=		gmake python
@@ -39,7 +38,7 @@ PORTDOCS=	*
 PORTEXAMPLES=	*
 
 post-patch:
-		${REINPLACE_CMD} "s/^git_tag = subprocess.*/git_tag = b'v${PORTVERSION}'/" \
+		${REINPLACE_CMD} "s/%%VERSION%%/v${PORTVERSION}/" \
 			${WRKSRC}/documentation/source/conf.py
 
 post-build-DOCS-on:
diff --git a/devel/py-breathe/distinfo b/devel/py-breathe/distinfo
index b80301f08de6..208b1a4e6528 100644
--- a/devel/py-breathe/distinfo
+++ b/devel/py-breathe/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1678299982
-SHA256 (michaeljones-breathe-4.35.0-v4.35.0_GH0.tar.gz) = 55b54723752fc04b892a0f868782b1df65e69db6ca94fb32cf04be495bfd7841
-SIZE (michaeljones-breathe-4.35.0-v4.35.0_GH0.tar.gz) = 212932
+TIMESTAMP = 1777191940
+SHA256 (michaeljones-breathe-4.36.0-v4.36.0_GH0.tar.gz) = 94fc2277e639929e898cb95559d9d2c51cf764b787eaf6fa04f848a6550c2ff5
+SIZE (michaeljones-breathe-4.36.0-v4.36.0_GH0.tar.gz) = 219346
diff --git a/devel/py-breathe/files/patch-documentation_source_conf.py b/devel/py-breathe/files/patch-documentation_source_conf.py
new file mode 100644
index 000000000000..53b66da2c945
--- /dev/null
+++ b/devel/py-breathe/files/patch-documentation_source_conf.py
@@ -0,0 +1,18 @@
+--- documentation/source/conf.py.orig	2026-04-26 08:35:23 UTC
++++ documentation/source/conf.py
+@@ -37,12 +37,12 @@ else:
+     version = release = "compare"
+ else:
+     # Get a description of the current position.
+-    git_tag = subprocess.run(["git", "describe", "--tags"], capture_output=True, encoding="utf-8")
+-    if re.match(r"^v\d+\.\d+\.\d+$", git_tag.stdout):
++    git_tag = "%%VERSION%%"
++    if re.match(r"^v\d+\.\d+\.\d+$", git_tag):
+         # Check if it matches a pure tag number vX.Y.Z,
+         # rather than vX.Y.Z-91-g8676988, which is how non-tagged commits
+         # are described (relative to the last tag).
+-        version = release = git_tag.stdout
++        version = release = git_tag
+     else:
+         version = release = "latest"
+ 


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a3eb622.39129.4587d8d0>