commit: 37d2da49833193d1821ed8ea8662dd8e154549e0 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Mon Nov 25 12:25:09 2019 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Mon Nov 25 12:35:12 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37d2da49
dev-python/olefile: Use distutils_enable_sphinx Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/olefile/olefile-0.46.ebuild | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/dev-python/olefile/olefile-0.46.ebuild b/dev-python/olefile/olefile-0.46.ebuild index a78fc2a6f0b..bd4044fe5ca 100644 --- a/dev-python/olefile/olefile-0.46.ebuild +++ b/dev-python/olefile/olefile-0.46.ebuild @@ -14,21 +14,6 @@ SRC_URI="https://github.com/decalage2/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz LICENSE="BSD-2" SLOT="0" KEYWORDS="alpha amd64 arm arm64 ~hppa ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux" -IUSE="doc" - -BDEPEND=" - doc? ( $(python_gen_any_dep 'dev-python/sphinx[${PYTHON_USEDEP}]') )" +distutils_enable_sphinx doc distutils_enable_tests unittest - -python_check_deps() { - use doc || return 0 - has_version "dev-python/sphinx[${PYTHON_USEDEP}]" -} - -python_compile_all() { - if use doc; then - emake -C doc html - HTML_DOCS=( doc/_build/html/. ) - fi -}
