git: 053c188372db - main - devel/py-breathe: fix LaTeX build with .svg images
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 03 Jul 2026 06:32:15 UTC
The branch main has been updated by arrowd:
URL: https://cgit.FreeBSD.org/ports/commit/?id=053c188372dba00e0d9c948317f991337b462711
commit 053c188372dba00e0d9c948317f991337b462711
Author: Matthias Andree <mandree@FreeBSD.org>
AuthorDate: 2026-07-02 18:37:27 +0000
Commit: Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2026-07-03 06:32:00 +0000
devel/py-breathe: fix LaTeX build with .svg images
Obtained from: https://github.com/breathe-doc/breathe/pull/1027
Also, depend on ImageMagick (USES+=magick) because this now requires
the "convert" utility.
PR: 296471
Pull Request: https://github.com/freebsd/freebsd-ports/pull/550
---
devel/py-breathe/Makefile | 3 ++-
devel/py-breathe/files/patch-documentation_source_conf.py | 11 ++++++++++-
2 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/devel/py-breathe/Makefile b/devel/py-breathe/Makefile
index 5c34f163b062..915c44ec05e1 100644
--- a/devel/py-breathe/Makefile
+++ b/devel/py-breathe/Makefile
@@ -1,5 +1,6 @@
PORTNAME= breathe
PORTVERSION= 4.36.0
+PORTREVISION= 1
CATEGORIES= devel python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -19,7 +20,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}furo>=0:textproc/py-furo@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}sphinxcontrib-spelling>=0:textproc/py-sphinxcontrib-spelling@${PY_FLAVOR} \
doxygen:devel/doxygen
-USES= gmake python
+USES= gmake magick python
USE_GITHUB= yes
GH_TUPLE= michaeljones:breathe:v${PORTVERSION}
USE_PYTHON= autoplist pep517 pytest
diff --git a/devel/py-breathe/files/patch-documentation_source_conf.py b/devel/py-breathe/files/patch-documentation_source_conf.py
index 53b66da2c945..fc8ed789e88f 100644
--- a/devel/py-breathe/files/patch-documentation_source_conf.py
+++ b/devel/py-breathe/files/patch-documentation_source_conf.py
@@ -1,6 +1,15 @@
+diff -u documentation/source/conf.py.orig b/documentation/source/conf.py
--- documentation/source/conf.py.orig 2026-04-26 08:35:23 UTC
+++ documentation/source/conf.py
-@@ -37,12 +37,12 @@ else:
+@@ -22,6 +22,7 @@
+ extensions = [
+ "breathe",
+ "sphinx.ext.graphviz",
++ "sphinx.ext.imgconverter",
+ "sphinx_copybutton",
+ "sphinxcontrib.spelling",
+ ]
+@@ -37,12 +38,12 @@
version = release = "compare"
else:
# Get a description of the current position.