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-mathematics/4ti2/
Date: Sun, 27 May 2018 07:54:43
Message-Id: 1527407664.299644fd56be6767daae6386c0699ca325a17f58.soap@gentoo
1 commit: 299644fd56be6767daae6386c0699ca325a17f58
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Sun May 27 07:53:38 2018 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sun May 27 07:54:24 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=299644fd
7
8 sci-mathematics/4ti2: [QA] Remove eutils
9
10 Package-Manager: Portage-2.3.40, Repoman-2.3.9
11
12 sci-mathematics/4ti2/4ti2-1.6.7.ebuild | 20 +++++++++++---------
13 1 file changed, 11 insertions(+), 9 deletions(-)
14
15 diff --git a/sci-mathematics/4ti2/4ti2-1.6.7.ebuild b/sci-mathematics/4ti2/4ti2-1.6.7.ebuild
16 index c06748c2017..073a1868de7 100644
17 --- a/sci-mathematics/4ti2/4ti2-1.6.7.ebuild
18 +++ b/sci-mathematics/4ti2/4ti2-1.6.7.ebuild
19 @@ -1,9 +1,9 @@
20 -# Copyright 1999-2017 Gentoo Foundation
21 +# Copyright 1999-2018 Gentoo Foundation
22 # Distributed under the terms of the GNU General Public License v2
23
24 EAPI=6
25
26 -inherit autotools eutils
27 +inherit autotools
28
29 DESCRIPTION="Software package for algebraic, geometric and combinatorial problems"
30 HOMEPAGE="http://www.4ti2.de/"
31 @@ -14,10 +14,10 @@ SLOT="0"
32 KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux ~x86-macos"
33 IUSE="static-libs"
34
35 -DEPEND="
36 - sci-mathematics/glpk:0[gmp]
37 - dev-libs/gmp[cxx]"
38 -RDEPEND="${DEPEND}"
39 +RDEPEND="
40 + sci-mathematics/glpk:=[gmp]
41 + dev-libs/gmp:0=[cxx]"
42 +DEPEND="${RDEPEND}"
43
44 PATCHES=(
45 "${FILESDIR}"/${PN}-1.3.2-gold.patch
46 @@ -25,8 +25,7 @@ PATCHES=(
47
48 src_prepare() {
49 default
50 - sed -e "s:^CXX.*$:CXX=$(tc-getCXX):g" \
51 - -i m4/glpk-check.m4 || die
52 + sed -e "/^CXX/d" -i m4/glpk-check.m4 || die
53 # The swig subdir is not used, so we can skip running autotools in it. #518000
54 AT_NO_RECURSIVE=1 eautoreconf
55 }
56 @@ -39,5 +38,8 @@ src_configure() {
57
58 src_install() {
59 default
60 - use static-libs || prune_libtool_files --all
61 +
62 + if ! use static-libs; then
63 + find "${D}" -name '*.la' -delete || die
64 + fi
65 }