Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-astronomy/gnuastro/
Date: Mon, 31 May 2021 09:20:22
Message-Id: 1622452749.2aeb28a023770d6921c8d7fde02c7d1056252793.soap@gentoo
1 commit: 2aeb28a023770d6921c8d7fde02c7d1056252793
2 Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 31 09:19:09 2021 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Mon May 31 09:19:09 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2aeb28a0
7
8 sci-astronomy/gnuastro: drop deprecated ltprune eclass
9
10 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
11 Signed-off-by: David Seifert <soap <AT> gentoo.org>
12
13 sci-astronomy/gnuastro/gnuastro-0.3.ebuild | 7 +++++--
14 1 file changed, 5 insertions(+), 2 deletions(-)
15
16 diff --git a/sci-astronomy/gnuastro/gnuastro-0.3.ebuild b/sci-astronomy/gnuastro/gnuastro-0.3.ebuild
17 index 75df93e2412..fe896068c87 100644
18 --- a/sci-astronomy/gnuastro/gnuastro-0.3.ebuild
19 +++ b/sci-astronomy/gnuastro/gnuastro-0.3.ebuild
20 @@ -3,7 +3,7 @@
21
22 EAPI=6
23
24 -inherit autotools ltprune
25 +inherit autotools
26
27 DESCRIPTION="GNU Astronomy Utilities"
28 HOMEPAGE="https://www.gnu.org/software/gnuastro"
29 @@ -45,5 +45,8 @@ src_configure() {
30
31 src_install() {
32 default
33 - use static-libs || prune_libtool_files --all
34 +
35 + if ! use static-libs; then
36 + find "${ED}" -name '*.la' -delete || die
37 + fi
38 }