From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1SV9Z8-00008V-5u for garchives@archives.gentoo.org; Thu, 17 May 2012 22:53:03 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3C24DE0BDF; Thu, 17 May 2012 22:52:50 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id F10BFE0BDF for ; Thu, 17 May 2012 22:52:49 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1DB9F1B402C for ; Thu, 17 May 2012 22:52:49 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 0FD85E5433 for ; Thu, 17 May 2012 22:52:47 +0000 (UTC) From: "Sebastien Fabbro" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sebastien Fabbro" Message-ID: <1337295149.0e65bbce29e8da935fe24f0f996bf740a9e30929.bicatali@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/optpp/ X-VCS-Repository: proj/sci X-VCS-Files: sci-libs/optpp/ChangeLog sci-libs/optpp/metadata.xml sci-libs/optpp/optpp-2.4.ebuild X-VCS-Directories: sci-libs/optpp/ X-VCS-Committer: bicatali X-VCS-Committer-Name: Sebastien Fabbro X-VCS-Revision: 0e65bbce29e8da935fe24f0f996bf740a9e30929 X-VCS-Branch: master Date: Thu, 17 May 2012 22:52:47 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: caa4e863-abab-4a7f-a10f-e96dbd2bc449 X-Archives-Hash: a338c69e5b9b1bb7065f20e87350b9ee commit: 0e65bbce29e8da935fe24f0f996bf740a9e30929 Author: S=C3=A9bastien Fabbro gmail com> AuthorDate: Thu May 17 22:52:29 2012 +0000 Commit: Sebastien Fabbro gentoo org> CommitDate: Thu May 17 22:52:29 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/sci.git;a=3Dc= ommit;h=3D0e65bbce sci-libs/optpp: Initial import (Portage version: 2.1.10.60/git/Linux x86_64, unsigned Manifest commit) --- sci-libs/optpp/ChangeLog | 10 ++++++++++ sci-libs/optpp/metadata.xml | 19 +++++++++++++++++++ sci-libs/optpp/optpp-2.4.ebuild | 34 +++++++++++++++++++++++++++++++++= + 3 files changed, 63 insertions(+), 0 deletions(-) diff --git a/sci-libs/optpp/ChangeLog b/sci-libs/optpp/ChangeLog new file mode 100644 index 0000000..62a8977 --- /dev/null +++ b/sci-libs/optpp/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for sci-libs/optpp +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + +*optpp-2.4 (17 May 2012) + + 17 May 2012; S=C3=A9bastien Fabbro +metadata.xml= , + +optpp-2.4.ebuild: + sci-libs/optpp: Initial import + diff --git a/sci-libs/optpp/metadata.xml b/sci-libs/optpp/metadata.xml new file mode 100644 index 0000000..db2b13b --- /dev/null +++ b/sci-libs/optpp/metadata.xml @@ -0,0 +1,19 @@ + + + + sci + + OPT++ is a library of nonlinear optimization algorithms written in + C++. The motivation for this package is to build an environment for + the rapid prototyping and development of new optimization + algorithms. In particular, the focus is on robust and efficient + algorithms for problems in which the function and constraint + evaluations require the execution of an expensive computer + simulation. Currently, OPT++ includes the classic Newton methods, a + nonlinear interior-point method, parallel direct search, generating + set search, a trust region - parallel direct search hybrid, and a + wrapper to NPSOL. Between these methods, a wide range of problems + can be solved, e.g. with or without constraints, with or without + analytic gradients, simulation based, etc. + + diff --git a/sci-libs/optpp/optpp-2.4.ebuild b/sci-libs/optpp/optpp-2.4.e= build new file mode 100644 index 0000000..260cfd2 --- /dev/null +++ b/sci-libs/optpp/optpp-2.4.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=3D4 + +inherit python autotools-utils + +DESCRIPTION=3D"C++ library for non-linear optimization" +HOMEPAGE=3D"https://software.sandia.gov/opt++/" +SRC_URI=3D"${HOMEPAGE}/downloads/${P}.tar.gz" + +LICENSE=3D"LGPL-2" +KEYWORDS=3D"~amd64 ~x86" +SLOT=3D"0" +IUSE=3D"doc mpi static-libs" + +RDEPEND=3D"virtual/blas + mpi? ( virtual/mpi )" +DEPEND=3D"${RDEPEND} + virtual/pkgconfig" + +src_configure() { + myeconfargs+=3D( + --with-blas=3D"$(pkg-config --libs blas)" + $(use_enable mpi) + ) + autotools-utils_src_configure +} + +src_install() { + autotools-utils_src_install + use doc && dohtml -r docs/* +}