Skip to content

Commit

Permalink
media-sound/beets: Use pre-builded man page
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/758647
Signed-off-by: Guillaume Seren <[email protected]>
Closes: gentoo#16046
Signed-off-by: Joonas Niilola <[email protected]>
  • Loading branch information
GuillaumeSeren authored and juippis committed Jan 18, 2021
1 parent 5369b34 commit fbddb8e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
7 changes: 4 additions & 3 deletions media-sound/beets/beets-1.4.9-r3.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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}]
Expand Down Expand Up @@ -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

Expand Down
7 changes: 4 additions & 3 deletions media-sound/beets/beets-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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}]
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit fbddb8e

Please sign in to comment.