1 |
commit: 855cfa75313c24c6b6e55a7f60d5e2f4edda9c99 |
2 |
Author: Sébastien Fabbro <bicatali <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Aug 2 02:20:34 2017 +0000 |
4 |
Commit: Sebastien Fabbro <bicatali <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Aug 2 04:06:25 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=855cfa75 |
7 |
|
8 |
dev-python/sphinxcontrib-newsfeed: fix for sphinxcontrib namespace, added prefix and x86 |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.3 |
11 |
|
12 |
.../sphinxcontrib-newsfeed-0.1.4.ebuild | 15 ++++++++++----- |
13 |
1 file changed, 10 insertions(+), 5 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/sphinxcontrib-newsfeed/sphinxcontrib-newsfeed-0.1.4.ebuild b/dev-python/sphinxcontrib-newsfeed/sphinxcontrib-newsfeed-0.1.4.ebuild |
16 |
index b31cfd58c28..b53938a825e 100644 |
17 |
--- a/dev-python/sphinxcontrib-newsfeed/sphinxcontrib-newsfeed-0.1.4.ebuild |
18 |
+++ b/dev-python/sphinxcontrib-newsfeed/sphinxcontrib-newsfeed-0.1.4.ebuild |
19 |
@@ -1,7 +1,7 @@ |
20 |
# Copyright 1999-2017 Gentoo Foundation |
21 |
# Distributed under the terms of the GNU General Public License v2 |
22 |
|
23 |
-EAPI=5 |
24 |
+EAPI=6 |
25 |
PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) |
26 |
|
27 |
inherit distutils-r1 |
28 |
@@ -12,14 +12,19 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
29 |
|
30 |
LICENSE="BSD-2" |
31 |
SLOT="0" |
32 |
-KEYWORDS="~amd64 ~x86" |
33 |
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
34 |
IUSE="examples" |
35 |
|
36 |
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" |
37 |
-RDEPEND="dev-python/sphinx[${PYTHON_USEDEP}]" |
38 |
+RDEPEND="dev-python/sphinx[${PYTHON_USEDEP}] |
39 |
+ dev-python/namespace-sphinxcontrib[${PYTHON_USEDEP}]" |
40 |
|
41 |
python_install_all() { |
42 |
- use examples && local EXAMPLES=( demo/. ) |
43 |
- |
44 |
distutils-r1_python_install_all |
45 |
+ find "${ED}" -name '*.pth' -delete || die |
46 |
+ if use examples; then |
47 |
+ insinto /usr/share/doc/${PF}/examples |
48 |
+ doins -r demo/. |
49 |
+ docompress -x /usr/share/doc/${PF}/examples |
50 |
+ fi |
51 |
} |