From 37d2da49833193d1821ed8ea8662dd8e154549e0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Mon, 25 Nov 2019 13:25:09 +0100 Subject: [PATCH] dev-python/olefile: Use distutils_enable_sphinx MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- 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 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 -} -- 2.26.2