commit:     8b66dfac4898666bd95c77dde05e1f0b973f4b42
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 25 11:55:27 2018 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Wed Jul 25 11:55:27 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b66dfac

sys-apps/file: Fixed installation with USE="python"

Closes: https://bugs.gentoo.org/662090
Package-Manager: Portage-2.3.43, Repoman-2.3.10

 sys-apps/file/file-5.34.ebuild | 3 ++-
 sys-apps/file/file-9999.ebuild | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/sys-apps/file/file-5.34.ebuild b/sys-apps/file/file-5.34.ebuild
index 536dd456e9b..848fa28a482 100644
--- a/sys-apps/file/file-5.34.ebuild
+++ b/sys-apps/file/file-5.34.ebuild
@@ -40,7 +40,8 @@ src_prepare() {
        elibtoolize
 
        # don't let python README kill main README #60043
-       mv python/README.md README.python.md || die
+       mv python/README.md python/README.python.md || die
+       sed 's...@readme.md@README.python.md@' -i python/setup.py || die #662090
 }
 
 multilib_src_configure() {

diff --git a/sys-apps/file/file-9999.ebuild b/sys-apps/file/file-9999.ebuild
index f346e1b700a..8bdee5d348a 100644
--- a/sys-apps/file/file-9999.ebuild
+++ b/sys-apps/file/file-9999.ebuild
@@ -41,7 +41,8 @@ src_prepare() {
        elibtoolize
 
        # don't let python README kill main README #60043
-       mv python/README.md README.python.md || die
+       mv python/README.md python/README.python.md || die
+       sed 's...@readme.md@README.python.md@' -i python/setup.py || die #662090
 }
 
 multilib_src_configure() {

Reply via email to