commit:     7255875e59602ac8762349be9c840f471fbe2ecb
Author:     Davide Pesavento <pesa <AT> gentoo <DOT> org>
AuthorDate: Wed May  4 19:58:50 2016 +0000
Commit:     Davide Pesavento <pesa <AT> gentoo <DOT> org>
CommitDate: Wed May  4 19:58:50 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7255875e

dev-python/sip: streamline docs installation

Package-Manager: portage-2.2.28

 dev-python/sip/sip-4.18.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-python/sip/sip-4.18.ebuild b/dev-python/sip/sip-4.18.ebuild
index 799bd72..e68fba8 100644
--- a/dev-python/sip/sip-4.18.ebuild
+++ b/dev-python/sip/sip-4.18.ebuild
@@ -26,7 +26,6 @@ REQUIRED_USE="
 "
 
 PATCHES=( "${FILESDIR}"/${PN}-4.18-darwin.patch )
-DOCS=( "${S}"/{ChangeLog,NEWS} )
 
 src_prepare() {
        # Sub-slot sanity check
@@ -41,7 +40,7 @@ src_prepare() {
                die "sub-slot sanity check failed"
        fi
 
-       # Fix out-of-source installation of sip.pyi
+       # Fix out-of-source installation of sip.pyi (reported upstream)
        sed -i -e '/installs.*sip\.pyi/ s/build_dir/src_dir/' configure.py || 
die
 
        default
@@ -82,10 +81,11 @@ src_compile() {
 
 src_install() {
        installation() {
-               default
+               emake DESTDIR="${D}" install
                python_optimize
        }
        python_foreach_impl run_in_build_dir installation
 
+       einstalldocs
        use doc && dodoc -r doc/html
 }

Reply via email to