commit: 3fc773111252f544e508d1dd27b5ff0ee659e98e Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Wed May 8 21:32:38 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Wed May 8 21:32:38 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3fc77311
media-sound/beets: fix build w/ USE=doc and >=sphinx-7 Closes: https://bugs.gentoo.org/927904 Signed-off-by: Sam James <sam <AT> gentoo.org> media-sound/beets/beets-1.6.0-r1.ebuild | 6 ++++-- media-sound/beets/beets-9999.ebuild | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/media-sound/beets/beets-1.6.0-r1.ebuild b/media-sound/beets/beets-1.6.0-r1.ebuild index cdc5158e3f60..5d407a5cc040 100644 --- a/media-sound/beets/beets-1.6.0-r1.ebuild +++ b/media-sound/beets/beets-1.6.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -98,7 +98,9 @@ python_prepare_all() { } python_compile_all() { - use doc && esetup.py build_sphinx -b html --build-dir=docs/build + if use doc ; then + sphinx-build -b html docs docs/build || die + fi } python_install_all() { diff --git a/media-sound/beets/beets-9999.ebuild b/media-sound/beets/beets-9999.ebuild index 03d6d8352705..8c8520a503a4 100644 --- a/media-sound/beets/beets-9999.ebuild +++ b/media-sound/beets/beets-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -91,7 +91,9 @@ python_prepare_all() { } python_compile_all() { - use doc && esetup.py build_sphinx -b html --build-dir=docs/build + if use doc ; then + sphinx-build -b html docs docs/build || die + fi } python_install_all() {
