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/lpsolve/
Date: Sun, 27 May 2018 07:54:42
Message-Id: 1527407659.45e8a9d6dbbd8e18332f8b500fdb97ae7c9a4648.soap@gentoo
1 commit: 45e8a9d6dbbd8e18332f8b500fdb97ae7c9a4648
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Sun May 27 07:36:39 2018 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sun May 27 07:54:19 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45e8a9d6
7
8 sci-mathematics/lpsolve: Port to EAPI 6
9
10 Package-Manager: Portage-2.3.40, Repoman-2.3.9
11
12 sci-mathematics/lpsolve/lpsolve-5.5.2.0.ebuild | 12 +++++++-----
13 1 file changed, 7 insertions(+), 5 deletions(-)
14
15 diff --git a/sci-mathematics/lpsolve/lpsolve-5.5.2.0.ebuild b/sci-mathematics/lpsolve/lpsolve-5.5.2.0.ebuild
16 index dd828ca40d5..5de810343b2 100644
17 --- a/sci-mathematics/lpsolve/lpsolve-5.5.2.0.ebuild
18 +++ b/sci-mathematics/lpsolve/lpsolve-5.5.2.0.ebuild
19 @@ -1,7 +1,7 @@
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=4
25 +EAPI=6
26
27 DESCRIPTION="Mixed Integer Linear Programming (MILP) solver"
28 HOMEPAGE="https://sourceforge.net/projects/lpsolve/"
29 @@ -17,12 +17,14 @@ RDEPEND="${DEPEND}"
30
31 src_configure() {
32 econf \
33 - $(use_enable static-libs static) \
34 - --docdir="${EPREFIX}/usr/share/doc/${PF}"
35 + $(use_enable static-libs static)
36 }
37
38 src_install() {
39 default
40 +
41 # required because it does not provide .pc file
42 - use static-libs || find "${ED}" -name '*.la' -exec rm -f {} +
43 + if ! use static-libs; then
44 + find "${D}" -name '*.la' -delete || die
45 + fi
46 }