summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Seren <guillaumeseren@gmail.com>2020-12-09 20:45:36 +0100
committerJoonas Niilola <juippis@gentoo.org>2021-01-18 14:27:05 +0200
commitfbddb8ec8d54d2e1ec001d97f3e52c81deb7043f (patch)
treea01fcf0475b65833497060180328e76e616a9ef2 /media-sound
parentmedia-sound/beets: Drop old ebuild (diff)
downloadgentoo-fbddb8ec8d54d2e1ec001d97f3e52c81deb7043f.tar.gz
gentoo-fbddb8ec8d54d2e1ec001d97f3e52c81deb7043f.tar.bz2
gentoo-fbddb8ec8d54d2e1ec001d97f3e52c81deb7043f.zip
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>
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/beets/beets-1.4.9-r3.ebuild7
-rw-r--r--media-sound/beets/beets-9999.ebuild7
2 files changed, 8 insertions, 6 deletions
diff --git a/media-sound/beets/beets-1.4.9-r3.ebuild b/media-sound/beets/beets-1.4.9-r3.ebuild
index fe7c12adf3a9..d07f7f6efe20 100644
--- a/media-sound/beets/beets-1.4.9-r3.ebuild
+++ b/media-sound/beets/beets-1.4.9-r3.ebuild
@@ -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
diff --git a/media-sound/beets/beets-9999.ebuild b/media-sound/beets/beets-9999.ebuild
index fe7c12adf3a9..d07f7f6efe20 100644
--- a/media-sound/beets/beets-9999.ebuild
+++ b/media-sound/beets/beets-9999.ebuild
@@ -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