Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/olefile/
Date: Mon, 25 Nov 2019 12:35:38
Message-Id: 1574685312.37d2da49833193d1821ed8ea8662dd8e154549e0.mgorny@gentoo
1 commit: 37d2da49833193d1821ed8ea8662dd8e154549e0
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Nov 25 12:25:09 2019 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Nov 25 12:35:12 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37d2da49
7
8 dev-python/olefile: Use distutils_enable_sphinx
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/olefile/olefile-0.46.ebuild | 17 +----------------
13 1 file changed, 1 insertion(+), 16 deletions(-)
14
15 diff --git a/dev-python/olefile/olefile-0.46.ebuild b/dev-python/olefile/olefile-0.46.ebuild
16 index a78fc2a6f0b..bd4044fe5ca 100644
17 --- a/dev-python/olefile/olefile-0.46.ebuild
18 +++ b/dev-python/olefile/olefile-0.46.ebuild
19 @@ -14,21 +14,6 @@ SRC_URI="https://github.com/decalage2/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
20 LICENSE="BSD-2"
21 SLOT="0"
22 KEYWORDS="alpha amd64 arm arm64 ~hppa ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux"
23 -IUSE="doc"
24 -
25 -BDEPEND="
26 - doc? ( $(python_gen_any_dep 'dev-python/sphinx[${PYTHON_USEDEP}]') )"
27
28 +distutils_enable_sphinx doc
29 distutils_enable_tests unittest
30 -
31 -python_check_deps() {
32 - use doc || return 0
33 - has_version "dev-python/sphinx[${PYTHON_USEDEP}]"
34 -}
35 -
36 -python_compile_all() {
37 - if use doc; then
38 - emake -C doc html
39 - HTML_DOCS=( doc/_build/html/. )
40 - fi
41 -}