From 8aadc74502534483cea3922c57d62bd31a6c18f2 Mon Sep 17 00:00:00 2001 From: Sebastien Fabbro Date: Wed, 21 May 2014 16:47:15 +0000 Subject: Version bump Package-Manager: portage-HEAD/cvs/Linux x86_64 Manifest-Sign-Key: 0x13CB1360 --- sci-libs/ipopt/ChangeLog | 8 +++- sci-libs/ipopt/Manifest | 24 ++++------ sci-libs/ipopt/ipopt-3.11.8.ebuild | 98 ++++++++++++++++++++++++++++++++++++++ sci-libs/ipopt/metadata.xml | 18 +++---- 4 files changed, 122 insertions(+), 26 deletions(-) create mode 100644 sci-libs/ipopt/ipopt-3.11.8.ebuild (limited to 'sci-libs/ipopt') diff --git a/sci-libs/ipopt/ChangeLog b/sci-libs/ipopt/ChangeLog index cbfbada0d48a..c8850996111a 100644 --- a/sci-libs/ipopt/ChangeLog +++ b/sci-libs/ipopt/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sci-libs/ipopt # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/ipopt/ChangeLog,v 1.2 2014/02/04 08:33:36 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/ipopt/ChangeLog,v 1.3 2014/05/21 16:47:10 bicatali Exp $ + +*ipopt-3.11.8 (21 May 2014) + + 21 May 2014; Sébastien Fabbro +ipopt-3.11.8.ebuild, + metadata.xml: + Version bump 04 Feb 2014; Justin Lecher ipopt-3.11.7.ebuild: Fix the common coinor pkg-config installation problem diff --git a/sci-libs/ipopt/Manifest b/sci-libs/ipopt/Manifest index 17ecd6ef1707..9a66f5d2c4f1 100644 --- a/sci-libs/ipopt/Manifest +++ b/sci-libs/ipopt/Manifest @@ -1,24 +1,16 @@ -----BEGIN PGP SIGNED MESSAGE----- -Hash: SHA512 +Hash: SHA256 DIST Ipopt-3.11.7.tgz 4749511 SHA256 c276555cf913cf9cb32d9b0e4faabc2a21d34b52baf8da132d29f3541323739a SHA512 a9edd33b59c9744dc4e09d709519be1fc3d014cc4f50254402784aa8035d21617323f2879c430245886f2a13165cc81d26779331dc1601f0edfc406953dca56f WHIRLPOOL 709eefc5fd6ec43bbb343bc91ba4f0289e9963b931a3d70d36b3b3cadcb41b5ee01da6e6d743d781fb91bb789fcf45a424d5109291074695019027ff76bba9b1 +DIST Ipopt-3.11.8.tgz 4749758 SHA256 9f9b76075fbd9315286ea4d7c159c94cab4a4fb16122fb172b24910af5b5b75b SHA512 1f60ea769dd7305348af3a5d4ed56938f04e59c36fb7a3fa0b808e4788dccee4711f82c3767e2aae87d21618d2a840d0bb22491c21c40bc2f9ebdf4b3a01aeec WHIRLPOOL a8022439d3509a2d1c7cf7c9c1c97d2ddda6baae948c3628c14a1eae622069ca090647c2e4051ca330d767bc09da7d908005bfb5b021e3277ee4bc1294f33019 EBUILD ipopt-3.11.7.ebuild 2503 SHA256 6f1c183db00093d8e71aaa286c12cc47e3b16d49e310dab434dc3b13c2f47ea3 SHA512 172b1fc796ec2b12ec746bd5b661a124f42d87ae5b4cabbc886e2ebcfe2df2f2cca6cbaf0042f3094f6b8c4a4bcebc060b3ca8d9db7ec3b4dd66407c478d28eb WHIRLPOOL 220b3c1caab030a105de838cbf7dfe066313a91dec220b6d1ab523d0c21ff785184bbf2ffccbf09f54197111c55f4aa30b1a0d24f03d3f92fb66b6b871613e44 -MISC ChangeLog 531 SHA256 c3d9afcf9dbf4c882ef9fcb4b3f48864cb0024c2eb2276ee8a2e95987702b139 SHA512 0fae52a3a73089ff102d6d2aacb7b87c45925214cbcadf36e0bfb5267995dc9470825018885b385a9c7563bff4e496774d814f837af431c8b6428daa6799c047 WHIRLPOOL f13eb60defa893137a6fd67f44e93e7a6efaa90f6a856a351cab2b84b2ac69e47af844077dfedc05a89df8f8e77e0d2dc94a9ed349cebc0e452330746334c54f -MISC metadata.xml 759 SHA256 5bbf437a1852a3269ccaf20d4b5ce4bf83926fba2b85a36dd89003337ec96588 SHA512 55c998f8ab08acb31777e3e85c41369b4b6d92d3b18675644c634845987ebbdfa5b76afef9afc8fb6af76e8344dae8c042ff85c17246c58d572a7b3671219ea3 WHIRLPOOL e6764cb2540e1d5f442ee13d354ccacda9f8eaab8117dedbe2286d61fd923c3c9674056fc9b35efc27f7adaf5a1d5f0d39068d7c1335495e4937255b50411a9c +EBUILD ipopt-3.11.8.ebuild 2514 SHA256 22997d1998bac0c1f4535d2c56c2850008d8f05583203abdfeafb474676f26d7 SHA512 72dcd09bd47f51027c353525f6ba307bff23aefbf7956b9efd3aede2a75a4670b6f8a74036c453c93d66ef0e0662456e09f7c0ea40ed2634d2932dc28c429fdd WHIRLPOOL adc13a7653c0f0f3f821700a6e431095b62a20e3c19eb53b2838d9255d2cc0450194659fff80c6e9cf1b18ea78c92d5b897cdd4aedf85a1a19af7392947b8c07 +MISC ChangeLog 673 SHA256 99b2a78c95b29dbc4fe00bf79b73a0ac95fef4733cdabbb5e44d7ee13d32fe1a SHA512 60c51eb5f12ca144c84a8726e1a895a3078ef4047deda460c468771808386af2656fbe3e9b21f6ee447fee2851ee3e1814f25ec66b0b5c33197eca333cd35c29 WHIRLPOOL cd10e7c2f9940b8f1be0e44878e8ab5a7358b27762fa074a8966d384110c2aafd6c2396bc8fcbf14242eae5781098a73639f7826fcac91b850565f2234a1476e +MISC metadata.xml 747 SHA256 977008d95161da3946a68c494053b463bdef7951ee2f88224d8aec078ea896f1 SHA512 ffb2bf6ec27b5db556ed1e14f947bbd5f96d51f76ad4db8027f262a2911f33c7110f6dab379373cb6bf12ad9e00b4d9afd1d29e66a80023cfb383ed16bbe3ad4 WHIRLPOOL 0db69af2e09f96af78ade0e8d59b3d84bd6f28384d418a1cea0561e04de2dc645dbbeb315383236736a1db07057d31166f373d7f10daf31063a1a86bcc6dc19e -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) -iQIcBAEBCgAGBQJS8KXhAAoJELnU8jG9FVirXqcP/iBud/w7Z+3kJZ3TkbUR40EL -a66fKObuPKk5QkBQyfoogK91VRJBza3KIsCuR5j9gCJAUvWjIykXAuA7RjJ9uFpw -IVhydEglzAOy0eRQT5b6Xj4jzo4GgFAiY8F9kTRmSLMQr/ogLFAI4c6AHUIMNuz/ -MUh2VAa4sKUfxKK3CqmLu7/9KO0OFc82a1/sb/8DkS7igJuPX9elWnIZthrEkF7Q -iH1kOZCN1MszLzfWs6HtLwyLBG1MwgVhzwCojb/aS73MZVQvdZchKZCHUtp1BRbZ -g1xXHuRS7ZC2a7bGZoLG/d4fu+dtuONLJicDND3HivUSSb2l7GjQT+hKCAGhp0nd -wdjlrs2nyO7er2ZEFLQZFDw1qRJlsSaw6YCdoc0cj9qxaFXQn31oKRgW0iJ7ffSJ -i7E3ju4CuaPgaVL19FV+fPrMX5BE9LUstNbG9THJklz0bFez/Oe2/4erFAXhM5TI -EFycyoWI7gSNo66fCvKC+Z75cVLJwrnlERq5om6dnBuJwTVq2e3BjP60DNBhw5em -ydopJ5g1pusOvVeEye1+uTjJGDjVigRdRRyWrPqASddjsxzFSgheRcFt3q/O6UUp -VtjjwVTOnCTcgiJrPy5xQ1Z1bE+5i73sXRMo6ZknoXpbZ4kt3L/dVVFx+vWBUtJg -x/Ki+PGdEapuga7bXXUm -=VodJ +iEYEAREIAAYFAlN82I8ACgkQ1ycZbhPLE2DrjwCeK8CWZuaCICcCn/+Nt+JdEMvJ +hAoAn0VRk5iFfijlAVIJHCsNEgshH1QD +=oc8/ -----END PGP SIGNATURE----- diff --git a/sci-libs/ipopt/ipopt-3.11.8.ebuild b/sci-libs/ipopt/ipopt-3.11.8.ebuild new file mode 100644 index 000000000000..b5bbe9f7d289 --- /dev/null +++ b/sci-libs/ipopt/ipopt-3.11.8.ebuild @@ -0,0 +1,98 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/ipopt/ipopt-3.11.8.ebuild,v 1.1 2014/05/21 16:47:10 bicatali Exp $ + +EAPI=5 + +AUTOTOOLS_IN_SOURCE_BUILD=yes +FORTRAN_NEEDED="mumps" + +inherit eutils autotools-utils multilib toolchain-funcs fortran-2 + +MYPN=Ipopt +MYP=${MYPN}-${PV} + +DESCRIPTION="Interior-Point Optimizer for large-scale nonlinear optimization" +HOMEPAGE="https://projects.coin-or.org/Ipopt/" +SRC_URI="http://www.coin-or.org/download/source/${MYPN}/${MYP}.tgz" + +LICENSE="EPL-1.0 hsl? ( HSL )" +SLOT="0/1" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="doc examples hsl lapack mpi mumps static-libs test" + +RDEPEND=" + virtual/blas + hsl? ( sci-libs/coinhsl:0= ) + lapack? ( virtual/lapack ) + mumps? ( sci-libs/mumps:0=[mpi=] )" +DEPEND="${RDEPEND} + virtual/pkgconfig + doc? ( app-doc/doxygen[dot] ) + test? ( sci-libs/coinor-sample sci-libs/mumps )" + +S="${WORKDIR}/${MYPN}-${PV}/${MYPN}" + +src_prepare() { + if use mumps && ! use mpi; then + ln -s "${EPREFIX}"/usr/include/mpiseq/mpi.h \ + src/Algorithm/LinearSolvers/ + elif use mpi; then + export CXX=mpicxx FC=mpif77 F77=mpif77 CC=mpicc + fi + sed -i \ + -e "s:lib/pkgconfig:$(get_libdir)/pkgconfig:g" \ + configure || die + autotools-utils_src_prepare +} + +src_configure() { + # needed for the --with-coin-instdir + dodir /usr + local myeconfargs=( + --enable-dependency-linking + --with-blas-lib="$($(tc-getPKG_CONFIG) --libs blas)" + --with-coin-instdir="${ED}"/usr + $(use_with doc dot) + ) + + if use lapack; then + myeconfargs+=( --with-lapack="$($(tc-getPKG_CONFIG) --libs lapack)" ) + else + myeconfargs+=( --without-lapack ) + fi + if use mumps; then + myeconfargs+=( + --with-mumps-incdir="${EPREFIX}"/usr/include + --with-mumps-lib="-lmumps_common -ldmumps -lzmumps -lsmumps -lcmumps" ) + else + myeconfargs+=( --without-mumps ) + fi + if use hsl; then + myeconfargs+=( + --with-hsl-incdir="${EPREFIX}"/usr/include + --with-hsl-lib="$($(tc-getPKG_CONFIG) --libs coinhsl)" ) + else + myeconfargs+=( --without-hsl ) + fi + autotools-utils_src_configure +} + +src_compile() { + autotools-utils_src_compile all $(use doc && echo doxydoc) +} + +src_test() { + autotools-utils_src_test test +} + +src_install() { + use doc && HTML_DOC=("${AUTOTOOLS_BUILD_DIR}/doxydocs/html/") + autotools-utils_src_install + # already installed + rm "${ED}"/usr/share/coin/doc/${MYPN}/{README,AUTHORS,LICENSE} || die + if use examples; then + insinto /usr/share/doc/${PF} + doins -r examples + fi +} diff --git a/sci-libs/ipopt/metadata.xml b/sci-libs/ipopt/metadata.xml index 6d6ec6956d2b..9b75b46f459c 100644 --- a/sci-libs/ipopt/metadata.xml +++ b/sci-libs/ipopt/metadata.xml @@ -1,18 +1,18 @@ - sci - +sci + Ipopt is a solver for large-scale nonlinear continuous optimization. It can be used from modeling environments, such as AMPL, GAMS, or Matlab, and it is also available as a callable library with interfaces to C++, C, and Fortran. Ipopt uses an interior point - method, together with a filter linear search procedure. Ipopt is part of the - larger COIN-OR initiative (Computational Infrastructure for Operations - Research). + method, together with a filter linear search procedure. Ipopt is + part of the larger COIN-OR initiative (Computational Infrastructure + for Operations Research). - - hsl - Enable sci-libs/mumps support - + + hsl + Enable sci-libs/mumps support + -- cgit v1.2.3-65-gdbad