1 |
commit: c97304c8e3c9861d92e82b1aa9d0e4f64bc838e1 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Aug 30 16:41:50 2022 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Aug 30 16:43:22 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c97304c8 |
7 |
|
8 |
sci-libs/ipopt: drop 3.12.12 |
9 |
|
10 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
11 |
|
12 |
sci-libs/ipopt/Manifest | 1 - |
13 |
sci-libs/ipopt/ipopt-3.12.12.ebuild | 92 ------------------------------------- |
14 |
2 files changed, 93 deletions(-) |
15 |
|
16 |
diff --git a/sci-libs/ipopt/Manifest b/sci-libs/ipopt/Manifest |
17 |
index 8004e88e371b..2b5d26909c54 100644 |
18 |
--- a/sci-libs/ipopt/Manifest |
19 |
+++ b/sci-libs/ipopt/Manifest |
20 |
@@ -1,2 +1 @@ |
21 |
-DIST Ipopt-3.12.12.tgz 4530034 BLAKE2B 8a8e24e4e5d8ad5bc1fcfa2de525e1e39c88a4c6dd77b51c0549249f517b3d6a1279e355a7cb606ebd8e606551031b653b78cd4d1cb51dd369e051ffa010011f SHA512 c543695feaa39a69b01e0025ebcd8a8772deb369ea1072f17da4ba34c1b522d322959067f3a6cfc40446e00c2e6dd2d6704a55623aba5d61dff44333727368cb |
22 |
DIST ipopt-3.14.4.tar.gz 1843885 BLAKE2B 83f6a983db282ced6e52237ff326c860a92df2c92dbd53db7581110d3003fd7b557a68453c74e48d780832d2c9c55d9eb4ea54e68f504c161952fce6bb81caaf SHA512 a27a08ae24c94da96efcfa236034cec79d79111d7dc9c028d808b412d5abb21495a0011f075a87db65b91ba69e191653552e7f99fe8da88c3b580d971eac3652 |
23 |
|
24 |
diff --git a/sci-libs/ipopt/ipopt-3.12.12.ebuild b/sci-libs/ipopt/ipopt-3.12.12.ebuild |
25 |
deleted file mode 100644 |
26 |
index c546084ce831..000000000000 |
27 |
--- a/sci-libs/ipopt/ipopt-3.12.12.ebuild |
28 |
+++ /dev/null |
29 |
@@ -1,92 +0,0 @@ |
30 |
-# Copyright 1999-2022 Gentoo Authors |
31 |
-# Distributed under the terms of the GNU General Public License v2 |
32 |
- |
33 |
-EAPI=6 |
34 |
- |
35 |
-FORTRAN_NEEDED="mumps" |
36 |
- |
37 |
-inherit fortran-2 toolchain-funcs |
38 |
- |
39 |
-MY_PN=${PN^} |
40 |
-MY_P=${MY_PN}-${PV} |
41 |
- |
42 |
-DESCRIPTION="Interior-Point Optimizer for large-scale nonlinear optimization" |
43 |
-HOMEPAGE="https://projects.coin-or.org/Ipopt/" |
44 |
-SRC_URI="http://www.coin-or.org/download/source/${MY_PN}/${MY_P}.tgz" |
45 |
- |
46 |
-LICENSE="EPL-1.0 hsl? ( HSL )" |
47 |
-SLOT="0/1" |
48 |
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
49 |
-IUSE="doc examples hsl lapack mpi mumps static-libs test" |
50 |
-RESTRICT="test" # Fails to compile |
51 |
- |
52 |
-RDEPEND=" |
53 |
- virtual/blas |
54 |
- hsl? ( sci-libs/coinhsl:0= ) |
55 |
- lapack? ( virtual/lapack ) |
56 |
- mpi? ( virtual/mpi ) |
57 |
- mumps? ( sci-libs/mumps:0=[mpi=] )" |
58 |
-DEPEND="${RDEPEND} |
59 |
- virtual/pkgconfig |
60 |
- doc? ( app-doc/doxygen[dot] ) |
61 |
- test? ( sci-libs/coinor-sample sci-libs/mumps )" |
62 |
- |
63 |
-S="${WORKDIR}/${MY_PN}-${PV}/${MY_PN}" |
64 |
- |
65 |
-src_prepare() { |
66 |
- if use mpi ; then |
67 |
- export CXX=mpicxx FC=mpif77 F77=mpif77 CC=mpicc |
68 |
- fi |
69 |
- default |
70 |
-} |
71 |
- |
72 |
-src_configure() { |
73 |
- # needed for --with-coin-instdir |
74 |
- dodir /usr |
75 |
- local myeconfargs=( |
76 |
- --enable-dependency-linking |
77 |
- --with-blas-lib="$($(tc-getPKG_CONFIG) --libs blas)" |
78 |
- --with-coin-instdir="${ED%/}"/usr |
79 |
- $(use_with doc dot) |
80 |
- ) |
81 |
- |
82 |
- if use lapack; then |
83 |
- myeconfargs+=( --with-lapack="$($(tc-getPKG_CONFIG) --libs lapack)" ) |
84 |
- else |
85 |
- myeconfargs+=( --without-lapack ) |
86 |
- fi |
87 |
- if use mumps; then |
88 |
- myeconfargs+=( |
89 |
- --with-mumps-incdir="${EPREFIX}"/usr/include$(usex mpi '' '/mpiseq') |
90 |
- --with-mumps-lib="-lmumps_common -ldmumps -lzmumps -lsmumps -lcmumps" ) |
91 |
- else |
92 |
- myeconfargs+=( --without-mumps ) |
93 |
- fi |
94 |
- if use hsl; then |
95 |
- myeconfargs+=( |
96 |
- --with-hsl-incdir="${EPREFIX}"/usr/include |
97 |
- --with-hsl-lib="$($(tc-getPKG_CONFIG) --libs coinhsl)" ) |
98 |
- else |
99 |
- myeconfargs+=( --without-hsl ) |
100 |
- fi |
101 |
- econf "${myeconfargs[@]}" |
102 |
-} |
103 |
- |
104 |
-src_compile() { |
105 |
- emake all |
106 |
- use doc && emake doxydoc |
107 |
-} |
108 |
- |
109 |
-src_test() { |
110 |
- emake test |
111 |
-} |
112 |
- |
113 |
-src_install() { |
114 |
- default |
115 |
- local HTML_DOCS DOCS |
116 |
- use doc && HTML_DOCS=("${S}/doxydoc/html/.") |
117 |
- use examples && DOCS+=( examples ) |
118 |
- einstalldocs |
119 |
- |
120 |
- rm -r "${ED%/}"/usr/share/coin || die |
121 |
-} |