commit:     3a1c3a624c728032dfed4476f996acf6f70d3d75
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 21 16:29:42 2022 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Tue Jun 21 16:29:42 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a1c3a62

sci-mathematics/lpsolve: update EAPI 6 -> 8

Signed-off-by: David Seifert <soap <AT> gentoo.org>

 ...{lpsolve-5.5.2.0.ebuild => lpsolve-5.5.2.0-r1.ebuild} | 16 +++-------------
 1 file changed, 3 insertions(+), 13 deletions(-)

diff --git a/sci-mathematics/lpsolve/lpsolve-5.5.2.0.ebuild 
b/sci-mathematics/lpsolve/lpsolve-5.5.2.0-r1.ebuild
similarity index 62%
rename from sci-mathematics/lpsolve/lpsolve-5.5.2.0.ebuild
rename to sci-mathematics/lpsolve/lpsolve-5.5.2.0-r1.ebuild
index 3a153685d29b..4bfa870fa6cb 100644
--- a/sci-mathematics/lpsolve/lpsolve-5.5.2.0.ebuild
+++ b/sci-mathematics/lpsolve/lpsolve-5.5.2.0-r1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=8
 
 DESCRIPTION="Mixed Integer Linear Programming (MILP) solver"
 HOMEPAGE="https://sourceforge.net/projects/lpsolve/";
@@ -10,21 +10,11 @@ 
SRC_URI="http://dev.gentooexperimental.org/~scarabeus/${P}.tar.xz";
 LICENSE="LGPL-2.1"
 SLOT="0"
 KEYWORDS="amd64 ~arm arm64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux"
-IUSE="static-libs"
 
 DEPEND="sci-libs/colamd"
 RDEPEND="${DEPEND}"
 
-src_configure() {
-       econf \
-               $(use_enable static-libs static)
-}
-
 src_install() {
        default
-
-       # required because it does not provide .pc file
-       if ! use static-libs; then
-               find "${D}" -name '*.la' -delete || die
-       fi
+       find "${ED}" -name '*.la' -delete || die
 }

Reply via email to