diff options
| author | Matthias Andree <mandree@FreeBSD.org> | 2026-07-02 18:37:27 +0000 |
|---|---|---|
| committer | Gleb Popov <arrowd@FreeBSD.org> | 2026-07-03 06:32:00 +0000 |
| commit | 053c188372dba00e0d9c948317f991337b462711 (patch) | |
| tree | e9a8e2d85bb972740f82daccaa7fea234a9a8bfe | |
| parent | 29309837995452589b5a7ac208dcbfaa5d673fa2 (diff) | |
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
| -rw-r--r-- | devel/py-breathe/Makefile | 3 | ||||
| -rw-r--r-- | 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. |
