1 |
bicatali 14/05/21 16:47:10 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: ipopt-3.11.8.ebuild |
5 |
Log: |
6 |
Version bump |
7 |
|
8 |
(Portage version: HEAD/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360) |
9 |
|
10 |
Revision Changes Path |
11 |
1.2 sci-libs/ipopt/metadata.xml |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/ipopt/metadata.xml?rev=1.2&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/ipopt/metadata.xml?rev=1.2&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/ipopt/metadata.xml?r1=1.1&r2=1.2 |
16 |
|
17 |
Index: metadata.xml |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sci-libs/ipopt/metadata.xml,v |
20 |
retrieving revision 1.1 |
21 |
retrieving revision 1.2 |
22 |
diff -u -r1.1 -r1.2 |
23 |
--- metadata.xml 15 Jan 2014 19:45:36 -0000 1.1 |
24 |
+++ metadata.xml 21 May 2014 16:47:10 -0000 1.2 |
25 |
@@ -1,18 +1,18 @@ |
26 |
<?xml version="1.0" encoding="UTF-8"?> |
27 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
28 |
<pkgmetadata> |
29 |
- <herd>sci</herd> |
30 |
- <longdescription lang="en"> |
31 |
+<herd>sci</herd> |
32 |
+<longdescription lang="en"> |
33 |
Ipopt is a solver for large-scale nonlinear continuous |
34 |
optimization. It can be used from modeling environments, such as |
35 |
AMPL, GAMS, or Matlab, and it is also available as a callable library with |
36 |
interfaces to C++, C, and Fortran. Ipopt uses an interior point |
37 |
- method, together with a filter linear search procedure. Ipopt is part of the |
38 |
- larger COIN-OR initiative (Computational Infrastructure for Operations |
39 |
- Research). |
40 |
+ method, together with a filter linear search procedure. Ipopt is |
41 |
+ part of the larger COIN-OR initiative (Computational Infrastructure |
42 |
+ for Operations Research). |
43 |
</longdescription> |
44 |
- <use> |
45 |
- <flag name="hsl">hsl</flag> |
46 |
- <flag name="mumps">Enable <pkg>sci-libs/mumps</pkg> support</flag> |
47 |
- </use> |
48 |
+<use> |
49 |
+ <flag name="hsl">hsl</flag> |
50 |
+ <flag name="mumps">Enable <pkg>sci-libs/mumps</pkg> support</flag> |
51 |
+</use> |
52 |
</pkgmetadata> |
53 |
|
54 |
|
55 |
|
56 |
1.3 sci-libs/ipopt/ChangeLog |
57 |
|
58 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/ipopt/ChangeLog?rev=1.3&view=markup |
59 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/ipopt/ChangeLog?rev=1.3&content-type=text/plain |
60 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/ipopt/ChangeLog?r1=1.2&r2=1.3 |
61 |
|
62 |
Index: ChangeLog |
63 |
=================================================================== |
64 |
RCS file: /var/cvsroot/gentoo-x86/sci-libs/ipopt/ChangeLog,v |
65 |
retrieving revision 1.2 |
66 |
retrieving revision 1.3 |
67 |
diff -u -r1.2 -r1.3 |
68 |
--- ChangeLog 4 Feb 2014 08:33:36 -0000 1.2 |
69 |
+++ ChangeLog 21 May 2014 16:47:10 -0000 1.3 |
70 |
@@ -1,6 +1,12 @@ |
71 |
# ChangeLog for sci-libs/ipopt |
72 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
73 |
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/ipopt/ChangeLog,v 1.2 2014/02/04 08:33:36 jlec Exp $ |
74 |
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/ipopt/ChangeLog,v 1.3 2014/05/21 16:47:10 bicatali Exp $ |
75 |
+ |
76 |
+*ipopt-3.11.8 (21 May 2014) |
77 |
+ |
78 |
+ 21 May 2014; Sébastien Fabbro <bicatali@g.o> +ipopt-3.11.8.ebuild, |
79 |
+ metadata.xml: |
80 |
+ Version bump |
81 |
|
82 |
04 Feb 2014; Justin Lecher <jlec@g.o> ipopt-3.11.7.ebuild: |
83 |
Fix the common coinor pkg-config installation problem |
84 |
|
85 |
|
86 |
|
87 |
1.1 sci-libs/ipopt/ipopt-3.11.8.ebuild |
88 |
|
89 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/ipopt/ipopt-3.11.8.ebuild?rev=1.1&view=markup |
90 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/ipopt/ipopt-3.11.8.ebuild?rev=1.1&content-type=text/plain |
91 |
|
92 |
Index: ipopt-3.11.8.ebuild |
93 |
=================================================================== |
94 |
# Copyright 1999-2014 Gentoo Foundation |
95 |
# Distributed under the terms of the GNU General Public License v2 |
96 |
# $Header: /var/cvsroot/gentoo-x86/sci-libs/ipopt/ipopt-3.11.8.ebuild,v 1.1 2014/05/21 16:47:10 bicatali Exp $ |
97 |
|
98 |
EAPI=5 |
99 |
|
100 |
AUTOTOOLS_IN_SOURCE_BUILD=yes |
101 |
FORTRAN_NEEDED="mumps" |
102 |
|
103 |
inherit eutils autotools-utils multilib toolchain-funcs fortran-2 |
104 |
|
105 |
MYPN=Ipopt |
106 |
MYP=${MYPN}-${PV} |
107 |
|
108 |
DESCRIPTION="Interior-Point Optimizer for large-scale nonlinear optimization" |
109 |
HOMEPAGE="https://projects.coin-or.org/Ipopt/" |
110 |
SRC_URI="http://www.coin-or.org/download/source/${MYPN}/${MYP}.tgz" |
111 |
|
112 |
LICENSE="EPL-1.0 hsl? ( HSL )" |
113 |
SLOT="0/1" |
114 |
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
115 |
IUSE="doc examples hsl lapack mpi mumps static-libs test" |
116 |
|
117 |
RDEPEND=" |
118 |
virtual/blas |
119 |
hsl? ( sci-libs/coinhsl:0= ) |
120 |
lapack? ( virtual/lapack ) |
121 |
mumps? ( sci-libs/mumps:0=[mpi=] )" |
122 |
DEPEND="${RDEPEND} |
123 |
virtual/pkgconfig |
124 |
doc? ( app-doc/doxygen[dot] ) |
125 |
test? ( sci-libs/coinor-sample sci-libs/mumps )" |
126 |
|
127 |
S="${WORKDIR}/${MYPN}-${PV}/${MYPN}" |
128 |
|
129 |
src_prepare() { |
130 |
if use mumps && ! use mpi; then |
131 |
ln -s "${EPREFIX}"/usr/include/mpiseq/mpi.h \ |
132 |
src/Algorithm/LinearSolvers/ |
133 |
elif use mpi; then |
134 |
export CXX=mpicxx FC=mpif77 F77=mpif77 CC=mpicc |
135 |
fi |
136 |
sed -i \ |
137 |
-e "s:lib/pkgconfig:$(get_libdir)/pkgconfig:g" \ |
138 |
configure || die |
139 |
autotools-utils_src_prepare |
140 |
} |
141 |
|
142 |
src_configure() { |
143 |
# needed for the --with-coin-instdir |
144 |
dodir /usr |
145 |
local myeconfargs=( |
146 |
--enable-dependency-linking |
147 |
--with-blas-lib="$($(tc-getPKG_CONFIG) --libs blas)" |
148 |
--with-coin-instdir="${ED}"/usr |
149 |
$(use_with doc dot) |
150 |
) |
151 |
|
152 |
if use lapack; then |
153 |
myeconfargs+=( --with-lapack="$($(tc-getPKG_CONFIG) --libs lapack)" ) |
154 |
else |
155 |
myeconfargs+=( --without-lapack ) |
156 |
fi |
157 |
if use mumps; then |
158 |
myeconfargs+=( |
159 |
--with-mumps-incdir="${EPREFIX}"/usr/include |
160 |
--with-mumps-lib="-lmumps_common -ldmumps -lzmumps -lsmumps -lcmumps" ) |
161 |
else |
162 |
myeconfargs+=( --without-mumps ) |
163 |
fi |
164 |
if use hsl; then |
165 |
myeconfargs+=( |
166 |
--with-hsl-incdir="${EPREFIX}"/usr/include |
167 |
--with-hsl-lib="$($(tc-getPKG_CONFIG) --libs coinhsl)" ) |
168 |
else |
169 |
myeconfargs+=( --without-hsl ) |
170 |
fi |
171 |
autotools-utils_src_configure |
172 |
} |
173 |
|
174 |
src_compile() { |
175 |
autotools-utils_src_compile all $(use doc && echo doxydoc) |
176 |
} |
177 |
|
178 |
src_test() { |
179 |
autotools-utils_src_test test |
180 |
} |
181 |
|
182 |
src_install() { |
183 |
use doc && HTML_DOC=("${AUTOTOOLS_BUILD_DIR}/doxydocs/html/") |
184 |
autotools-utils_src_install |
185 |
# already installed |
186 |
rm "${ED}"/usr/share/coin/doc/${MYPN}/{README,AUTHORS,LICENSE} || die |
187 |
if use examples; then |
188 |
insinto /usr/share/doc/${PF} |
189 |
doins -r examples |
190 |
fi |
191 |
} |