diff --git a/dev-libs/cglm/cglm-0.9.6.ebuild b/dev-libs/cglm/cglm-0.9.6.ebuild index 12d38d130017..7df3d449f0e9 100644 --- a/dev-libs/cglm/cglm-0.9.6.ebuild +++ b/dev-libs/cglm/cglm-0.9.6.ebuild @@ -1,4 +1,4 @@ -# Copyright 2023-2025 Gentoo Authors +# Copyright 2023-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -8,7 +8,7 @@ DOCS_AUTODOC=1 DOCS_DEPEND="dev-python/sphinx-rtd-theme" DOCS_DIR="${S}/docs/source" -PYTHON_COMPAT=( python3_{9..13} ) +PYTHON_COMPAT=( python3_{11..14} ) inherit python-any-r1 docs meson DESCRIPTION="OpenGL Mathematics (glm) for C" @@ -19,14 +19,16 @@ LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~arm ~ppc64 ~x86" IUSE="test" - RESTRICT="!test? ( test )" +BDEPEND="${PYTHON_DEPS}" + src_prepare() { default # DOCS_DEPEND needs DOCS_AUTODOC which needs the extension sed -i -e "/^extensions/s/$/ 'sphinx.ext.autodoc',/" docs/source/conf.py || die } + src_configure() { local emesonargs=( $(meson_use test build_tests)