1 |
commit: 232a453d56aef326b5d36aed0b090754b12208ff |
2 |
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jan 24 20:51:40 2017 +0000 |
4 |
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jan 24 20:52:26 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=232a453d |
7 |
|
8 |
dev-python/logilab-common: drop broken docs build |
9 |
|
10 |
Gentoo-Bug: https://bugs.gentoo.org/606538 |
11 |
Package-Manager: Portage-2.3.3_p39, Repoman-2.3.1_p32 |
12 |
|
13 |
.../logilab-common/logilab-common-1.2.2.ebuild | 24 ++-------------------- |
14 |
1 file changed, 2 insertions(+), 22 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/logilab-common/logilab-common-1.2.2.ebuild b/dev-python/logilab-common/logilab-common-1.2.2.ebuild |
17 |
index c4c00e4..b8e2a25 100644 |
18 |
--- a/dev-python/logilab-common/logilab-common-1.2.2.ebuild |
19 |
+++ b/dev-python/logilab-common/logilab-common-1.2.2.ebuild |
20 |
@@ -16,7 +16,7 @@ SRC_URI="ftp://ftp.logilab.org/pub/common/${P}.tar.gz mirror://pypi/${PN:0:1}/${ |
21 |
LICENSE="LGPL-2.1" |
22 |
SLOT="0" |
23 |
KEYWORDS="~alpha amd64 ~arm ia64 ppc ppc64 ~s390 sparc x86 ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" |
24 |
-IUSE="doc test" |
25 |
+IUSE="test" |
26 |
|
27 |
RDEPEND=">=dev-python/six-1.4.0[${PYTHON_USEDEP}] |
28 |
dev-python/setuptools[${PYTHON_USEDEP}]" |
29 |
@@ -25,34 +25,14 @@ DEPEND="${RDEPEND} |
30 |
$(python_gen_cond_dep 'dev-python/egenix-mx-base[${PYTHON_USEDEP}]' python2_7) |
31 |
dev-python/pytz[${PYTHON_USEDEP}] |
32 |
) |
33 |
- doc? ( $(python_gen_cond_dep 'dev-python/epydoc[${PYTHON_USEDEP}]' python2_7) )" |
34 |
+" |
35 |
|
36 |
PATCHES=( "${FILESDIR}/${P}-test-namespace-fix.patch" ) |
37 |
|
38 |
-python_prepare_all() { |
39 |
- sed -i \ |
40 |
- -e 's:(CURDIR):{S}/${P}:' \ |
41 |
- doc/makefile || die |
42 |
- |
43 |
- distutils-r1_python_prepare_all |
44 |
-} |
45 |
- |
46 |
-python_compile_all() { |
47 |
- if use doc; then |
48 |
- # Based on the doc build in Arfrever's ebuild. It works |
49 |
- pushd doc > /dev/null |
50 |
- mkdir -p apidoc || die |
51 |
- epydoc --parse-only -o apidoc --html -v --no-private --exclude=__pkginfo__ --exclude=setup --exclude=test \ |
52 |
- -n "Logilab's common library" "$(ls -d ../build/lib/logilab/common/)" build \ |
53 |
- || die "Generation of documentation failed" |
54 |
- fi |
55 |
-} |
56 |
- |
57 |
python_install_all() { |
58 |
distutils-r1_python_install_all |
59 |
|
60 |
doman doc/pytest.1 |
61 |
- use doc && HTML_DOCS=( doc/apidoc/. ) |
62 |
} |
63 |
|
64 |
python_test() { |