sys-fs/libeatmydata: refresh to EAPI=7
authorSergei Trofimovich <slyfox@gentoo.org>
Sun, 10 Nov 2019 12:06:54 +0000 (12:06 +0000)
committerSergei Trofimovich <slyfox@gentoo.org>
Sun, 10 Nov 2019 12:07:03 +0000 (12:07 +0000)
Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
sys-fs/libeatmydata/files/libeatmydata-105-undpkg.patch
sys-fs/libeatmydata/libeatmydata-105-r2.ebuild [moved from sys-fs/libeatmydata/libeatmydata-105-r1.ebuild with 83% similarity]

index 3ffd698c7ddd0512dd0590149e6a903bae037929..41362d1c253179c28a2bf6da32b6dd81c83e9fc0 100644 (file)
@@ -1,8 +1,6 @@
 Don't rely on debian's way to multilib/multiarch.
 
 https://bugs.gentoo.org/550344
-diff --git a/eatmydata.in b/eatmydata.in
-index 40468db..aa143f0 100644
 --- a/eatmydata.in
 +++ b/eatmydata.in
 @@ -17,5 +17,4 @@
similarity index 83%
rename from sys-fs/libeatmydata/libeatmydata-105-r1.ebuild
rename to sys-fs/libeatmydata/libeatmydata-105-r2.ebuild
index 4065bab2afd0901f11f430d592a98467199c5f80..2b6e0ab0a184a1140e9c0c13d40b641b73ff0edd 100644 (file)
@@ -1,8 +1,9 @@
 # Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
-inherit autotools-multilib eutils
+EAPI=7
+
+inherit multilib-minimal
 
 DESCRIPTION="LD_PRELOAD hack to convert sync()/msync() and the like to NO-OP"
 HOMEPAGE="https://launchpad.net/libeatmydata/"
@@ -14,7 +15,7 @@ KEYWORDS="~amd64 ~x86"
 IUSE=""
 
 # sandbox fools LD_PRELOAD and libeatmydata does not get control
-# bug/feature in sandbox?
+# feature of sandbox
 #DEPEND="test? ( dev-util/strace )"
 RESTRICT=test
 
@@ -25,8 +26,10 @@ PATCHES=(
        "${FILESDIR}"/${PN}-105-undpkg.patch
 )
 
+ECONF_SOURCE=${S}
+
 multilib_src_install_all() {
-       prune_libtool_files --all
+       find "${D}" -name '*.la' -type f -delete || die
 
        dodoc AUTHORS README
 }