summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZamarin Arthur <arthurzam@gmail.com>2021-05-25 17:14:18 +0300
committerMichał Górny <mgorny@gentoo.org>2021-05-25 18:05:02 +0200
commite7b6b7bf15db0f610d47d324b564abc244a76a7f (patch)
tree247339679a25b5b723e46407da6de70d696780b9 /media-libs/mutagen
parentdev-python/pylast: bump to python 3.10 (diff)
downloadgentoo-e7b6b7bf15db0f610d47d324b564abc244a76a7f.tar.gz
gentoo-e7b6b7bf15db0f610d47d324b564abc244a76a7f.tar.bz2
gentoo-e7b6b7bf15db0f610d47d324b564abc244a76a7f.zip
media-libs/mutagen: cleanup doc generation
Signed-off-by: Zamarin Arthur <arthurzam@gmail.com> Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'media-libs/mutagen')
-rw-r--r--media-libs/mutagen/mutagen-1.45.1.ebuild20
1 files changed, 5 insertions, 15 deletions
diff --git a/media-libs/mutagen/mutagen-1.45.1.ebuild b/media-libs/mutagen/mutagen-1.45.1.ebuild
index 2f34aa453892..bc580066567e 100644
--- a/media-libs/mutagen/mutagen-1.45.1.ebuild
+++ b/media-libs/mutagen/mutagen-1.45.1.ebuild
@@ -4,7 +4,6 @@
EAPI=7
PYTHON_COMPAT=( python3_{7,8,9} )
-DISTUTILS_USE_SETUPTOOLS=rdepend
inherit distutils-r1
DESCRIPTION="Audio metadata tag reader and writer implemented in pure Python"
@@ -14,15 +13,11 @@ SRC_URI="https://github.com/quodlibet/mutagen/releases/download/release-${PV}/${
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~hppa ~ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux"
-IUSE="doc test"
+IUSE="test"
# TODO: Missing support for >=dev-python/eyeD3-0.7 API
# test? ( >=dev-python/eyeD3-0.7 )
BDEPEND="
- doc? (
- dev-python/sphinx
- dev-python/sphinx_rtd_theme
- )
test? (
dev-python/hypothesis[${PYTHON_USEDEP}]
dev-python/pyflakes[${PYTHON_USEDEP}]
@@ -32,16 +27,11 @@ BDEPEND="
RESTRICT="!test? ( test )"
-python_compile_all() {
- use doc && emake -C docs
-}
+DOCS=( NEWS README.rst )
+
+distutils_enable_sphinx docs \
+ dev-python/sphinx_rtd_theme
python_test() {
esetup.py test --no-quality
}
-
-python_install_all() {
- local DOCS=( NEWS README.rst )
- use doc && local HTML_DOCS=( docs/_build/. )
- distutils-r1_python_install_all
-}