media-sound/beets: Use pre-builded man page

Closes: https://bugs.gentoo.org/758647
Signed-off-by: Guillaume Seren <guillaumeseren@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/16046
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
Guillaume Seren
2020-12-09 20:45:36 +01:00
committed by Joonas Niilola
parent 5369b34188
commit fbddb8ec8d
2 changed files with 8 additions and 6 deletions

View File

@@ -92,7 +92,9 @@ DEPEND="
${RDEPEND}
"
BDEPEND="
dev-python/sphinx
doc? (
dev-python/sphinx
)
$(python_gen_cond_dep '
test? (
dev-python/beautifulsoup[${PYTHON_MULTI_USEDEP}]
@@ -143,14 +145,13 @@ 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
}
python_install_all() {
distutils-r1_python_install_all
doman docs/build/man/*
doman man/*
use doc && local HTML_DOCS=( docs/build/html/. )
einstalldocs

View File

@@ -92,7 +92,9 @@ DEPEND="
${RDEPEND}
"
BDEPEND="
dev-python/sphinx
doc? (
dev-python/sphinx
)
$(python_gen_cond_dep '
test? (
dev-python/beautifulsoup[${PYTHON_MULTI_USEDEP}]
@@ -143,14 +145,13 @@ 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
}
python_install_all() {
distutils-r1_python_install_all
doman docs/build/man/*
doman man/*
use doc && local HTML_DOCS=( docs/build/html/. )
einstalldocs