From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 7C54D198005 for ; Fri, 22 Feb 2013 10:16:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3791B21C0C6; Fri, 22 Feb 2013 10:15:49 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 325A821C0B9 for ; Fri, 22 Feb 2013 10:15:48 +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 4368333E12F for ; Fri, 22 Feb 2013 10:15:47 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 257DFE4098 for ; Fri, 22 Feb 2013 10:15:45 +0000 (UTC) From: "Justin Lecher" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Justin Lecher" Message-ID: <1361526473.7a99cdd3182a10f764d9ef25fdbad65672942908.jlec@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: jlec X-VCS-Committer-Name: Justin Lecher X-VCS-Revision: 7a99cdd3182a10f764d9ef25fdbad65672942908 X-VCS-Branch: master Date: Fri, 22 Feb 2013 10:15:45 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 11a22c6e-7147-445d-94b6-ac3684eb1078 X-Archives-Hash: dc2c95e97b99170c4695bd82edf3bcd3 commit: 7a99cdd3182a10f764d9ef25fdbad65672942908 Author: Justin Lecher gentoo org> AuthorDate: Fri Feb 22 09:47:53 2013 +0000 Commit: Justin Lecher gentoo org> CommitDate: Fri Feb 22 09:47:53 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=7a99cdd3 sci-libs/optpp: Use tc-getPKG_CONFIG from toolchain-funcs.eclass instead of plain pkg-config; bump to EAPI=5; move to new python eclasses Package-Manager: portage-2.2.0_alpha163 --- sci-libs/optpp/ChangeLog | 6 +++++- sci-libs/optpp/metadata.xml | 4 ++-- sci-libs/optpp/optpp-2.4.ebuild | 13 ++++++++----- 3 files changed, 15 insertions(+), 8 deletions(-) diff --git a/sci-libs/optpp/ChangeLog b/sci-libs/optpp/ChangeLog index 62a8977..5c107e9 100644 --- a/sci-libs/optpp/ChangeLog +++ b/sci-libs/optpp/ChangeLog @@ -1,7 +1,11 @@ # ChangeLog for sci-libs/optpp -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 22 Feb 2013; Justin Lecher optpp-2.4.ebuild, metadata.xml: + Use tc-getPKG_CONFIG from toolchain-funcs.eclass instead of plain pkg-config; + bump to EAPI=5; move to new python eclasses + *optpp-2.4 (17 May 2012) 17 May 2012; Sébastien Fabbro +metadata.xml, diff --git a/sci-libs/optpp/metadata.xml b/sci-libs/optpp/metadata.xml index db2b13b..644aab6 100644 --- a/sci-libs/optpp/metadata.xml +++ b/sci-libs/optpp/metadata.xml @@ -1,8 +1,8 @@ - sci - + 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 diff --git a/sci-libs/optpp/optpp-2.4.ebuild b/sci-libs/optpp/optpp-2.4.ebuild index 260cfd2..85af83a 100644 --- a/sci-libs/optpp/optpp-2.4.ebuild +++ b/sci-libs/optpp/optpp-2.4.ebuild @@ -1,10 +1,12 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ -EAPI=4 +EAPI=5 -inherit python autotools-utils +PYTHON_COMPAT=( python{2_5,2_6,2_7,3_1,3_2,3_3} ) + +inherit autotools-utils toolchain-funcs python-single-r1 DESCRIPTION="C++ library for non-linear optimization" HOMEPAGE="https://software.sandia.gov/opt++/" @@ -15,14 +17,15 @@ KEYWORDS="~amd64 ~x86" SLOT="0" IUSE="doc mpi static-libs" -RDEPEND="virtual/blas +RDEPEND=" + virtual/blas mpi? ( virtual/mpi )" DEPEND="${RDEPEND} virtual/pkgconfig" src_configure() { myeconfargs+=( - --with-blas="$(pkg-config --libs blas)" + --with-blas="$($(tc-getPKG_CONFIG) --libs blas)" $(use_enable mpi) ) autotools-utils_src_configure