1 |
commit: 7255875e59602ac8762349be9c840f471fbe2ecb |
2 |
Author: Davide Pesavento <pesa <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed May 4 19:58:50 2016 +0000 |
4 |
Commit: Davide Pesavento <pesa <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed May 4 19:58:50 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7255875e |
7 |
|
8 |
dev-python/sip: streamline docs installation |
9 |
|
10 |
Package-Manager: portage-2.2.28 |
11 |
|
12 |
dev-python/sip/sip-4.18.ebuild | 6 +++--- |
13 |
1 file changed, 3 insertions(+), 3 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/sip/sip-4.18.ebuild b/dev-python/sip/sip-4.18.ebuild |
16 |
index 799bd72..e68fba8 100644 |
17 |
--- a/dev-python/sip/sip-4.18.ebuild |
18 |
+++ b/dev-python/sip/sip-4.18.ebuild |
19 |
@@ -26,7 +26,6 @@ REQUIRED_USE=" |
20 |
" |
21 |
|
22 |
PATCHES=( "${FILESDIR}"/${PN}-4.18-darwin.patch ) |
23 |
-DOCS=( "${S}"/{ChangeLog,NEWS} ) |
24 |
|
25 |
src_prepare() { |
26 |
# Sub-slot sanity check |
27 |
@@ -41,7 +40,7 @@ src_prepare() { |
28 |
die "sub-slot sanity check failed" |
29 |
fi |
30 |
|
31 |
- # Fix out-of-source installation of sip.pyi |
32 |
+ # Fix out-of-source installation of sip.pyi (reported upstream) |
33 |
sed -i -e '/installs.*sip\.pyi/ s/build_dir/src_dir/' configure.py || die |
34 |
|
35 |
default |
36 |
@@ -82,10 +81,11 @@ src_compile() { |
37 |
|
38 |
src_install() { |
39 |
installation() { |
40 |
- default |
41 |
+ emake DESTDIR="${D}" install |
42 |
python_optimize |
43 |
} |
44 |
python_foreach_impl run_in_build_dir installation |
45 |
|
46 |
+ einstalldocs |
47 |
use doc && dodoc -r doc/html |
48 |
} |