commit: 501f9e0004f152093fbb4fa19f3abcb3bfc4aa00 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Wed May 8 21:17:20 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Wed May 8 21:17:20 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=501f9e00
mail-filter/afew: fix build w/ >=sphinx-7 Closes: https://bugs.gentoo.org/906704 Signed-off-by: Sam James <sam <AT> gentoo.org> mail-filter/afew/afew-3.0.1.ebuild | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/mail-filter/afew/afew-3.0.1.ebuild b/mail-filter/afew/afew-3.0.1.ebuild index a0e78506c838..7113ba509d4a 100644 --- a/mail-filter/afew/afew-3.0.1.ebuild +++ b/mail-filter/afew/afew-3.0.1.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 DISTUTILS_SINGLE_IMPL=1 DISTUTILS_USE_SETUPTOOLS=rdepend -PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_COMPAT=( python3_{10..11} ) inherit distutils-r1 pypi @@ -46,8 +46,11 @@ python_prepare_all() { } python_compile_all() { - esetup.py build_sphinx -b man --build-dir=docs/build - use doc && esetup.py build_sphinx -b html --build-dir=docs/build + sphinx-build -b man docs docs/build/man || die + + if use doc ; then + sphinx-build -b html docs docs/build/html || die + fi } python_install_all() {
