[Bug 285957] lang/python312 as default python
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 285957] lang/python312 as default python on stable/14"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 31 Mar 2026 06:57:36 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=285957
--- Comment #62 from Tatsuki Makino <tatsuki_makino@hotmail.com> ---
(In reply to Tatsuki Makino from comment #61)
With changes like the following, building devel/py-dbus for a version of python
that is not the default version will be successful again.
However, it is only for py310 and py312, and the one for py313 is ignored by
textproc/py-sphinx.
Following is a unified diff of the changes.
diff --git a/Mk/Uses/meson.mk b/Mk/Uses/meson.mk
index f1b41cbdbceb..fd79fa8a5588 100644
--- a/Mk/Uses/meson.mk
+++ b/Mk/Uses/meson.mk
@@ -35,7 +35,7 @@ IGNORE= 'USES+= meson:${meson_ARGS}' usage: argument
[${_arg}] is not recognized
. if !empty(meson_ARGS:Mmuon)
BUILD_DEPENDS+= muon:devel/muon
. else
-BUILD_DEPENDS+= meson:devel/meson
+BUILD_DEPENDS+= meson:devel/meson${PY_FLAVOR:D@${PY_FLAVOR}}
. endif
# meson uses ninja
diff --git a/devel/py-dbus/Makefile b/devel/py-dbus/Makefile
index 7a35ec8f7fd9..ff39df4225f8 100644
--- a/devel/py-dbus/Makefile
+++ b/devel/py-dbus/Makefile
@@ -32,8 +32,9 @@ OPTIONS_DEFINE= DOCS EXAMPLES
OPTIONS_SUB= yes
DOCS_DESC= Build and install HTML documentation (requires
Sphinx)
-DOCS_BUILD_DEPENDS= sphinx-build:textproc/py-sphinx \
+DOCS_BUILD_DEPENDS=
sphinx-build-${PYTHON_VER}:textproc/py-sphinx@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}sphinx_rtd_theme>0:textproc/py-sphinx_rtd_theme@${PY_FLAVOR}
+DOCS_BINARY_ALIAS= sphinx-build=sphinx-build-${PYTHON_VER}
DOCS_MESON_ENABLED= doc
post-patch:
--
You are receiving this mail because:
You are the assignee for the bug.