From e7b6b7bf15db0f610d47d324b564abc244a76a7f Mon Sep 17 00:00:00 2001 From: Zamarin Arthur Date: Tue, 25 May 2021 17:14:18 +0300 Subject: media-libs/mutagen: cleanup doc generation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Zamarin Arthur Signed-off-by: Michał Górny --- media-libs/mutagen/mutagen-1.45.1.ebuild | 20 +++++--------------- 1 file changed, 5 insertions(+), 15 deletions(-) (limited to 'media-libs/mutagen') 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 -} -- cgit v1.2.3-65-gdbad