dev-util/meld: workaround problems with --skip-build
authorMart Raudsepp <leio@gentoo.org>
Wed, 22 Apr 2020 16:35:11 +0000 (19:35 +0300)
committerMart Raudsepp <leio@gentoo.org>
Wed, 22 Apr 2020 16:35:51 +0000 (19:35 +0300)
Fixes regression since eclass commit
180fa85d7d00aea463c399f70348beaad9166eb7

Closes: https://bugs.gentoo.org/718014
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Mart Raudsepp <leio@gentoo.org>
dev-util/meld/meld-3.20.2-r1.ebuild [moved from dev-util/meld/meld-3.20.2.ebuild with 83% similarity]

similarity index 83%
rename from dev-util/meld/meld-3.20.2.ebuild
rename to dev-util/meld/meld-3.20.2-r1.ebuild
index 7227b74d1d92f687f94d1a20115679644aeccaa0..cd83e457a06a28c4bc613356c5f56c61e4078f7d 100644 (file)
@@ -40,3 +40,10 @@ DEPEND="${RDEPEND}
 python_compile_all() {
        mydistutilsargs=( --no-update-icon-cache --no-compile-schemas )
 }
+
+python_install() {
+       local mydistutilsargs=( --no-update-icon-cache --no-compile-schemas build )
+       distutils-r1_python_install
+       rm "${ED}"/usr/share/doc/meld-${PV}/{COPYING,NEWS} || die
+       rmdir "${ED}"/usr/share/doc/meld-${PV} || die
+}