commit:     4c77c90238b8e3edb5a87ebac0f0be698143f18b
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat May 26 08:57:25 2018 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat May 26 08:58:22 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c77c902

sci-libs/szip: [QA] Remove eutils

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 sci-libs/szip/szip-2.1-r2.ebuild | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/sci-libs/szip/szip-2.1-r2.ebuild b/sci-libs/szip/szip-2.1-r2.ebuild
index f21bfef39ae..603af0c3cff 100644
--- a/sci-libs/szip/szip-2.1-r2.ebuild
+++ b/sci-libs/szip/szip-2.1-r2.ebuild
@@ -3,17 +3,15 @@
 
 EAPI=6
 
-inherit eutils
-
 DESCRIPTION="Extended-Rice lossless compression algorithm implementation"
 HOMEPAGE="http://www.hdfgroup.org/doc_resource/SZIP/";
 SRC_URI="ftp://ftp.hdfgroup.org/lib-external/${PN}/${PV}/src/${P}.tar.gz";
-LICENSE="szip"
 
+LICENSE="szip"
 SLOT="0/2"
 KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd 
~amd64-linux ~x86-linux"
-
 IUSE="static-libs"
+
 RDEPEND="!sci-libs/libaec[szip]"
 DEPEND=""
 
@@ -25,5 +23,8 @@ src_configure() {
 
 src_install() {
        default
-       use static-libs || prune_libtool_files --all
+
+       if ! use static-libs; then
+               find "${D}" -name '*.la' -delete || die
+       fi
 }

Reply via email to