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/pal/
Date: Mon, 31 May 2021 09:20:22
Message-Id: 1622452755.2b90fa9890229a4061a1bde0ac9322d292ed115f.soap@gentoo
1 commit: 2b90fa9890229a4061a1bde0ac9322d292ed115f
2 Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 31 09:19:15 2021 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Mon May 31 09:19:15 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b90fa98
7
8 sci-astronomy/pal: 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/pal/pal-0.9.7.ebuild | 8 +++++---
14 1 file changed, 5 insertions(+), 3 deletions(-)
15
16 diff --git a/sci-astronomy/pal/pal-0.9.7.ebuild b/sci-astronomy/pal/pal-0.9.7.ebuild
17 index 5ddae8ed01f..3ab899f976b 100644
18 --- a/sci-astronomy/pal/pal-0.9.7.ebuild
19 +++ b/sci-astronomy/pal/pal-0.9.7.ebuild
20 @@ -3,8 +3,6 @@
21
22 EAPI=6
23
24 -inherit ltprune
25 -
26 DESCRIPTION="Positional Astronomy Library"
27 HOMEPAGE="https://github.com/Starlink/pal"
28 SRC_URI="https://github.com/Starlink/${PN}/releases/download/v${PV}/${P}.tar.gz"
29 @@ -25,8 +23,12 @@ src_configure() {
30
31 src_install() {
32 default
33 +
34 # remove cruft from non-fhs compliant
35 rm -r "${ED}"usr/share/pal || die
36 rm -r "${ED}"usr/{docs,manifests,news} || die
37 - use static-libs || prune_libtool_files --all
38 +
39 + if ! use static-libs; then
40 + find "${ED}" -name '*.la' -delete || die
41 + fi
42 }