media-libs/aubio: fix build with USE=python; bug #592284
authorAlexis Ballier <aballier@gentoo.org>
Sun, 28 Aug 2016 14:11:57 +0000 (16:11 +0200)
committerAlexis Ballier <aballier@gentoo.org>
Sun, 28 Aug 2016 14:11:57 +0000 (16:11 +0200)
Package-Manager: portage-2.3.0

media-libs/aubio/aubio-0.4.3.ebuild

index 3d53661fa17c72d9ff29e752528ad82379d157db..fd52d914be56501e511c24f23de413a5932039c2 100644 (file)
@@ -37,7 +37,7 @@ DEPEND="${RDEPEND}
 REQUIRED_USE=${PYTHON_REQUIRED_USE}
 
 DOCS=( AUTHORS ChangeLog README.md )
-PYTHON_SRC_DIR="${S}/python"
+PYTHON_SRC_DIR="${S}"
 
 src_prepare() {
        sed -i -e "s:doxygen:doxygen_disabled:" wscript || die
@@ -101,6 +101,6 @@ src_install() {
        if use python ; then
                cd "${PYTHON_SRC_DIR}" || die
                DOCS="" distutils-r1_src_install
-               newdoc README README.python
+               newdoc python/README.md README.python
        fi
 }