summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2019-11-25 13:25:09 +0100
committerMichał Górny <mgorny@gentoo.org>2019-11-25 13:35:12 +0100
commit37d2da49833193d1821ed8ea8662dd8e154549e0 (patch)
tree2fe4eb23b617eb9d0b12a87655ad8eac8687f9e5 /dev-python/olefile
parentdev-python/more-itertools: Use distutils_enable_sphinx (diff)
downloadgentoo-37d2da49833193d1821ed8ea8662dd8e154549e0.tar.gz
gentoo-37d2da49833193d1821ed8ea8662dd8e154549e0.tar.bz2
gentoo-37d2da49833193d1821ed8ea8662dd8e154549e0.zip
dev-python/olefile: Use distutils_enable_sphinx
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/olefile')
-rw-r--r--dev-python/olefile/olefile-0.46.ebuild17
1 files changed, 1 insertions, 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
-}