public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/sci:master commit in: sci-libs/optpp/
@ 2012-05-17 22:52 Sebastien Fabbro
  0 siblings, 0 replies; 4+ messages in thread
From: Sebastien Fabbro @ 2012-05-17 22:52 UTC (permalink / raw
  To: gentoo-commits

commit:     0e65bbce29e8da935fe24f0f996bf740a9e30929
Author:     Sébastien Fabbro <sebfabbro <AT> gmail <DOT> com>
AuthorDate: Thu May 17 22:52:29 2012 +0000
Commit:     Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Thu May 17 22:52:29 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=0e65bbce

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ébastien Fabbro <bicatali@gentoo.org> +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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>sci</herd>
+<longdescription lang="en">
+  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.
+</longdescription>
+</pkgmetadata>

diff --git a/sci-libs/optpp/optpp-2.4.ebuild b/sci-libs/optpp/optpp-2.4.ebuild
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=4
+
+inherit python autotools-utils
+
+DESCRIPTION="C++ library for non-linear optimization"
+HOMEPAGE="https://software.sandia.gov/opt++/"
+SRC_URI="${HOMEPAGE}/downloads/${P}.tar.gz"
+
+LICENSE="LGPL-2"
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+IUSE="doc mpi static-libs"
+
+RDEPEND="virtual/blas
+	mpi? ( virtual/mpi )"
+DEPEND="${RDEPEND}
+	virtual/pkgconfig"
+
+src_configure() {
+	myeconfargs+=(
+		--with-blas="$(pkg-config --libs blas)"
+		$(use_enable mpi)
+	)
+	autotools-utils_src_configure
+}
+
+src_install() {
+	autotools-utils_src_install
+	use doc && dohtml -r docs/*
+}



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-libs/optpp/
@ 2013-02-22 10:15 Justin Lecher
  0 siblings, 0 replies; 4+ messages in thread
From: Justin Lecher @ 2013-02-22 10:15 UTC (permalink / raw
  To: gentoo-commits

commit:     7a99cdd3182a10f764d9ef25fdbad65672942908
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 22 09:47:53 2013 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> 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 <jlec@gentoo.org> 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 <bicatali@gentoo.org> +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 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
- <herd>sci</herd>
-<longdescription lang="en">
+  <herd>sci</herd>
+  <longdescription lang="en">
   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


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-libs/optpp/
@ 2013-03-03 18:39 Sebastien Fabbro
  0 siblings, 0 replies; 4+ messages in thread
From: Sebastien Fabbro @ 2013-03-03 18:39 UTC (permalink / raw
  To: gentoo-commits

commit:     a788f91975adc6af38dd8ddf3481a8e808cb9e4a
Author:     Sébastien Fabbro <bicatali <AT> gentoo <DOT> org>
AuthorDate: Sun Mar  3 18:24:23 2013 +0000
Commit:     Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Sun Mar  3 18:24:23 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=a788f919

sci-libs/optpp: Removed uneeded python eclass, keyword for prefix

Package-Manager: portage-2.2.01.21688-prefix

---
 sci-libs/optpp/ChangeLog        |    5 ++++-
 sci-libs/optpp/metadata.xml     |    4 ++--
 sci-libs/optpp/optpp-2.4.ebuild |    8 +++-----
 3 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/sci-libs/optpp/ChangeLog b/sci-libs/optpp/ChangeLog
index 5c107e9..678c459 100644
--- a/sci-libs/optpp/ChangeLog
+++ b/sci-libs/optpp/ChangeLog
@@ -2,6 +2,10 @@
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  03 Mar 2013; Sébastien Fabbro <bicatali@gentoo.org> metadata.xml,
+  optpp-2.4.ebuild:
+  sci-libs/optpp: Removed uneeded python eclass, keyword for prefix
+
   22 Feb 2013; Justin Lecher <jlec@gentoo.org> 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
@@ -11,4 +15,3 @@
   17 May 2012; Sébastien Fabbro <bicatali@gentoo.org> +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
index 644aab6..adf0a7a 100644
--- a/sci-libs/optpp/metadata.xml
+++ b/sci-libs/optpp/metadata.xml
@@ -1,8 +1,8 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-  <herd>sci</herd>
-  <longdescription lang="en">
+<herd>sci</herd>
+<longdescription lang="en">
   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 85af83a..e9f4c40 100644
--- a/sci-libs/optpp/optpp-2.4.ebuild
+++ b/sci-libs/optpp/optpp-2.4.ebuild
@@ -4,16 +4,14 @@
 
 EAPI=5
 
-PYTHON_COMPAT=( python{2_5,2_6,2_7,3_1,3_2,3_3} )
-
-inherit autotools-utils toolchain-funcs python-single-r1
+inherit autotools-utils toolchain-funcs
 
 DESCRIPTION="C++ library for non-linear optimization"
 HOMEPAGE="https://software.sandia.gov/opt++/"
 SRC_URI="${HOMEPAGE}/downloads/${P}.tar.gz"
 
 LICENSE="LGPL-2"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
 SLOT="0"
 IUSE="doc mpi static-libs"
 
@@ -24,7 +22,7 @@ DEPEND="${RDEPEND}
 	virtual/pkgconfig"
 
 src_configure() {
-	myeconfargs+=(
+	local myeconfargs=(
 		--with-blas="$($(tc-getPKG_CONFIG) --libs blas)"
 		$(use_enable mpi)
 	)


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-libs/optpp/
@ 2021-01-30 11:55 Andrew Ammerlaan
  0 siblings, 0 replies; 4+ messages in thread
From: Andrew Ammerlaan @ 2021-01-30 11:55 UTC (permalink / raw
  To: gentoo-commits

commit:     bc1cab476261e0ffaea7a04cb7347266af8a0cfc
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Sat Jan 30 11:55:41 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Sat Jan 30 11:55:41 2021 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=bc1cab47

sci-libs/optpp: EAPI bump, fix file collision

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 sci-libs/optpp/optpp-2.4.ebuild | 28 +++++++++++++++-------------
 1 file changed, 15 insertions(+), 13 deletions(-)

diff --git a/sci-libs/optpp/optpp-2.4.ebuild b/sci-libs/optpp/optpp-2.4.ebuild
index c384880ef..054be4c11 100644
--- a/sci-libs/optpp/optpp-2.4.ebuild
+++ b/sci-libs/optpp/optpp-2.4.ebuild
@@ -1,13 +1,13 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=7
 
-inherit autotools-utils toolchain-funcs
+inherit toolchain-funcs
 
 DESCRIPTION="C++ library for non-linear optimization"
 HOMEPAGE="https://software.sandia.gov/opt++/"
-SRC_URI="${HOMEPAGE}/downloads/${P}.tar.gz"
+SRC_URI="https://software.sandia.gov/opt++/downloads/${P}.tar.gz"
 
 LICENSE="LGPL-2"
 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
@@ -16,19 +16,21 @@ IUSE="doc mpi static-libs"
 
 RDEPEND="
 	virtual/blas
-	mpi? ( virtual/mpi )"
-DEPEND="${RDEPEND}
-	virtual/pkgconfig"
+	virtual/lapack
+	mpi? ( virtual/mpi )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
 
 src_configure() {
-	local myeconfargs=(
-		--with-blas="$($(tc-getPKG_CONFIG) --libs blas)"
+	econf \
+		--with-blas="$($(tc-getPKG_CONFIG) --libs blas)" \
 		$(use_enable mpi)
-	)
-	autotools-utils_src_configure
 }
 
 src_install() {
-	autotools-utils_src_install
-	use doc && dohtml -r docs/*
+	default
+	# avoid file collision with sci-libs/lapack
+	rm "${ED}/usr/include/cblas.h"
+	use doc && dodoc -r docs/*
 }


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-01-30 11:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-03 18:39 [gentoo-commits] proj/sci:master commit in: sci-libs/optpp/ Sebastien Fabbro
  -- strict thread matches above, loose matches on Subject: below --
2021-01-30 11:55 Andrew Ammerlaan
2013-02-22 10:15 Justin Lecher
2012-05-17 22:52 Sebastien Fabbro

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox