commit: 95200076e16d6255e3fd7f0d49bbf691faeade0d
Author: Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 9 03:28:18 2019 +0000
Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Thu Apr 25 23:51:18 2019 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=95200076
sci-libs/dealii: update live ebuild
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>
sci-libs/dealii/dealii-9999.ebuild | 10 ++++++----
sci-libs/dealii/metadata.xml | 1 +
2 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/sci-libs/dealii/dealii-9999.ebuild
b/sci-libs/dealii/dealii-9999.ebuild
index 06c63c906..0da4f8ea6 100644
--- a/sci-libs/dealii/dealii-9999.ebuild
+++ b/sci-libs/dealii/dealii-9999.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
inherit cmake-utils eutils multilib
@@ -21,7 +21,7 @@ if [[ ${PV} = *9999* ]]; then
else
MY_PV="${PV//0_rc/rc}"
MY_P="${PN}-${MY_PV}"
- SRC_URI="https://github.com/dealii/dealii/archive/v${MY_PV}.tar.gz ->
${P}.tar.gz
+
SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${MY_PV}/${MY_P}.tar.gz
-> ${P}.tar.gz
doc? (
https://github.com/${PN}/${PN}/releases/download/v${MY_PV}/${MY_P}-offline_documentation.tar.gz
-> ${P}-offline_documentation.tar.gz
@@ -36,7 +36,7 @@ IUSE="
adolc assimp arpack cpu_flags_x86_avx cpu_flags_x86_sse2 cuda +debug
doc +examples gmsh +gsl hdf5 +lapack metis mpi muparser nanoflann
opencascade netcdf p4est petsc scalapack slepc +sparse static-libs
- sundials +tbb trilinos
+ sundials symengine +tbb trilinos
"
# TODO: add slepc use flag once slepc is packaged for gentoo-science
@@ -68,6 +68,7 @@ RDEPEND="dev-libs/boost
slepc? ( sci-mathematics/slepc[mpi=] )
sparse? ( sci-libs/umfpack )
sundials? ( sci-libs/sundials )
+ symengine? ( >=sci-libs/symengine-0.4:= )
tbb? ( dev-cpp/tbb )
trilinos? ( sci-libs/trilinos )"
@@ -117,6 +118,7 @@ src_configure() {
-DDEAL_II_WITH_SCALAPACK="$(usex scalapack)"
-DDEAL_II_WITH_SLEPC="$(usex slepc)"
-DDEAL_II_WITH_SUNDIALS="$(usex sundials)"
+ -DDEAL_II_WITH_SYMENGINE="$(usex symengine)"
-DDEAL_II_WITH_UMFPACK="$(usex sparse)"
-DBUILD_SHARED_LIBS="$(usex !static-libs)"
-DDEAL_II_PREFER_STATIC_LIBS="$(usex static-libs)"
diff --git a/sci-libs/dealii/metadata.xml b/sci-libs/dealii/metadata.xml
index 3b17832a7..1820575b0 100644
--- a/sci-libs/dealii/metadata.xml
+++ b/sci-libs/dealii/metadata.xml
@@ -33,6 +33,7 @@ and extra output. If you want to get meaningful backtraces see
<flag name="scalapack">Add support for ScaLAPACK
(<pkg>sci-libs/scalapack</pkg>)</flag>
<flag name="slepc">Add support for slepc
(<pkg>sci-mathematics/slepc</pkg>)</flag>
<flag name="sparse">Add support for suitesparse
(<pkg>sci-libs/suitesparse</pkg>)</flag>
+ <flag name="symengine">Add support for symengine
(<pkg>sci-libs/symengine</pkg>)</flag>
<flag name="tbb">Add threading support with the help of the tbb
library (<pkg>dev-cpp/tbb</pkg>)</flag>
<flag name="trilinos">Add support for trilinos
(<pkg>sci-libs/trilinos</pkg>)</flag>
<flag name="assimp">Add support for assimp
(<pkg>media-libs/assimp</pkg>)</flag>