From: Michał Górny Date: Mon, 25 Nov 2019 12:25:09 +0000 (+0100) Subject: dev-python/olefile: Use distutils_enable_sphinx X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=37d2da49833193d1821ed8ea8662dd8e154549e0;p=gentoo.git dev-python/olefile: Use distutils_enable_sphinx Signed-off-by: Michał Górny --- diff --git a/dev-python/olefile/olefile-0.46.ebuild b/dev-python/olefile/olefile-0.46.ebuild index a78fc2a6f0b8..bd4044fe5ca6 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 -}