media-libs/aubio: Install python last so that cwd is not changed too early. Bug ...
authorAlexis Ballier <aballier@gentoo.org>
Tue, 10 Nov 2015 11:52:25 +0000 (12:52 +0100)
committerAlexis Ballier <aballier@gentoo.org>
Tue, 10 Nov 2015 11:52:32 +0000 (12:52 +0100)
Package-Manager: portage-2.2.24
Signed-off-by: Alexis Ballier <aballier@gentoo.org>
media-libs/aubio/aubio-0.4.2.ebuild

index 9f5142f77429bcdf2c46ac08b4d1b17fc6351fe9..6104f6a314d7e23aae6d79d3f0f9062123440370 100644 (file)
@@ -88,12 +88,6 @@ src_test() {
 src_install() {
        waf-utils_src_install
 
-       if use python ; then
-               cd "${PYTHON_SRC_DIR}" || die
-               DOCS="" distutils-r1_src_install
-               newdoc README README.python
-       fi
-
        if use doc; then
                dohtml -r doc/full/html/.
                dodoc doc/*.txt
@@ -103,4 +97,10 @@ src_install() {
                # install dist_noinst_SCRIPTS from Makefile.am
                dodoc -r examples
        fi
+
+       if use python ; then
+               cd "${PYTHON_SRC_DIR}" || die
+               DOCS="" distutils-r1_src_install
+               newdoc README README.python
+       fi
 }