public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/o2scl/
@ 2017-07-24 19:33 Sebastien Fabbro
  0 siblings, 0 replies; 4+ messages in thread
From: Sebastien Fabbro @ 2017-07-24 19:33 UTC (permalink / raw
  To: gentoo-commits

commit:     f11431778bc47cc44a32964f280fd579c875796c
Author:     Sébastien Fabbro <bicatali <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 21 18:09:59 2017 +0000
Commit:     Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Mon Jul 24 19:32:42 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1143177

sci-libs/o2scl: initial import

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 sci-libs/o2scl/Manifest           |  1 +
 sci-libs/o2scl/metadata.xml       | 22 +++++++++++++
 sci-libs/o2scl/o2scl-0.920.ebuild | 68 +++++++++++++++++++++++++++++++++++++++
 3 files changed, 91 insertions(+)

diff --git a/sci-libs/o2scl/Manifest b/sci-libs/o2scl/Manifest
new file mode 100644
index 00000000000..5a647c87404
--- /dev/null
+++ b/sci-libs/o2scl/Manifest
@@ -0,0 +1 @@
+DIST o2scl-0.920.tar.gz 34498666 SHA256 dd08c0cb0ab13b9d63ae0cc83f026f69076166877a76661aa5059b7cce29e712 SHA512 a80c959b76d15473e206f1caac496607af254f0617f7a18d13bd9732861b6c51f5db8ca3ff6866bb8d0ea70865d4ac94cb972e0a0c158f19034667340341467c WHIRLPOOL 625548dd5c954d2227627f6ae0b04ccb81ba55948e5f0b5a8315b491ef45a2648b62c062aadc5c0689ce2c2c404996132d33f3ad924c1a1e5ed68c95554d40dc

diff --git a/sci-libs/o2scl/metadata.xml b/sci-libs/o2scl/metadata.xml
new file mode 100644
index 00000000000..12a668d82eb
--- /dev/null
+++ b/sci-libs/o2scl/metadata.xml
@@ -0,0 +1,22 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <maintainer type="project">
+    <email>sci@gentoo.org</email>
+    <name>Gentoo Science Project</name>
+  </maintainer>
+  <longdescription lang="en">
+  O2scl is a C++ class library for object-oriented numerical
+  programming. It includes classes based on numerical routines from
+  GSL and CERNLIB and two sub-libraries: thermodynamics of ideal and
+  nearly-ideal particles with quantum statistics and e quations of
+  state for finite density relevant for neutron stars.
+  </longdescription>
+  <use>
+    <flag name="armadillo">Build matrix manipulation with <pkg>sci-libs/armadillo</pkg></flag>    
+    <flag name="eigen">Build matrix manipulation with <pkg>dev-cpp/eigen</pkg></flag>
+  </use>
+  <upstream>
+    <remote-id type="github">awsteiner/o2scl</remote-id>
+  </upstream>
+</pkgmetadata>

diff --git a/sci-libs/o2scl/o2scl-0.920.ebuild b/sci-libs/o2scl/o2scl-0.920.ebuild
new file mode 100644
index 00000000000..bf2fa4a38a8
--- /dev/null
+++ b/sci-libs/o2scl/o2scl-0.920.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit flag-o-matic
+
+DESCRIPTION="Object-oriented Scientific Computing Library"
+HOMEPAGE="http://web.utk.edu/~asteine1/o2scl"
+SRC_URI="https://github.com/awsteiner/${PN}/releases/download/v${PV}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="armadillo debug doc examples eigen fftw gsl hdf5 openmp readline static-libs"
+
+RDEPEND="
+	dev-libs/boost:0=
+	>=sci-libs/gsl-2:0=
+	virtual/cblas:=
+	eigen? ( dev-cpp/eigen:3 )
+	armadillo? ( sci-libs/armadillo[lapack] )
+	fftw? ( sci-libs/fftw:3.0= )
+	hdf5? ( sci-libs/hdf5:0= )
+	readline? ( sys-libs/readline:0= )
+"
+DEPEND="${RDEPEND}
+	virtual/pkgconfig"
+
+pkg_pretend() {
+	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+pkg_setup() {
+	if [[ ${MERGE_TYPE} != binary ]] && use openmp && ! tc-check-openmp; then
+		ewarn "OpenMP is not available in your current selected compiler"
+		die "need openmp capable compiler"
+	fi
+}
+
+src_configure() {
+	use debug || append-cppflags -DO2SCL_NO_RANGE_CHECK
+	econf \
+		--enable-acol \
+		$(use_enable armadillo) \
+		$(use_enable eigen) \
+		$(use_enable fftw) \
+		$(use_enable gsl gsl2) \
+		$(use_enable hdf5 hdf) \
+		$(use_enable hdf5 partlib) \
+		$(use_enable hdf5 eoslib) \
+		$(use_enable openmp) \
+		$(use_enable static-libs static)
+}
+
+src_install() {
+	default
+	use static-libs || prune_libtool_files
+	rm -r "${ED}"/usr/doc || die
+	if use doc; then
+		dodoc -r doc/o2scl/html
+		docompress -x /usr/share/doc/${PF}/html
+	fi
+	if use examples; then
+		dodoc -r examples
+		docompress -x /usr/share/doc/${PF}/examples
+	fi
+}


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

* [gentoo-commits] repo/gentoo:master commit in: sci-libs/o2scl/
@ 2018-05-16 22:57 Aaron Bauman
  0 siblings, 0 replies; 4+ messages in thread
From: Aaron Bauman @ 2018-05-16 22:57 UTC (permalink / raw
  To: gentoo-commits

commit:     4c27af839e3bf69035c37b362e20149ea74b6c91
Author:     Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Tue May 15 11:28:23 2018 +0000
Commit:     Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Wed May 16 22:57:00 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c27af83

sci-libs/o2scl: use HTTPS

 sci-libs/o2scl/o2scl-0.920.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-libs/o2scl/o2scl-0.920.ebuild b/sci-libs/o2scl/o2scl-0.920.ebuild
index bf2fa4a38a8..88dc93218e4 100644
--- a/sci-libs/o2scl/o2scl-0.920.ebuild
+++ b/sci-libs/o2scl/o2scl-0.920.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -6,7 +6,7 @@ EAPI=6
 inherit flag-o-matic
 
 DESCRIPTION="Object-oriented Scientific Computing Library"
-HOMEPAGE="http://web.utk.edu/~asteine1/o2scl"
+HOMEPAGE="https://web.utk.edu/~asteine1/o2scl/"
 SRC_URI="https://github.com/awsteiner/${PN}/releases/download/v${PV}/${P}.tar.gz"
 
 LICENSE="GPL-3"


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

* [gentoo-commits] repo/gentoo:master commit in: sci-libs/o2scl/
@ 2021-05-31  9:20 David Seifert
  0 siblings, 0 replies; 4+ messages in thread
From: David Seifert @ 2021-05-31  9:20 UTC (permalink / raw
  To: gentoo-commits

commit:     2f98dced0894bdd554e58faca2683151c5c7c783
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Mon May 31 09:19:27 2021 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Mon May 31 09:19:27 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f98dced

sci-libs/o2scl: drop deprecated ltprune eclass

Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 sci-libs/o2scl/o2scl-0.920.ebuild | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/sci-libs/o2scl/o2scl-0.920.ebuild b/sci-libs/o2scl/o2scl-0.920.ebuild
index 44c7333a984..14402ce10a5 100644
--- a/sci-libs/o2scl/o2scl-0.920.ebuild
+++ b/sci-libs/o2scl/o2scl-0.920.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-inherit flag-o-matic ltprune toolchain-funcs
+inherit flag-o-matic toolchain-funcs
 
 DESCRIPTION="Object-oriented Scientific Computing Library"
 HOMEPAGE="https://web.utk.edu/~asteine1/o2scl/"
@@ -55,7 +55,11 @@ src_configure() {
 
 src_install() {
 	default
-	use static-libs || prune_libtool_files
+
+	if ! use static-libs; then
+		find "${ED}" -name '*.la' -delete || die
+	fi
+
 	rm -r "${ED}"/usr/doc || die
 	if use doc; then
 		dodoc -r doc/o2scl/html


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

* [gentoo-commits] repo/gentoo:master commit in: sci-libs/o2scl/
@ 2022-09-04 12:23 David Seifert
  0 siblings, 0 replies; 4+ messages in thread
From: David Seifert @ 2022-09-04 12:23 UTC (permalink / raw
  To: gentoo-commits

commit:     673073f8509c56c1f7a59dcb6dcddbe4d890f078
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sun Sep  4 12:22:51 2022 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Sep  4 12:22:51 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=673073f8

sci-libs/o2scl: remove boost slot deps

Signed-off-by: David Seifert <soap <AT> gentoo.org>

 sci-libs/o2scl/o2scl-0.920.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-libs/o2scl/o2scl-0.920.ebuild b/sci-libs/o2scl/o2scl-0.920.ebuild
index 14402ce10a5c..b82c2a9bcc19 100644
--- a/sci-libs/o2scl/o2scl-0.920.ebuild
+++ b/sci-libs/o2scl/o2scl-0.920.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -15,7 +15,7 @@ KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="armadillo debug doc examples eigen fftw gsl hdf5 openmp readline static-libs"
 
 RDEPEND="
-	dev-libs/boost:0=
+	dev-libs/boost:=
 	>=sci-libs/gsl-2:0=
 	virtual/cblas:=
 	eigen? ( dev-cpp/eigen:3 )


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

end of thread, other threads:[~2022-09-04 12:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-16 22:57 [gentoo-commits] repo/gentoo:master commit in: sci-libs/o2scl/ Aaron Bauman
  -- strict thread matches above, loose matches on Subject: below --
2022-09-04 12:23 David Seifert
2021-05-31  9:20 David Seifert
2017-07-24 19:33 Sebastien Fabbro

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