* [gentoo-commits] proj/sci:master commit in: sci-libs/dealii/
@ 2015-01-31 20:19 Christoph Junghans
0 siblings, 0 replies; 53+ messages in thread
From: Christoph Junghans @ 2015-01-31 20:19 UTC (permalink / raw
To: gentoo-commits
commit: c932565c4719295cadac1afc488d304363e12342
Author: Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 29 22:28:28 2015 +0000
Commit: Christoph Junghans <ottxor <AT> gentoo <DOT> org>
CommitDate: Thu Jan 29 22:28:28 2015 +0000
URL: http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=c932565c
Convert to CPU_FLAGS_X86
Package-Manager: portage-2.2.15
---
sci-libs/dealii/ChangeLog | 4 ++++
sci-libs/dealii/dealii-8.1.0-r2.ebuild | 12 ++++++------
sci-libs/dealii/dealii-8.2.1.ebuild | 12 +++++++-----
sci-libs/dealii/dealii-9999.ebuild | 12 +++++++-----
sci-libs/dealii/metadata.xml | 1 -
5 files changed, 24 insertions(+), 17 deletions(-)
diff --git a/sci-libs/dealii/ChangeLog b/sci-libs/dealii/ChangeLog
index 7a8398c..1b5b46a 100644
--- a/sci-libs/dealii/ChangeLog
+++ b/sci-libs/dealii/ChangeLog
@@ -2,6 +2,10 @@
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 29 Jan 2015; Matthias Maier <tamiko@gentoo.org> dealii-8.1.0-r2.ebuild,
+ dealii-8.2.1.ebuild, dealii-9999.ebuild, metadata.xml:
+ Convert to CPU_FLAGS_X86
+
21 Jan 2015; Matthias Maier <tamiko@gentoo.org> dealii-9999.ebuild:
sci-libs/dealii - fix typo in live ebuild
diff --git a/sci-libs/dealii/dealii-8.1.0-r2.ebuild b/sci-libs/dealii/dealii-8.1.0-r2.ebuild
index faf32b7..7e174ff 100644
--- a/sci-libs/dealii/dealii-8.1.0-r2.ebuild
+++ b/sci-libs/dealii/dealii-8.1.0-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
@@ -24,9 +24,9 @@ fi
LICENSE="LGPL-2.1+"
SLOT="0"
IUSE="
- arpack avx +debug doc +examples hdf5 +lapack mesh_converter metis mpi
- mumps netcdf p4est parameter_gui petsc +sparse
- sse2 static-libs +tbb trilinos
+ arpack cpu_flags_x86_avx cpu_flags_x86_sse2 +debug doc +examples hdf5
+ +lapack mesh_converter metis mpi mumps netcdf p4est parameter_gui petsc
+ +sparse static-libs +tbb trilinos
"
# TODO: add slepc use flag once slepc is packaged for gentoo-science
@@ -74,7 +74,8 @@ src_configure() {
-DDEAL_II_WITH_BZIP2=ON
-DDEAL_II_WITH_ZLIB=ON
$(cmake-utils_use arpack DEAL_II_WITH_ARPACK)
- $(cmake-utils_use avx DEAL_II_HAVE_AVX)
+ $(cmake-utils_use cpu_flags_x86_avx DEAL_II_HAVE_AVX)
+ $(cmake-utils_use cpu_flags_x86_sse2 DEAL_II_HAVE_SSE2)
$(cmake-utils_use doc DEAL_II_COMPONENT_DOCUMENTATION)
$(cmake-utils_use examples DEAL_II_COMPONENT_EXAMPLES)
$(cmake-utils_use hdf5 DEAL_II_WITH_HDF5)
@@ -88,7 +89,6 @@ src_configure() {
$(cmake-utils_use parameter_gui DEAL_II_COMPONENT_PARAMETER_GUI)
$(cmake-utils_use petsc DEAL_II_WITH_PETSC)
$(cmake-utils_use sparse DEAL_II_WITH_UMFPACK)
- $(cmake-utils_use sse2 DEAL_II_HAVE_SSE2)
$(cmake-utils_use !static-libs BUILD_SHARED_LIBS)
$(cmake-utils_use static-libs DEAL_II_PREFER_STATIC_LIBS)
$(cmake-utils_use tbb DEAL_II_WITH_THREADS)
diff --git a/sci-libs/dealii/dealii-8.2.1.ebuild b/sci-libs/dealii/dealii-8.2.1.ebuild
index 2aff619..07c31a3 100644
--- a/sci-libs/dealii/dealii-8.2.1.ebuild
+++ b/sci-libs/dealii/dealii-8.2.1.ebuild
@@ -31,9 +31,10 @@ fi
LICENSE="LGPL-2.1+"
SLOT="0"
IUSE="
- arpack avx c++11 +debug doc +examples hdf5 +lapack mesh_converter metis
- mpi mumps muparser opencascade netcdf p4est parameter_gui petsc +sparse
- sse2 static-libs +tbb trilinos
+ arpack cpu_flags_x86_avx cpu_flags_x86_avx2 cpu_flags_x86_sse2 c++11
+ +debug doc +examples hdf5 +lapack mesh_converter metis mpi mumps
+ muparser opencascade netcdf p4est parameter_gui petsc +sparse
+ static-libs +tbb trilinos
"
# TODO: add slepc use flag once slepc is packaged for gentoo-science
@@ -83,8 +84,10 @@ src_configure() {
-DDEAL_II_WITH_BZIP2=ON
-DDEAL_II_WITH_ZLIB=ON
$(cmake-utils_use arpack DEAL_II_WITH_ARPACK)
- $(cmake-utils_use avx DEAL_II_HAVE_AVX)
$(cmake-utils_use c++11 DEAL_II_WITH_CXX11)
+ $(cmake-utils_use cpu_flags_x86_avx DEAL_II_HAVE_AVX)
+ $(cmake-utils_use cpu_flags_x86_avx2 DEAL_II_HAVE_AVX512)
+ $(cmake-utils_use cpu_flags_x86_sse2 DEAL_II_HAVE_SSE2)
$(cmake-utils_use doc DEAL_II_COMPONENT_DOCUMENTATION)
$(cmake-utils_use examples DEAL_II_COMPONENT_EXAMPLES)
$(cmake-utils_use hdf5 DEAL_II_WITH_HDF5)
@@ -101,7 +104,6 @@ src_configure() {
$(cmake-utils_use parameter_gui DEAL_II_COMPONENT_PARAMETER_GUI)
$(cmake-utils_use petsc DEAL_II_WITH_PETSC)
$(cmake-utils_use sparse DEAL_II_WITH_UMFPACK)
- $(cmake-utils_use sse2 DEAL_II_HAVE_SSE2)
$(cmake-utils_use !static-libs BUILD_SHARED_LIBS)
$(cmake-utils_use static-libs DEAL_II_PREFER_STATIC_LIBS)
$(cmake-utils_use tbb DEAL_II_WITH_THREADS)
diff --git a/sci-libs/dealii/dealii-9999.ebuild b/sci-libs/dealii/dealii-9999.ebuild
index 01a7a1c..2774e75 100644
--- a/sci-libs/dealii/dealii-9999.ebuild
+++ b/sci-libs/dealii/dealii-9999.ebuild
@@ -31,9 +31,10 @@ fi
LICENSE="LGPL-2.1+"
SLOT="0"
IUSE="
- arpack avx c++11 +debug doc +examples hdf5 +lapack mesh_converter metis
- mpi muparser opencascade netcdf p4est parameter_gui petsc +sparse
- sse2 static-libs +tbb trilinos
+ arpack cpu_flags_x86_avx cpu_flags_x86_avx2 cpu_flags_x86_sse2 c++11
+ +debug doc +examples hdf5 +lapack mesh_converter metis mpi muparser
+ opencascade netcdf p4est parameter_gui petsc +sparse static-libs +tbb
+ trilinos
"
# TODO: add slepc use flag once slepc is packaged for gentoo-science
@@ -79,8 +80,10 @@ src_configure() {
-DDEAL_II_WITH_BZIP2=ON
-DDEAL_II_WITH_ZLIB=ON
$(cmake-utils_use arpack DEAL_II_WITH_ARPACK)
- $(cmake-utils_use avx DEAL_II_HAVE_AVX)
$(cmake-utils_use c++11 DEAL_II_WITH_CXX11)
+ $(cmake-utils_use cpu_flags_x86_avx DEAL_II_HAVE_AVX)
+ $(cmake-utils_use cpu_flags_x86_avx2 DEAL_II_HAVE_AVX512)
+ $(cmake-utils_use cpu_flags_x86_sse2 DEAL_II_HAVE_SSE2)
$(cmake-utils_use doc DEAL_II_COMPONENT_DOCUMENTATION)
$(cmake-utils_use examples DEAL_II_COMPONENT_EXAMPLES)
$(cmake-utils_use hdf5 DEAL_II_WITH_HDF5)
@@ -96,7 +99,6 @@ src_configure() {
$(cmake-utils_use parameter_gui DEAL_II_COMPONENT_PARAMETER_GUI)
$(cmake-utils_use petsc DEAL_II_WITH_PETSC)
$(cmake-utils_use sparse DEAL_II_WITH_UMFPACK)
- $(cmake-utils_use sse2 DEAL_II_HAVE_SSE2)
$(cmake-utils_use !static-libs BUILD_SHARED_LIBS)
$(cmake-utils_use static-libs DEAL_II_PREFER_STATIC_LIBS)
$(cmake-utils_use tbb DEAL_II_WITH_THREADS)
diff --git a/sci-libs/dealii/metadata.xml b/sci-libs/dealii/metadata.xml
index ac7226b..e838dc1 100644
--- a/sci-libs/dealii/metadata.xml
+++ b/sci-libs/dealii/metadata.xml
@@ -14,7 +14,6 @@ to the complex data structures and algorithms required.
</longdescription>
<use>
<flag name="arpack">Adds support for ARPACK (<pkg>sci-libs/arpack</pkg>)</flag>
- <flag name="avx">Use Advanced Vector Extensions for AVX capable chips</flag>
<flag name="debug">
Build an additional debug library with extra debug codepaths, like asserts
and extra output. If you want to get meaningful backtraces see
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/dealii/
@ 2019-08-05 6:52 Matthias Maier
0 siblings, 0 replies; 53+ messages in thread
From: Matthias Maier @ 2019-08-05 6:52 UTC (permalink / raw
To: gentoo-commits
commit: 45270dd4d64499b85d5328fd8744f3cccf3e4a12
Author: Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 5 06:42:44 2019 +0000
Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Mon Aug 5 06:43:12 2019 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=45270dd4
sci-libs/dealii: merge into ::gentoo and remove from overlay.
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>
sci-libs/dealii/dealii-8.5.0.ebuild | 128 -------------------------------
sci-libs/dealii/dealii-9.0.1.ebuild | 143 -----------------------------------
sci-libs/dealii/dealii-9.1.1.ebuild | 145 ------------------------------------
sci-libs/dealii/dealii-9999.ebuild | 145 ------------------------------------
sci-libs/dealii/metadata.xml | 46 ------------
5 files changed, 607 deletions(-)
diff --git a/sci-libs/dealii/dealii-8.5.0.ebuild b/sci-libs/dealii/dealii-8.5.0.ebuild
deleted file mode 100644
index 50b6e6d7e..000000000
--- a/sci-libs/dealii/dealii-8.5.0.ebuild
+++ /dev/null
@@ -1,128 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit cmake-utils eutils multilib
-
-# deal.II uses its own FindLAPACK.cmake file that calls into the system
-# FindLAPACK.cmake module and does additional internal setup. Do not remove
-# any of these modules:
-CMAKE_REMOVE_MODULES_LIST=""
-
-DESCRIPTION="Solving partial differential equations with the finite element method"
-HOMEPAGE="http://www.dealii.org/"
-
-if [[ ${PV} = *9999* ]]; then
- inherit git-r3
- EGIT_REPO_URI="git://github.com/dealii/dealii.git"
- SRC_URI=""
- KEYWORDS=""
-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
- doc? (
- https://github.com/${PN}/${PN}/releases/download/v${MY_PV}/${MY_P}-offline_documentation.tar.gz
- -> ${P}-offline_documentation.tar.gz
- )"
- KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
- S="${WORKDIR}/${PN}-${MY_PV}"
-fi
-
-LICENSE="LGPL-2.1+"
-SLOT="0"
-IUSE="
- arpack cpu_flags_x86_avx cpu_flags_x86_sse2 c++11 +debug doc +examples
- +gsl hdf5 +lapack metis mpi muparser opencascade netcdf p4est petsc
- slepc +sparse static-libs +tbb trilinos
-"
-
-# TODO: add slepc use flag once slepc is packaged for gentoo-science
-REQUIRED_USE="
- p4est? ( mpi )
- slepc? ( petsc )
- trilinos? ( mpi )"
-
-RDEPEND="dev-libs/boost
- app-arch/bzip2
- sys-libs/zlib
- arpack? ( sci-libs/arpack[mpi=] )
- gsl? ( sci-libs/gsl )
- hdf5? ( sci-libs/hdf5[mpi=] )
- lapack? ( virtual/lapack )
- metis? ( >=sci-libs/parmetis-4 )
- mpi? ( virtual/mpi )
- muparser? ( dev-cpp/muParser )
- netcdf? ( sci-libs/netcdf-cxx:0 )
- opencascade? ( sci-libs/opencascade:* )
- p4est? ( sci-libs/p4est[mpi] )
- petsc? ( sci-mathematics/petsc[mpi=] )
- slepc? ( sci-mathematics/slepc[mpi=] )
- sparse? ( sci-libs/umfpack )
- tbb? ( dev-cpp/tbb )
- trilinos? ( sci-libs/trilinos )"
-
-DEPEND="${RDEPEND}
- virtual/pkgconfig
- doc? ( app-doc/doxygen[dot] dev-lang/perl )"
-
-src_configure() {
- # deal.II needs a custom build type:
- local CMAKE_BUILD_TYPE=$(usex debug DebugRelease Release)
-
- local mycmakeargs=(
- -DCMAKE_INSTALL_RPATH_USE_LINK_PATH=OFF
- -DDEAL_II_ALLOW_AUTODETECTION=OFF
- -DDEAL_II_ALLOW_BUNDLED=OFF
- -DDEAL_II_ALLOW_PLATFORM_INTROSPECTION=OFF
- -DDEAL_II_COMPILE_EXAMPLES=OFF
- -DDEAL_II_DOCHTML_RELDIR="share/doc/${P}/html"
- -DDEAL_II_DOCREADME_RELDIR="share/doc/${P}"
- -DDEAL_II_EXAMPLES_RELDIR="share/doc/${P}/examples"
- -DDEAL_II_LIBRARY_RELDIR="$(get_libdir)"
- -DDEAL_II_SHARE_RELDIR="share/${PN}"
- -DDEAL_II_WITH_BZIP2=ON
- -DDEAL_II_WITH_ZLIB=ON
- -DDEAL_II_WITH_ARPACK="$(usex arpack)"
- -DDEAL_II_WITH_CXX11="$(usex c++11)"
- -DDEAL_II_HAVE_AVX="$(usex cpu_flags_x86_avx)"
- -DDEAL_II_HAVE_SSE2="$(usex cpu_flags_x86_sse2)"
- -DDEAL_II_COMPONENT_DOCUMENTATION="$(usex doc)"
- -DDEAL_II_COMPONENT_EXAMPLES="$(usex examples)"
- -DDEAL_II_WITH_GSL="$(usex gsl)"
- -DDEAL_II_WITH_HDF5="$(usex hdf5)"
- -DDEAL_II_WITH_LAPACK="$(usex lapack)"
- -DDEAL_II_WITH_METIS="$(usex metis)"
- -DDEAL_II_WITH_MPI="$(usex mpi)"
- -DDEAL_II_WITH_MUPARSER="$(usex muparser)"
- -DDEAL_II_WITH_NETCDF="$(usex netcdf)"
- -DOPENCASCADE_DIR="${CASROOT}"
- -DDEAL_II_WITH_OPENCASCADE="$(usex opencascade)"
- -DDEAL_II_WITH_P4EST="$(usex p4est)"
- -DDEAL_II_WITH_PETSC="$(usex petsc)"
- -DDEAL_II_WITH_SLEPC="$(usex slepc)"
- -DDEAL_II_WITH_UMFPACK="$(usex sparse)"
- -DBUILD_SHARED_LIBS="$(usex !static-libs)"
- -DDEAL_II_PREFER_STATIC_LIBS="$(usex static-libs)"
- -DDEAL_II_WITH_THREADS="$(usex tbb)"
- -DDEAL_II_WITH_TRILINOS="$(usex trilinos)"
- )
- cmake-utils_src_configure
-}
-
-src_install() {
- if use doc && [[ ${PV} != *9999* ]]; then
- # copy missing images to the build directory:
- cp -r "${WORKDIR}"/doc/doxygen/deal.II/images \
- "${BUILD_DIR}"/doc/doxygen/deal.II || die
- # replace links:
- sed -i \
- 's#"http://www.dealii.org/images/steps/developer/\(step-.*\)"#"images/\1"#g' \
- "${BUILD_DIR}"/doc/doxygen/deal.II/step_*.html || die "sed failed"
- fi
- cmake-utils_src_install
-
- # decompress the installed example sources:
- use examples && docompress -x /usr/share/doc/${PF}/examples
-}
diff --git a/sci-libs/dealii/dealii-9.0.1.ebuild b/sci-libs/dealii/dealii-9.0.1.ebuild
deleted file mode 100644
index e95ceab6e..000000000
--- a/sci-libs/dealii/dealii-9.0.1.ebuild
+++ /dev/null
@@ -1,143 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit cmake-utils eutils multilib
-
-# deal.II uses its own FindLAPACK.cmake file that calls into the system
-# FindLAPACK.cmake module and does additional internal setup. Do not remove
-# any of these modules:
-CMAKE_REMOVE_MODULES_LIST=""
-
-DESCRIPTION="Solving partial differential equations with the finite element method"
-HOMEPAGE="http://www.dealii.org/"
-
-if [[ ${PV} = *9999* ]]; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/dealii/dealii.git"
- SRC_URI=""
- KEYWORDS=""
-else
- MY_PV="${PV//0_rc/rc}"
- MY_P="${PN}-${MY_PV}"
- SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${MY_PV}/${MY_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
- )"
- KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
- S="${WORKDIR}/${PN}-${MY_PV}"
-fi
-
-LICENSE="LGPL-2.1+"
-SLOT="0"
-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
-"
-
-# TODO: add slepc use flag once slepc is packaged for gentoo-science
-REQUIRED_USE="
- p4est? ( mpi )
- slepc? ( petsc )
- trilinos? ( mpi )"
-
-RDEPEND="dev-libs/boost
- app-arch/bzip2
- sys-libs/zlib
- adolc? ( sci-libs/adolc )
- arpack? ( sci-libs/arpack[mpi=] )
- assimp? ( media-libs/assimp )
- cuda? ( dev-util/nvidia-cuda-sdk )
- gmsh? ( sci-libs/gmsh )
- gsl? ( sci-libs/gsl )
- hdf5? ( sci-libs/hdf5[mpi=] )
- lapack? ( virtual/lapack )
- metis? ( >=sci-libs/parmetis-4 )
- mpi? ( virtual/mpi )
- muparser? ( dev-cpp/muParser )
- nanoflann? ( sci-libs/nanoflann )
- netcdf? ( sci-libs/netcdf-cxx:0 )
- opencascade? ( sci-libs/opencascade:* )
- p4est? ( sci-libs/p4est[mpi] )
- petsc? ( sci-mathematics/petsc[mpi=] )
- scalapack? ( sci-libs/scalapack )
- slepc? ( sci-mathematics/slepc[mpi=] )
- sparse? ( sci-libs/umfpack )
- sundials? ( sci-libs/sundials )
- tbb? ( dev-cpp/tbb )
- trilinos? ( sci-libs/trilinos )"
-
-DEPEND="${RDEPEND}
- virtual/pkgconfig
- doc? ( app-doc/doxygen[dot] dev-lang/perl )"
-
-src_configure() {
- # deal.II needs a custom build type:
- local CMAKE_BUILD_TYPE=$(usex debug DebugRelease Release)
-
- local mycmakeargs=(
- -DDEAL_II_PACKAGE_VERSION=9999
- -DCMAKE_INSTALL_RPATH_USE_LINK_PATH=OFF
- -DDEAL_II_ALLOW_AUTODETECTION=OFF
- -DDEAL_II_ALLOW_BUNDLED=OFF
- -DDEAL_II_ALLOW_PLATFORM_INTROSPECTION=OFF
- -DDEAL_II_COMPILE_EXAMPLES=OFF
- -DDEAL_II_DOCHTML_RELDIR="share/doc/${P}/html"
- -DDEAL_II_DOCREADME_RELDIR="share/doc/${P}"
- -DDEAL_II_COMPILE_EXAMPLES=OFF
- -DDEAL_II_EXAMPLES_RELDIR="share/doc/${P}/examples"
- -DDEAL_II_LIBRARY_RELDIR="$(get_libdir)"
- -DDEAL_II_SHARE_RELDIR="share/${PN}"
- -DDEAL_II_WITH_ZLIB=ON
- -DDEAL_II_WITH_ADOLC="$(usex adolc)"
- -DDEAL_II_WITH_ASSIMP="$(usex assimp)"
- -DDEAL_II_WITH_ARPACK="$(usex arpack)"
- -DDEAL_II_HAVE_AVX="$(usex cpu_flags_x86_avx)"
- -DDEAL_II_WITH_CUDA="$(usex cuda)"
- -DDEAL_II_HAVE_SSE2="$(usex cpu_flags_x86_sse2)"
- -DDEAL_II_COMPONENT_DOCUMENTATION="$(usex doc)"
- -DDEAL_II_COMPONENT_EXAMPLES="$(usex examples)"
- -DDEAL_II_WITH_GMSH="$(usex gmsh)"
- -DDEAL_II_WITH_GSL="$(usex gsl)"
- -DDEAL_II_WITH_HDF5="$(usex hdf5)"
- -DDEAL_II_WITH_LAPACK="$(usex lapack)"
- -DDEAL_II_WITH_METIS="$(usex metis)"
- -DDEAL_II_WITH_MPI="$(usex mpi)"
- -DDEAL_II_WITH_MUPARSER="$(usex muparser)"
- -DDEAL_II_WITH_NANOFLANN="$(usex nanoflann)"
- -DDEAL_II_WITH_NETCDF="$(usex netcdf)"
- -DOPENCASCADE_DIR="${CASROOT}"
- -DDEAL_II_WITH_OPENCASCADE="$(usex opencascade)"
- -DDEAL_II_WITH_P4EST="$(usex p4est)"
- -DDEAL_II_WITH_PETSC="$(usex petsc)"
- -DDEAL_II_WITH_SCALAPACK="$(usex scalapack)"
- -DDEAL_II_WITH_SLEPC="$(usex slepc)"
- -DDEAL_II_WITH_SUNDIALS="$(usex sundials)"
- -DDEAL_II_WITH_UMFPACK="$(usex sparse)"
- -DBUILD_SHARED_LIBS="$(usex !static-libs)"
- -DDEAL_II_PREFER_STATIC_LIBS="$(usex static-libs)"
- -DDEAL_II_WITH_THREADS="$(usex tbb)"
- -DDEAL_II_WITH_TRILINOS="$(usex trilinos)"
- )
- cmake-utils_src_configure
-}
-
-src_install() {
- if use doc && [[ ${PV} != *9999* ]]; then
- # copy missing images to the build directory:
- cp -r "${WORKDIR}"/doc/doxygen/deal.II/images \
- "${BUILD_DIR}"/doc/doxygen/deal.II || die
- # replace links:
- sed -i \
- 's#"http://www.dealii.org/images/steps/developer/\(step-.*\)"#"images/\1"#g' \
- "${BUILD_DIR}"/doc/doxygen/deal.II/step_*.html || die "sed failed"
- fi
- cmake-utils_src_install
-
- # decompress the installed example sources:
- use examples && docompress -x /usr/share/doc/${PF}/examples
-}
diff --git a/sci-libs/dealii/dealii-9.1.1.ebuild b/sci-libs/dealii/dealii-9.1.1.ebuild
deleted file mode 100644
index 0da4f8ea6..000000000
--- a/sci-libs/dealii/dealii-9.1.1.ebuild
+++ /dev/null
@@ -1,145 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake-utils eutils multilib
-
-# deal.II uses its own FindLAPACK.cmake file that calls into the system
-# FindLAPACK.cmake module and does additional internal setup. Do not remove
-# any of these modules:
-CMAKE_REMOVE_MODULES_LIST=""
-
-DESCRIPTION="Solving partial differential equations with the finite element method"
-HOMEPAGE="http://www.dealii.org/"
-
-if [[ ${PV} = *9999* ]]; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/dealii/dealii.git"
- SRC_URI=""
- KEYWORDS=""
-else
- MY_PV="${PV//0_rc/rc}"
- MY_P="${PN}-${MY_PV}"
- 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
- )"
- KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
- S="${WORKDIR}/${PN}-${MY_PV}"
-fi
-
-LICENSE="LGPL-2.1+"
-SLOT="0"
-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 symengine +tbb trilinos
-"
-
-# TODO: add slepc use flag once slepc is packaged for gentoo-science
-REQUIRED_USE="
- p4est? ( mpi )
- slepc? ( petsc )
- trilinos? ( mpi )"
-
-RDEPEND="dev-libs/boost
- app-arch/bzip2
- sys-libs/zlib
- adolc? ( sci-libs/adolc )
- arpack? ( sci-libs/arpack[mpi=] )
- assimp? ( media-libs/assimp )
- cuda? ( dev-util/nvidia-cuda-sdk )
- gmsh? ( sci-libs/gmsh )
- gsl? ( sci-libs/gsl )
- hdf5? ( sci-libs/hdf5[mpi=] )
- lapack? ( virtual/lapack )
- metis? ( >=sci-libs/parmetis-4 )
- mpi? ( virtual/mpi )
- muparser? ( dev-cpp/muParser )
- nanoflann? ( sci-libs/nanoflann )
- netcdf? ( sci-libs/netcdf-cxx:0 )
- opencascade? ( sci-libs/opencascade:* )
- p4est? ( sci-libs/p4est[mpi] )
- petsc? ( sci-mathematics/petsc[mpi=] )
- scalapack? ( sci-libs/scalapack )
- 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 )"
-
-DEPEND="${RDEPEND}
- virtual/pkgconfig
- doc? ( app-doc/doxygen[dot] dev-lang/perl )"
-
-src_configure() {
- # deal.II needs a custom build type:
- local CMAKE_BUILD_TYPE=$(usex debug DebugRelease Release)
-
- local mycmakeargs=(
- -DDEAL_II_PACKAGE_VERSION=9999
- -DCMAKE_INSTALL_RPATH_USE_LINK_PATH=OFF
- -DDEAL_II_ALLOW_AUTODETECTION=OFF
- -DDEAL_II_ALLOW_BUNDLED=OFF
- -DDEAL_II_ALLOW_PLATFORM_INTROSPECTION=OFF
- -DDEAL_II_COMPILE_EXAMPLES=OFF
- -DDEAL_II_DOCHTML_RELDIR="share/doc/${P}/html"
- -DDEAL_II_DOCREADME_RELDIR="share/doc/${P}"
- -DDEAL_II_COMPILE_EXAMPLES=OFF
- -DDEAL_II_EXAMPLES_RELDIR="share/doc/${P}/examples"
- -DDEAL_II_LIBRARY_RELDIR="$(get_libdir)"
- -DDEAL_II_SHARE_RELDIR="share/${PN}"
- -DDEAL_II_WITH_ZLIB=ON
- -DDEAL_II_WITH_ADOLC="$(usex adolc)"
- -DDEAL_II_WITH_ASSIMP="$(usex assimp)"
- -DDEAL_II_WITH_ARPACK="$(usex arpack)"
- -DDEAL_II_HAVE_AVX="$(usex cpu_flags_x86_avx)"
- -DDEAL_II_WITH_CUDA="$(usex cuda)"
- -DDEAL_II_HAVE_SSE2="$(usex cpu_flags_x86_sse2)"
- -DDEAL_II_COMPONENT_DOCUMENTATION="$(usex doc)"
- -DDEAL_II_COMPONENT_EXAMPLES="$(usex examples)"
- -DDEAL_II_WITH_GMSH="$(usex gmsh)"
- -DDEAL_II_WITH_GSL="$(usex gsl)"
- -DDEAL_II_WITH_HDF5="$(usex hdf5)"
- -DDEAL_II_WITH_LAPACK="$(usex lapack)"
- -DDEAL_II_WITH_METIS="$(usex metis)"
- -DDEAL_II_WITH_MPI="$(usex mpi)"
- -DDEAL_II_WITH_MUPARSER="$(usex muparser)"
- -DDEAL_II_WITH_NANOFLANN="$(usex nanoflann)"
- -DDEAL_II_WITH_NETCDF="$(usex netcdf)"
- -DOPENCASCADE_DIR="${CASROOT}"
- -DDEAL_II_WITH_OPENCASCADE="$(usex opencascade)"
- -DDEAL_II_WITH_P4EST="$(usex p4est)"
- -DDEAL_II_WITH_PETSC="$(usex petsc)"
- -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)"
- -DDEAL_II_WITH_THREADS="$(usex tbb)"
- -DDEAL_II_WITH_TRILINOS="$(usex trilinos)"
- )
- cmake-utils_src_configure
-}
-
-src_install() {
- if use doc && [[ ${PV} != *9999* ]]; then
- # copy missing images to the build directory:
- cp -r "${WORKDIR}"/doc/doxygen/deal.II/images \
- "${BUILD_DIR}"/doc/doxygen/deal.II || die
- # replace links:
- sed -i \
- 's#"http://www.dealii.org/images/steps/developer/\(step-.*\)"#"images/\1"#g' \
- "${BUILD_DIR}"/doc/doxygen/deal.II/step_*.html || die "sed failed"
- fi
- cmake-utils_src_install
-
- # decompress the installed example sources:
- use examples && docompress -x /usr/share/doc/${PF}/examples
-}
diff --git a/sci-libs/dealii/dealii-9999.ebuild b/sci-libs/dealii/dealii-9999.ebuild
deleted file mode 100644
index 0da4f8ea6..000000000
--- a/sci-libs/dealii/dealii-9999.ebuild
+++ /dev/null
@@ -1,145 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake-utils eutils multilib
-
-# deal.II uses its own FindLAPACK.cmake file that calls into the system
-# FindLAPACK.cmake module and does additional internal setup. Do not remove
-# any of these modules:
-CMAKE_REMOVE_MODULES_LIST=""
-
-DESCRIPTION="Solving partial differential equations with the finite element method"
-HOMEPAGE="http://www.dealii.org/"
-
-if [[ ${PV} = *9999* ]]; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/dealii/dealii.git"
- SRC_URI=""
- KEYWORDS=""
-else
- MY_PV="${PV//0_rc/rc}"
- MY_P="${PN}-${MY_PV}"
- 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
- )"
- KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
- S="${WORKDIR}/${PN}-${MY_PV}"
-fi
-
-LICENSE="LGPL-2.1+"
-SLOT="0"
-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 symengine +tbb trilinos
-"
-
-# TODO: add slepc use flag once slepc is packaged for gentoo-science
-REQUIRED_USE="
- p4est? ( mpi )
- slepc? ( petsc )
- trilinos? ( mpi )"
-
-RDEPEND="dev-libs/boost
- app-arch/bzip2
- sys-libs/zlib
- adolc? ( sci-libs/adolc )
- arpack? ( sci-libs/arpack[mpi=] )
- assimp? ( media-libs/assimp )
- cuda? ( dev-util/nvidia-cuda-sdk )
- gmsh? ( sci-libs/gmsh )
- gsl? ( sci-libs/gsl )
- hdf5? ( sci-libs/hdf5[mpi=] )
- lapack? ( virtual/lapack )
- metis? ( >=sci-libs/parmetis-4 )
- mpi? ( virtual/mpi )
- muparser? ( dev-cpp/muParser )
- nanoflann? ( sci-libs/nanoflann )
- netcdf? ( sci-libs/netcdf-cxx:0 )
- opencascade? ( sci-libs/opencascade:* )
- p4est? ( sci-libs/p4est[mpi] )
- petsc? ( sci-mathematics/petsc[mpi=] )
- scalapack? ( sci-libs/scalapack )
- 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 )"
-
-DEPEND="${RDEPEND}
- virtual/pkgconfig
- doc? ( app-doc/doxygen[dot] dev-lang/perl )"
-
-src_configure() {
- # deal.II needs a custom build type:
- local CMAKE_BUILD_TYPE=$(usex debug DebugRelease Release)
-
- local mycmakeargs=(
- -DDEAL_II_PACKAGE_VERSION=9999
- -DCMAKE_INSTALL_RPATH_USE_LINK_PATH=OFF
- -DDEAL_II_ALLOW_AUTODETECTION=OFF
- -DDEAL_II_ALLOW_BUNDLED=OFF
- -DDEAL_II_ALLOW_PLATFORM_INTROSPECTION=OFF
- -DDEAL_II_COMPILE_EXAMPLES=OFF
- -DDEAL_II_DOCHTML_RELDIR="share/doc/${P}/html"
- -DDEAL_II_DOCREADME_RELDIR="share/doc/${P}"
- -DDEAL_II_COMPILE_EXAMPLES=OFF
- -DDEAL_II_EXAMPLES_RELDIR="share/doc/${P}/examples"
- -DDEAL_II_LIBRARY_RELDIR="$(get_libdir)"
- -DDEAL_II_SHARE_RELDIR="share/${PN}"
- -DDEAL_II_WITH_ZLIB=ON
- -DDEAL_II_WITH_ADOLC="$(usex adolc)"
- -DDEAL_II_WITH_ASSIMP="$(usex assimp)"
- -DDEAL_II_WITH_ARPACK="$(usex arpack)"
- -DDEAL_II_HAVE_AVX="$(usex cpu_flags_x86_avx)"
- -DDEAL_II_WITH_CUDA="$(usex cuda)"
- -DDEAL_II_HAVE_SSE2="$(usex cpu_flags_x86_sse2)"
- -DDEAL_II_COMPONENT_DOCUMENTATION="$(usex doc)"
- -DDEAL_II_COMPONENT_EXAMPLES="$(usex examples)"
- -DDEAL_II_WITH_GMSH="$(usex gmsh)"
- -DDEAL_II_WITH_GSL="$(usex gsl)"
- -DDEAL_II_WITH_HDF5="$(usex hdf5)"
- -DDEAL_II_WITH_LAPACK="$(usex lapack)"
- -DDEAL_II_WITH_METIS="$(usex metis)"
- -DDEAL_II_WITH_MPI="$(usex mpi)"
- -DDEAL_II_WITH_MUPARSER="$(usex muparser)"
- -DDEAL_II_WITH_NANOFLANN="$(usex nanoflann)"
- -DDEAL_II_WITH_NETCDF="$(usex netcdf)"
- -DOPENCASCADE_DIR="${CASROOT}"
- -DDEAL_II_WITH_OPENCASCADE="$(usex opencascade)"
- -DDEAL_II_WITH_P4EST="$(usex p4est)"
- -DDEAL_II_WITH_PETSC="$(usex petsc)"
- -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)"
- -DDEAL_II_WITH_THREADS="$(usex tbb)"
- -DDEAL_II_WITH_TRILINOS="$(usex trilinos)"
- )
- cmake-utils_src_configure
-}
-
-src_install() {
- if use doc && [[ ${PV} != *9999* ]]; then
- # copy missing images to the build directory:
- cp -r "${WORKDIR}"/doc/doxygen/deal.II/images \
- "${BUILD_DIR}"/doc/doxygen/deal.II || die
- # replace links:
- sed -i \
- 's#"http://www.dealii.org/images/steps/developer/\(step-.*\)"#"images/\1"#g' \
- "${BUILD_DIR}"/doc/doxygen/deal.II/step_*.html || die "sed failed"
- fi
- cmake-utils_src_install
-
- # decompress the installed example sources:
- use examples && docompress -x /usr/share/doc/${PF}/examples
-}
diff --git a/sci-libs/dealii/metadata.xml b/sci-libs/dealii/metadata.xml
deleted file mode 100644
index 1820575b0..000000000
--- a/sci-libs/dealii/metadata.xml
+++ /dev/null
@@ -1,46 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>tamiko@gentoo.org</email>
- <name>Matthias Maier</name>
- </maintainer>
- <maintainer type="project">
- <email>sci@gentoo.org</email>
- <name>Gentoo Science Project</name>
- </maintainer>
- <longdescription lang="en">
-deal.II is a C++ program library targeted at the computational solution
-of partial differential equations using adaptive finite elements. It uses
-state-of-the-art programming techniques to offer you a modern interface
-to the complex data structures and algorithms required.
-</longdescription>
- <use>
- <flag name="adolc">Adds support for ADOL-C (<pkg>sci-libs/adolc</pkg>)</flag>
- <flag name="arpack">Adds support for ARPACK (<pkg>sci-libs/arpack</pkg>)</flag>
- <flag name="debug">
-Build an additional debug library with extra debug codepaths, like asserts
-and extra output. If you want to get meaningful backtraces see
-<http://www.gentoo.org/proj/en/qa/backtraces.xml></flag>
- <flag name="c++11">Compile the library with -std=c++11</flag>
- <flag name="gmsh">Add support for gmsh (<pkg>sci-libs/gmsh</pkg>)</flag>
- <flag name="metis">Add support for metis (<pkg>sci-libs/metis</pkg>)</flag>
- <flag name="muparser">Add support for muparser (<pkg>dev-cpp/muParser</pkg>)</flag>
- <flag name="nanoflann">Adds support for nanoflann (<pkg>sci-libs/nanoflann</pkg>)</flag>
- <flag name="opencascade">Add support for opencascade (<pkg>sci-libs/opencascade</pkg>)</flag>
- <flag name="p4est">Add support for p4est (<pkg>sci-mathematics/p4est</pkg>)</flag>
- <flag name="petsc">Add support for petsc (<pkg>sci-mathematics/petsc</pkg>)</flag>
- <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>
- <flag name="cuda">Add support for cuda assimp (<pkg>dev-util/nvidia-cuda-sdk</pkg>)</flag>
- <flag name="sundials">Add support for sundials assimp (<pkg>sci-libs/sundials</pkg>)</flag>
- </use>
- <upstream>
- <remote-id type="github">dealii/dealii</remote-id>
- </upstream>
-</pkgmetadata>
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/dealii/
@ 2019-08-02 1:05 Matthias Maier
0 siblings, 0 replies; 53+ messages in thread
From: Matthias Maier @ 2019-08-02 1:05 UTC (permalink / raw
To: gentoo-commits
commit: 4b82710a5310abf549e464f9f6a97d6a8f483fa1
Author: Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 2 01:04:59 2019 +0000
Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Fri Aug 2 01:04:59 2019 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=4b82710a
sci-libs/dealii: bump patch level to 9.1.1
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>
sci-libs/dealii/{dealii-9.1.0.ebuild => dealii-9.1.1.ebuild} | 0
1 file changed, 0 insertions(+), 0 deletions(-)
diff --git a/sci-libs/dealii/dealii-9.1.0.ebuild b/sci-libs/dealii/dealii-9.1.1.ebuild
similarity index 100%
rename from sci-libs/dealii/dealii-9.1.0.ebuild
rename to sci-libs/dealii/dealii-9.1.1.ebuild
^ permalink raw reply [flat|nested] 53+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/dealii/
@ 2019-05-22 17:33 Matthias Maier
0 siblings, 0 replies; 53+ messages in thread
From: Matthias Maier @ 2019-05-22 17:33 UTC (permalink / raw
To: gentoo-commits
commit: 28f9d1191ab8a79a44c81d1b5c293d617714ea79
Author: Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Wed May 22 17:29:38 2019 +0000
Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Wed May 22 17:29:38 2019 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=28f9d119
sci-libs/dealii: version bump to 9.1.0
Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>
sci-libs/dealii/dealii-9.1.0.ebuild | 145 ++++++++++++++++++++++++++++++++++++
1 file changed, 145 insertions(+)
diff --git a/sci-libs/dealii/dealii-9.1.0.ebuild b/sci-libs/dealii/dealii-9.1.0.ebuild
new file mode 100644
index 000000000..0da4f8ea6
--- /dev/null
+++ b/sci-libs/dealii/dealii-9.1.0.ebuild
@@ -0,0 +1,145 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake-utils eutils multilib
+
+# deal.II uses its own FindLAPACK.cmake file that calls into the system
+# FindLAPACK.cmake module and does additional internal setup. Do not remove
+# any of these modules:
+CMAKE_REMOVE_MODULES_LIST=""
+
+DESCRIPTION="Solving partial differential equations with the finite element method"
+HOMEPAGE="http://www.dealii.org/"
+
+if [[ ${PV} = *9999* ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/dealii/dealii.git"
+ SRC_URI=""
+ KEYWORDS=""
+else
+ MY_PV="${PV//0_rc/rc}"
+ MY_P="${PN}-${MY_PV}"
+ 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
+ )"
+ KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+ S="${WORKDIR}/${PN}-${MY_PV}"
+fi
+
+LICENSE="LGPL-2.1+"
+SLOT="0"
+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 symengine +tbb trilinos
+"
+
+# TODO: add slepc use flag once slepc is packaged for gentoo-science
+REQUIRED_USE="
+ p4est? ( mpi )
+ slepc? ( petsc )
+ trilinos? ( mpi )"
+
+RDEPEND="dev-libs/boost
+ app-arch/bzip2
+ sys-libs/zlib
+ adolc? ( sci-libs/adolc )
+ arpack? ( sci-libs/arpack[mpi=] )
+ assimp? ( media-libs/assimp )
+ cuda? ( dev-util/nvidia-cuda-sdk )
+ gmsh? ( sci-libs/gmsh )
+ gsl? ( sci-libs/gsl )
+ hdf5? ( sci-libs/hdf5[mpi=] )
+ lapack? ( virtual/lapack )
+ metis? ( >=sci-libs/parmetis-4 )
+ mpi? ( virtual/mpi )
+ muparser? ( dev-cpp/muParser )
+ nanoflann? ( sci-libs/nanoflann )
+ netcdf? ( sci-libs/netcdf-cxx:0 )
+ opencascade? ( sci-libs/opencascade:* )
+ p4est? ( sci-libs/p4est[mpi] )
+ petsc? ( sci-mathematics/petsc[mpi=] )
+ scalapack? ( sci-libs/scalapack )
+ 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 )"
+
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ doc? ( app-doc/doxygen[dot] dev-lang/perl )"
+
+src_configure() {
+ # deal.II needs a custom build type:
+ local CMAKE_BUILD_TYPE=$(usex debug DebugRelease Release)
+
+ local mycmakeargs=(
+ -DDEAL_II_PACKAGE_VERSION=9999
+ -DCMAKE_INSTALL_RPATH_USE_LINK_PATH=OFF
+ -DDEAL_II_ALLOW_AUTODETECTION=OFF
+ -DDEAL_II_ALLOW_BUNDLED=OFF
+ -DDEAL_II_ALLOW_PLATFORM_INTROSPECTION=OFF
+ -DDEAL_II_COMPILE_EXAMPLES=OFF
+ -DDEAL_II_DOCHTML_RELDIR="share/doc/${P}/html"
+ -DDEAL_II_DOCREADME_RELDIR="share/doc/${P}"
+ -DDEAL_II_COMPILE_EXAMPLES=OFF
+ -DDEAL_II_EXAMPLES_RELDIR="share/doc/${P}/examples"
+ -DDEAL_II_LIBRARY_RELDIR="$(get_libdir)"
+ -DDEAL_II_SHARE_RELDIR="share/${PN}"
+ -DDEAL_II_WITH_ZLIB=ON
+ -DDEAL_II_WITH_ADOLC="$(usex adolc)"
+ -DDEAL_II_WITH_ASSIMP="$(usex assimp)"
+ -DDEAL_II_WITH_ARPACK="$(usex arpack)"
+ -DDEAL_II_HAVE_AVX="$(usex cpu_flags_x86_avx)"
+ -DDEAL_II_WITH_CUDA="$(usex cuda)"
+ -DDEAL_II_HAVE_SSE2="$(usex cpu_flags_x86_sse2)"
+ -DDEAL_II_COMPONENT_DOCUMENTATION="$(usex doc)"
+ -DDEAL_II_COMPONENT_EXAMPLES="$(usex examples)"
+ -DDEAL_II_WITH_GMSH="$(usex gmsh)"
+ -DDEAL_II_WITH_GSL="$(usex gsl)"
+ -DDEAL_II_WITH_HDF5="$(usex hdf5)"
+ -DDEAL_II_WITH_LAPACK="$(usex lapack)"
+ -DDEAL_II_WITH_METIS="$(usex metis)"
+ -DDEAL_II_WITH_MPI="$(usex mpi)"
+ -DDEAL_II_WITH_MUPARSER="$(usex muparser)"
+ -DDEAL_II_WITH_NANOFLANN="$(usex nanoflann)"
+ -DDEAL_II_WITH_NETCDF="$(usex netcdf)"
+ -DOPENCASCADE_DIR="${CASROOT}"
+ -DDEAL_II_WITH_OPENCASCADE="$(usex opencascade)"
+ -DDEAL_II_WITH_P4EST="$(usex p4est)"
+ -DDEAL_II_WITH_PETSC="$(usex petsc)"
+ -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)"
+ -DDEAL_II_WITH_THREADS="$(usex tbb)"
+ -DDEAL_II_WITH_TRILINOS="$(usex trilinos)"
+ )
+ cmake-utils_src_configure
+}
+
+src_install() {
+ if use doc && [[ ${PV} != *9999* ]]; then
+ # copy missing images to the build directory:
+ cp -r "${WORKDIR}"/doc/doxygen/deal.II/images \
+ "${BUILD_DIR}"/doc/doxygen/deal.II || die
+ # replace links:
+ sed -i \
+ 's#"http://www.dealii.org/images/steps/developer/\(step-.*\)"#"images/\1"#g' \
+ "${BUILD_DIR}"/doc/doxygen/deal.II/step_*.html || die "sed failed"
+ fi
+ cmake-utils_src_install
+
+ # decompress the installed example sources:
+ use examples && docompress -x /usr/share/doc/${PF}/examples
+}
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/dealii/
@ 2019-04-25 23:51 Matthias Maier
0 siblings, 0 replies; 53+ messages in thread
From: Matthias Maier @ 2019-04-25 23:51 UTC (permalink / raw
To: gentoo-commits
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>
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/dealii/
@ 2018-10-11 21:47 Matthias Maier
0 siblings, 0 replies; 53+ messages in thread
From: Matthias Maier @ 2018-10-11 21:47 UTC (permalink / raw
To: gentoo-commits
commit: b8e0488b21a6a524e928705df292807c612f00fe
Author: Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 11 21:46:55 2018 +0000
Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Thu Oct 11 21:46:55 2018 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=b8e0488b
sci-libs/dealii: version bump to 9.0.1
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>
Package-Manager: Portage-2.3.50, Repoman-2.3.11
sci-libs/dealii/{dealii-9.0.0.ebuild => dealii-9.0.1.ebuild} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-libs/dealii/dealii-9.0.0.ebuild b/sci-libs/dealii/dealii-9.0.1.ebuild
similarity index 99%
rename from sci-libs/dealii/dealii-9.0.0.ebuild
rename to sci-libs/dealii/dealii-9.0.1.ebuild
index a41b1b2d0..e95ceab6e 100644
--- a/sci-libs/dealii/dealii-9.0.0.ebuild
+++ b/sci-libs/dealii/dealii-9.0.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/dealii/
@ 2018-05-24 2:26 Matthias Maier
0 siblings, 0 replies; 53+ messages in thread
From: Matthias Maier @ 2018-05-24 2:26 UTC (permalink / raw
To: gentoo-commits
commit: 131dffdf4f716ebdcde8ba3b44ab8fbe2ff85a97
Author: Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Thu May 24 02:26:08 2018 +0000
Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Thu May 24 02:26:08 2018 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=131dffdf
sci-libs/dealii: remove superfluous configuration options
Package-Manager: Portage-2.3.38, Repoman-2.3.9
sci-libs/dealii/dealii-9.0.0.ebuild | 1 -
sci-libs/dealii/dealii-9999.ebuild | 1 -
2 files changed, 2 deletions(-)
diff --git a/sci-libs/dealii/dealii-9.0.0.ebuild b/sci-libs/dealii/dealii-9.0.0.ebuild
index 239cbd9bc..a41b1b2d0 100644
--- a/sci-libs/dealii/dealii-9.0.0.ebuild
+++ b/sci-libs/dealii/dealii-9.0.0.ebuild
@@ -92,7 +92,6 @@ src_configure() {
-DDEAL_II_EXAMPLES_RELDIR="share/doc/${P}/examples"
-DDEAL_II_LIBRARY_RELDIR="$(get_libdir)"
-DDEAL_II_SHARE_RELDIR="share/${PN}"
- -DDEAL_II_WITH_BZIP2=ON
-DDEAL_II_WITH_ZLIB=ON
-DDEAL_II_WITH_ADOLC="$(usex adolc)"
-DDEAL_II_WITH_ASSIMP="$(usex assimp)"
diff --git a/sci-libs/dealii/dealii-9999.ebuild b/sci-libs/dealii/dealii-9999.ebuild
index 6992d107a..06c63c906 100644
--- a/sci-libs/dealii/dealii-9999.ebuild
+++ b/sci-libs/dealii/dealii-9999.ebuild
@@ -92,7 +92,6 @@ src_configure() {
-DDEAL_II_EXAMPLES_RELDIR="share/doc/${P}/examples"
-DDEAL_II_LIBRARY_RELDIR="$(get_libdir)"
-DDEAL_II_SHARE_RELDIR="share/${PN}"
- -DDEAL_II_WITH_BZIP2=ON
-DDEAL_II_WITH_ZLIB=ON
-DDEAL_II_WITH_ADOLC="$(usex adolc)"
-DDEAL_II_WITH_ASSIMP="$(usex assimp)"
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/dealii/
@ 2018-05-24 1:21 Matthias Maier
0 siblings, 0 replies; 53+ messages in thread
From: Matthias Maier @ 2018-05-24 1:21 UTC (permalink / raw
To: gentoo-commits
commit: 44cfa5e1272823484f84a4b06344b102e19d59c1
Author: Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Thu May 24 01:18:50 2018 +0000
Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Thu May 24 01:20:43 2018 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=44cfa5e1
sci-libs/dealii: drop version 8.4.2
Keeping the last two versions (that were release 2017 and 2018) is
enough :-)
Package-Manager: Portage-2.3.38, Repoman-2.3.9
sci-libs/dealii/dealii-8.4.2.ebuild | 124 ------------------------------------
sci-libs/dealii/metadata.xml | 1 -
2 files changed, 125 deletions(-)
diff --git a/sci-libs/dealii/dealii-8.4.2.ebuild b/sci-libs/dealii/dealii-8.4.2.ebuild
deleted file mode 100644
index 675d06da0..000000000
--- a/sci-libs/dealii/dealii-8.4.2.ebuild
+++ /dev/null
@@ -1,124 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit cmake-utils eutils multilib
-
-# deal.II uses its own FindLAPACK.cmake file that calls into the system
-# FindLAPACK.cmake module and does additional internal setup. Do not remove
-# any of these modules:
-CMAKE_REMOVE_MODULES_LIST=""
-
-DESCRIPTION="Solving partial differential equations with the finite element method"
-HOMEPAGE="http://www.dealii.org/"
-
-if [[ ${PV} = *9999* ]]; then
- inherit git-r3
- EGIT_REPO_URI="git://github.com/dealii/dealii.git"
- SRC_URI=""
- KEYWORDS=""
-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
- doc? (
- https://github.com/${PN}/${PN}/releases/download/v${MY_PV}/${MY_P}-offline_documentation.tar.gz
- -> ${P}-offline_documentation.tar.gz
- )"
- KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
- S="${WORKDIR}/${PN}-${MY_PV}"
-fi
-
-LICENSE="LGPL-2.1+"
-SLOT="0"
-IUSE="
- arpack cpu_flags_x86_avx cpu_flags_x86_sse2 c++11 +debug doc +examples
- hdf5 +lapack metis mpi muparser opencascade netcdf p4est parameter_gui
- petsc +sparse static-libs +tbb trilinos
-"
-
-# TODO: add slepc use flag once slepc is packaged for gentoo-science
-REQUIRED_USE="
- p4est? ( mpi )
- trilinos? ( mpi )"
-
-RDEPEND="dev-libs/boost
- app-arch/bzip2
- sys-libs/zlib
- arpack? ( sci-libs/arpack[mpi=] )
- hdf5? ( sci-libs/hdf5[mpi=] )
- lapack? ( virtual/lapack )
- metis? ( >=sci-libs/parmetis-4 )
- mpi? ( virtual/mpi )
- muparser? ( dev-cpp/muParser )
- netcdf? ( sci-libs/netcdf-cxx:0 )
- opencascade? ( sci-libs/opencascade:* )
- p4est? ( sci-libs/p4est[mpi] )
- parameter_gui? ( dev-qt/qtgui:4 )
- petsc? ( sci-mathematics/petsc[mpi=] )
- sparse? ( sci-libs/umfpack )
- tbb? ( dev-cpp/tbb )
- trilinos? ( sci-libs/trilinos )"
-
-DEPEND="${RDEPEND}
- virtual/pkgconfig
- doc? ( app-doc/doxygen[dot] dev-lang/perl )"
-
-src_configure() {
- # deal.II needs a custom build type:
- local CMAKE_BUILD_TYPE=$(usex debug DebugRelease Release)
-
- local mycmakeargs=(
- -DDEAL_II_ALLOW_AUTODETECTION=OFF
- -DDEAL_II_ALLOW_BUNDLED=OFF
- -DDEAL_II_ALLOW_PLATFORM_INTROSPECTION=OFF
- -DCMAKE_INSTALL_RPATH_USE_LINK_PATH=OFF
- -DDEAL_II_LIBRARY_RELDIR="$(get_libdir)"
- -DDEAL_II_SHARE_RELDIR="share/${PN}"
- -DDEAL_II_DOCREADME_RELDIR="share/doc/${P}"
- -DDEAL_II_DOCHTML_RELDIR="share/doc/${P}/html"
- -DDEAL_II_EXAMPLES_RELDIR="share/doc/${P}/examples"
- -DDEAL_II_WITH_BZIP2=ON
- -DDEAL_II_WITH_ZLIB=ON
- $(cmake-utils_use arpack DEAL_II_WITH_ARPACK)
- $(cmake-utils_use c++11 DEAL_II_WITH_CXX11)
- $(cmake-utils_use cpu_flags_x86_avx DEAL_II_HAVE_AVX)
- $(cmake-utils_use cpu_flags_x86_sse2 DEAL_II_HAVE_SSE2)
- $(cmake-utils_use doc DEAL_II_COMPONENT_DOCUMENTATION)
- $(cmake-utils_use examples DEAL_II_COMPONENT_EXAMPLES)
- $(cmake-utils_use hdf5 DEAL_II_WITH_HDF5)
- $(cmake-utils_use lapack DEAL_II_WITH_LAPACK)
- $(cmake-utils_use metis DEAL_II_WITH_METIS)
- $(cmake-utils_use mpi DEAL_II_WITH_MPI)
- $(cmake-utils_use muparser DEAL_II_WITH_MUPARSER)
- $(cmake-utils_use netcdf DEAL_II_WITH_NETCDF)
- -DOPENCASCADE_DIR="${CASROOT}"
- $(cmake-utils_use opencascade DEAL_II_WITH_OPENCASCADE)
- $(cmake-utils_use p4est DEAL_II_WITH_P4EST)
- $(cmake-utils_use parameter_gui DEAL_II_COMPONENT_PARAMETER_GUI)
- $(cmake-utils_use petsc DEAL_II_WITH_PETSC)
- $(cmake-utils_use sparse DEAL_II_WITH_UMFPACK)
- $(cmake-utils_use !static-libs BUILD_SHARED_LIBS)
- $(cmake-utils_use static-libs DEAL_II_PREFER_STATIC_LIBS)
- $(cmake-utils_use tbb DEAL_II_WITH_THREADS)
- $(cmake-utils_use trilinos DEAL_II_WITH_TRILINOS)
- )
- cmake-utils_src_configure
-}
-
-src_install() {
- if use doc && [[ ${PV} != *9999* ]]; then
- # copy missing images to the build directory:
- cp -r "${WORKDIR}"/doc/doxygen/deal.II/images \
- "${BUILD_DIR}"/doc/doxygen/deal.II || die
- # replace links:
- sed -i \
- 's#"http://www.dealii.org/images/steps/developer/\(step-.*\)"#"images/\1"#g' \
- "${BUILD_DIR}"/doc/doxygen/deal.II/step_*.html || die "sed failed"
- fi
- cmake-utils_src_install
-
- # decompress the installed example sources:
- use examples && docompress -x /usr/share/doc/${PF}/examples
-}
diff --git a/sci-libs/dealii/metadata.xml b/sci-libs/dealii/metadata.xml
index ad4572d88..3b17832a7 100644
--- a/sci-libs/dealii/metadata.xml
+++ b/sci-libs/dealii/metadata.xml
@@ -29,7 +29,6 @@ and extra output. If you want to get meaningful backtraces see
<flag name="nanoflann">Adds support for nanoflann (<pkg>sci-libs/nanoflann</pkg>)</flag>
<flag name="opencascade">Add support for opencascade (<pkg>sci-libs/opencascade</pkg>)</flag>
<flag name="p4est">Add support for p4est (<pkg>sci-mathematics/p4est</pkg>)</flag>
- <flag name="parameter_gui">Build and install the parameter_gui executable</flag>
<flag name="petsc">Add support for petsc (<pkg>sci-mathematics/petsc</pkg>)</flag>
<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>
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/dealii/
@ 2018-05-13 20:01 Matthias Maier
0 siblings, 0 replies; 53+ messages in thread
From: Matthias Maier @ 2018-05-13 20:01 UTC (permalink / raw
To: gentoo-commits
commit: 6aefbf58e2de2c0ad8668fdfe7bca26bc837fcea
Author: Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Sun May 13 19:08:32 2018 +0000
Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Sun May 13 19:08:32 2018 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=6aefbf58
sci-libs/dealii: update tarball
Package-Manager: Portage-2.3.36, Repoman-2.3.9
sci-libs/dealii/dealii-9.0.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-libs/dealii/dealii-9.0.0.ebuild b/sci-libs/dealii/dealii-9.0.0.ebuild
index 6992d107a..239cbd9bc 100644
--- a/sci-libs/dealii/dealii-9.0.0.ebuild
+++ b/sci-libs/dealii/dealii-9.0.0.ebuild
@@ -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
doc? (
https://github.com/${PN}/${PN}/releases/download/v${MY_PV}/${MY_P}-offline_documentation.tar.gz
-> ${P}-offline_documentation.tar.gz
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/dealii/
@ 2018-05-11 22:16 Matthias Maier
0 siblings, 0 replies; 53+ messages in thread
From: Matthias Maier @ 2018-05-11 22:16 UTC (permalink / raw
To: gentoo-commits
commit: 13e7d9768366dff65dd956b9b85dd37564fc1ca8
Author: Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Fri May 11 22:07:23 2018 +0000
Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Fri May 11 22:07:23 2018 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=13e7d976
sci-libs/dealii: remove really old versions
Package-Manager: Portage-2.3.36, Repoman-2.3.9
sci-libs/dealii/dealii-8.2.1-r1.ebuild | 131 ---------------------------------
sci-libs/dealii/dealii-8.3.0.ebuild | 126 -------------------------------
sci-libs/dealii/metadata.xml | 2 -
3 files changed, 259 deletions(-)
diff --git a/sci-libs/dealii/dealii-8.2.1-r1.ebuild b/sci-libs/dealii/dealii-8.2.1-r1.ebuild
deleted file mode 100644
index 8547307f7..000000000
--- a/sci-libs/dealii/dealii-8.2.1-r1.ebuild
+++ /dev/null
@@ -1,131 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit cmake-utils eutils multilib
-
-# deal.II uses its own FindLAPACK.cmake file that calls into the system
-# FindLAPACK.cmake module and does additional internal setup. Do not remove
-# any of these modules:
-CMAKE_REMOVE_MODULES_LIST=""
-
-DESCRIPTION="Solving partial differential equations with the finite element method"
-HOMEPAGE="http://www.dealii.org/"
-
-if [[ ${PV} = *9999* ]]; then
- inherit git-r3
- EGIT_REPO_URI="git://github.com/dealii/dealii.git"
- SRC_URI=""
- KEYWORDS=""
-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
- doc? (
- https://github.com/${PN}/${PN}/releases/download/v${MY_PV}/${MY_P}-offline_documentation.tar.gz
- -> ${P}-offline_documentation.tar.gz
- http://ganymed.iwr.uni-heidelberg.de/~maier/dealii/releases/${MY_P}-offline_documentation.tar.gz
- -> ${P}-offline_documentation.tar.gz
- )"
- KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
- S="${WORKDIR}/${PN}-${MY_PV}"
-fi
-
-LICENSE="LGPL-2.1+"
-SLOT="0"
-IUSE="
- arpack cpu_flags_x86_avx cpu_flags_x86_sse2 c++11 +debug doc +examples
- hdf5 +lapack mesh_converter metis mpi mumps muparser opencascade netcdf
- p4est parameter_gui petsc +sparse static-libs +tbb trilinos
-"
-
-# TODO: add slepc use flag once slepc is packaged for gentoo-science
-REQUIRED_USE="
- mumps? ( mpi lapack )
- p4est? ( mpi )
- trilinos? ( mpi )"
-
-RDEPEND="dev-libs/boost
- app-arch/bzip2
- sys-libs/zlib
- arpack? ( sci-libs/arpack[mpi=] )
- hdf5? ( sci-libs/hdf5[mpi=] )
- lapack? ( virtual/lapack )
- metis? ( >=sci-libs/parmetis-4 )
- mpi? ( virtual/mpi )
- mumps? ( sci-libs/mumps[mpi] )
- muparser? ( dev-cpp/muParser )
- netcdf? ( sci-libs/netcdf-cxx:0 )
- opencascade? ( sci-libs/opencascade:* )
- p4est? ( sci-libs/p4est[mpi] )
- parameter_gui? ( dev-qt/qtgui:4 )
- petsc? ( sci-mathematics/petsc[mpi=] )
- sparse? ( sci-libs/umfpack )
- tbb? ( dev-cpp/tbb )
- trilinos? ( sci-libs/trilinos )"
-
-DEPEND="${RDEPEND}
- virtual/pkgconfig
- doc? ( app-doc/doxygen[dot] dev-lang/perl )"
-
-src_configure() {
- # deal.II needs a custom build type:
- local CMAKE_BUILD_TYPE=$(usex debug DebugRelease Release)
-
- local mycmakeargs=(
- -DDEAL_II_ALLOW_AUTODETECTION=OFF
- -DDEAL_II_ALLOW_BUNDLED=OFF
- -DDEAL_II_ALLOW_PLATFORM_INTROSPECTION=OFF
- -DCMAKE_INSTALL_RPATH_USE_LINK_PATH=OFF
- -DDEAL_II_COMPONENT_COMPAT_FILES=OFF
- -DDEAL_II_CMAKE_MACROS_RELDIR=share/${PN}/cmake/macros
- -DDEAL_II_DOCHTML_RELDIR=share/doc/${PF}/html
- -DDEAL_II_DOCREADME_RELDIR=share/doc/${PF}/
- -DDEAL_II_EXAMPLES_RELDIR=share/doc/${PF}/examples
- -DDEAL_II_LIBRARY_RELDIR=$(get_libdir)
- -DDEAL_II_WITH_BZIP2=ON
- -DDEAL_II_WITH_ZLIB=ON
- $(cmake-utils_use arpack DEAL_II_WITH_ARPACK)
- $(cmake-utils_use c++11 DEAL_II_WITH_CXX11)
- $(cmake-utils_use cpu_flags_x86_avx DEAL_II_HAVE_AVX)
- $(cmake-utils_use cpu_flags_x86_sse2 DEAL_II_HAVE_SSE2)
- $(cmake-utils_use doc DEAL_II_COMPONENT_DOCUMENTATION)
- $(cmake-utils_use examples DEAL_II_COMPONENT_EXAMPLES)
- $(cmake-utils_use hdf5 DEAL_II_WITH_HDF5)
- $(cmake-utils_use lapack DEAL_II_WITH_LAPACK)
- $(cmake-utils_use mesh_converter DEAL_II_COMPONENT_MESH_CONVERTER)
- $(cmake-utils_use metis DEAL_II_WITH_METIS)
- $(cmake-utils_use mpi DEAL_II_WITH_MPI)
- $(cmake-utils_use mumps DEAL_II_WITH_MUMPS)
- $(cmake-utils_use muparser DEAL_II_WITH_MUPARSER)
- $(cmake-utils_use netcdf DEAL_II_WITH_NETCDF)
- -DOPENCASCADE_DIR="${CASROOT}"
- $(cmake-utils_use opencascade DEAL_II_WITH_OPENCASCADE)
- $(cmake-utils_use p4est DEAL_II_WITH_P4EST)
- $(cmake-utils_use parameter_gui DEAL_II_COMPONENT_PARAMETER_GUI)
- $(cmake-utils_use petsc DEAL_II_WITH_PETSC)
- $(cmake-utils_use sparse DEAL_II_WITH_UMFPACK)
- $(cmake-utils_use !static-libs BUILD_SHARED_LIBS)
- $(cmake-utils_use static-libs DEAL_II_PREFER_STATIC_LIBS)
- $(cmake-utils_use tbb DEAL_II_WITH_THREADS)
- $(cmake-utils_use trilinos DEAL_II_WITH_TRILINOS)
- )
- cmake-utils_src_configure
-}
-
-src_install() {
- if use doc && [[ ${PV} != *9999* ]]; then
- # copy missing images to the build directory:
- cp -r "${WORKDIR}"/doc/doxygen/deal.II/images \
- "${BUILD_DIR}"/doc/doxygen/deal.II || die
- # replace links:
- sed -i \
- 's#"http://www.dealii.org/images/steps/developer/\(step-.*\)"#"images/\1"#g' \
- "${BUILD_DIR}"/doc/doxygen/deal.II/step_*.html || die "sed failed"
- fi
- cmake-utils_src_install
-
- # decompress the installed example sources:
- use examples && docompress -x /usr/share/doc/${PF}/examples
-}
diff --git a/sci-libs/dealii/dealii-8.3.0.ebuild b/sci-libs/dealii/dealii-8.3.0.ebuild
deleted file mode 100644
index 8e97935e3..000000000
--- a/sci-libs/dealii/dealii-8.3.0.ebuild
+++ /dev/null
@@ -1,126 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit cmake-utils eutils multilib
-
-# deal.II uses its own FindLAPACK.cmake file that calls into the system
-# FindLAPACK.cmake module and does additional internal setup. Do not remove
-# any of these modules:
-CMAKE_REMOVE_MODULES_LIST=""
-
-DESCRIPTION="Solving partial differential equations with the finite element method"
-HOMEPAGE="http://www.dealii.org/"
-
-if [[ ${PV} = *9999* ]]; then
- inherit git-r3
- EGIT_REPO_URI="git://github.com/dealii/dealii.git"
- SRC_URI=""
- KEYWORDS=""
-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
- doc? (
- https://github.com/${PN}/${PN}/releases/download/v${MY_PV}/${MY_P}-offline_documentation.tar.gz
- -> ${P}-offline_documentation.tar.gz
- http://ganymed.iwr.uni-heidelberg.de/~maier/dealii/releases/${MY_P}-offline_documentation.tar.gz
- -> ${P}-offline_documentation.tar.gz
- )"
- KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
- S="${WORKDIR}/${PN}-${MY_PV}"
-fi
-
-LICENSE="LGPL-2.1+"
-SLOT="0"
-IUSE="
- arpack cpu_flags_x86_avx cpu_flags_x86_sse2 c++11 +debug doc +examples
- hdf5 +lapack mesh_converter metis mpi muparser opencascade
- netcdf p4est parameter_gui petsc +sparse static-libs +tbb trilinos
-"
-
-# TODO: add slepc use flag once slepc is packaged for gentoo-science
-REQUIRED_USE="
- p4est? ( mpi )
- trilinos? ( mpi )"
-
-RDEPEND="dev-libs/boost
- app-arch/bzip2
- sys-libs/zlib
- arpack? ( sci-libs/arpack[mpi=] )
- hdf5? ( sci-libs/hdf5[mpi=] )
- lapack? ( virtual/lapack )
- metis? ( >=sci-libs/parmetis-4 )
- mpi? ( virtual/mpi )
- muparser? ( dev-cpp/muParser )
- netcdf? ( sci-libs/netcdf-cxx:0 )
- opencascade? ( sci-libs/opencascade:* )
- p4est? ( sci-libs/p4est[mpi] )
- parameter_gui? ( dev-qt/qtgui:4 )
- petsc? ( sci-mathematics/petsc[mpi=] )
- sparse? ( sci-libs/umfpack )
- tbb? ( dev-cpp/tbb )
- trilinos? ( sci-libs/trilinos )"
-
-DEPEND="${RDEPEND}
- virtual/pkgconfig
- doc? ( app-doc/doxygen[dot] dev-lang/perl )"
-
-src_configure() {
- # deal.II needs a custom build type:
- local CMAKE_BUILD_TYPE=$(usex debug DebugRelease Release)
-
- local mycmakeargs=(
- -DDEAL_II_ALLOW_AUTODETECTION=OFF
- -DDEAL_II_ALLOW_BUNDLED=OFF
- -DDEAL_II_ALLOW_PLATFORM_INTROSPECTION=OFF
- -DCMAKE_INSTALL_RPATH_USE_LINK_PATH=OFF
- -DDEAL_II_LIBRARY_RELDIR="$(get_libdir)"
- -DDEAL_II_SHARE_RELDIR="share/${PN}"
- -DDEAL_II_DOCREADME_RELDIR="share/doc/${P}"
- -DDEAL_II_EXAMPLES_RELDIR="share/doc/${P}/examples"
- -DDEAL_II_WITH_BZIP2=ON
- -DDEAL_II_WITH_ZLIB=ON
- $(cmake-utils_use arpack DEAL_II_WITH_ARPACK)
- $(cmake-utils_use c++11 DEAL_II_WITH_CXX11)
- $(cmake-utils_use cpu_flags_x86_avx DEAL_II_HAVE_AVX)
- $(cmake-utils_use cpu_flags_x86_sse2 DEAL_II_HAVE_SSE2)
- $(cmake-utils_use doc DEAL_II_COMPONENT_DOCUMENTATION)
- $(cmake-utils_use examples DEAL_II_COMPONENT_EXAMPLES)
- $(cmake-utils_use hdf5 DEAL_II_WITH_HDF5)
- $(cmake-utils_use lapack DEAL_II_WITH_LAPACK)
- $(cmake-utils_use mesh_converter DEAL_II_COMPONENT_MESH_CONVERTER)
- $(cmake-utils_use metis DEAL_II_WITH_METIS)
- $(cmake-utils_use mpi DEAL_II_WITH_MPI)
- $(cmake-utils_use muparser DEAL_II_WITH_MUPARSER)
- $(cmake-utils_use netcdf DEAL_II_WITH_NETCDF)
- -DOPENCASCADE_DIR="${CASROOT}"
- $(cmake-utils_use opencascade DEAL_II_WITH_OPENCASCADE)
- $(cmake-utils_use p4est DEAL_II_WITH_P4EST)
- $(cmake-utils_use parameter_gui DEAL_II_COMPONENT_PARAMETER_GUI)
- $(cmake-utils_use petsc DEAL_II_WITH_PETSC)
- $(cmake-utils_use sparse DEAL_II_WITH_UMFPACK)
- $(cmake-utils_use !static-libs BUILD_SHARED_LIBS)
- $(cmake-utils_use static-libs DEAL_II_PREFER_STATIC_LIBS)
- $(cmake-utils_use tbb DEAL_II_WITH_THREADS)
- $(cmake-utils_use trilinos DEAL_II_WITH_TRILINOS)
- )
- cmake-utils_src_configure
-}
-
-src_install() {
- if use doc && [[ ${PV} != *9999* ]]; then
- # copy missing images to the build directory:
- cp -r "${WORKDIR}"/doc/doxygen/deal.II/images \
- "${BUILD_DIR}"/doc/doxygen/deal.II || die
- # replace links:
- sed -i \
- 's#"http://www.dealii.org/images/steps/developer/\(step-.*\)"#"images/\1"#g' \
- "${BUILD_DIR}"/doc/doxygen/deal.II/step_*.html || die "sed failed"
- fi
- cmake-utils_src_install
-
- # decompress the installed example sources:
- use examples && docompress -x /usr/share/doc/${PF}/examples
-}
diff --git a/sci-libs/dealii/metadata.xml b/sci-libs/dealii/metadata.xml
index 2125eb0c0..ad4572d88 100644
--- a/sci-libs/dealii/metadata.xml
+++ b/sci-libs/dealii/metadata.xml
@@ -24,9 +24,7 @@ and extra output. If you want to get meaningful backtraces see
<http://www.gentoo.org/proj/en/qa/backtraces.xml></flag>
<flag name="c++11">Compile the library with -std=c++11</flag>
<flag name="gmsh">Add support for gmsh (<pkg>sci-libs/gmsh</pkg>)</flag>
- <flag name="mesh_converter">Build and install the mesh_converter executable</flag>
<flag name="metis">Add support for metis (<pkg>sci-libs/metis</pkg>)</flag>
- <flag name="mumps">Add support for mumps (<pkg>sci-libs/mumps</pkg>)</flag>
<flag name="muparser">Add support for muparser (<pkg>dev-cpp/muParser</pkg>)</flag>
<flag name="nanoflann">Adds support for nanoflann (<pkg>sci-libs/nanoflann</pkg>)</flag>
<flag name="opencascade">Add support for opencascade (<pkg>sci-libs/opencascade</pkg>)</flag>
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/dealii/
@ 2018-05-11 22:16 Matthias Maier
0 siblings, 0 replies; 53+ messages in thread
From: Matthias Maier @ 2018-05-11 22:16 UTC (permalink / raw
To: gentoo-commits
commit: 7508ba371a633fc9e06c10557a8a022d1d052378
Author: Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Fri May 11 22:11:59 2018 +0000
Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Fri May 11 22:11:59 2018 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=7508ba37
sci-libs/dealii: version bump to 9.0.0
Package-Manager: Portage-2.3.36, Repoman-2.3.9
sci-libs/dealii/dealii-9.0.0.ebuild | 144 ++++++++++++++++++++++++++++++++++++
1 file changed, 144 insertions(+)
diff --git a/sci-libs/dealii/dealii-9.0.0.ebuild b/sci-libs/dealii/dealii-9.0.0.ebuild
new file mode 100644
index 000000000..6992d107a
--- /dev/null
+++ b/sci-libs/dealii/dealii-9.0.0.ebuild
@@ -0,0 +1,144 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils eutils multilib
+
+# deal.II uses its own FindLAPACK.cmake file that calls into the system
+# FindLAPACK.cmake module and does additional internal setup. Do not remove
+# any of these modules:
+CMAKE_REMOVE_MODULES_LIST=""
+
+DESCRIPTION="Solving partial differential equations with the finite element method"
+HOMEPAGE="http://www.dealii.org/"
+
+if [[ ${PV} = *9999* ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/dealii/dealii.git"
+ SRC_URI=""
+ KEYWORDS=""
+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
+ doc? (
+ https://github.com/${PN}/${PN}/releases/download/v${MY_PV}/${MY_P}-offline_documentation.tar.gz
+ -> ${P}-offline_documentation.tar.gz
+ )"
+ KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+ S="${WORKDIR}/${PN}-${MY_PV}"
+fi
+
+LICENSE="LGPL-2.1+"
+SLOT="0"
+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
+"
+
+# TODO: add slepc use flag once slepc is packaged for gentoo-science
+REQUIRED_USE="
+ p4est? ( mpi )
+ slepc? ( petsc )
+ trilinos? ( mpi )"
+
+RDEPEND="dev-libs/boost
+ app-arch/bzip2
+ sys-libs/zlib
+ adolc? ( sci-libs/adolc )
+ arpack? ( sci-libs/arpack[mpi=] )
+ assimp? ( media-libs/assimp )
+ cuda? ( dev-util/nvidia-cuda-sdk )
+ gmsh? ( sci-libs/gmsh )
+ gsl? ( sci-libs/gsl )
+ hdf5? ( sci-libs/hdf5[mpi=] )
+ lapack? ( virtual/lapack )
+ metis? ( >=sci-libs/parmetis-4 )
+ mpi? ( virtual/mpi )
+ muparser? ( dev-cpp/muParser )
+ nanoflann? ( sci-libs/nanoflann )
+ netcdf? ( sci-libs/netcdf-cxx:0 )
+ opencascade? ( sci-libs/opencascade:* )
+ p4est? ( sci-libs/p4est[mpi] )
+ petsc? ( sci-mathematics/petsc[mpi=] )
+ scalapack? ( sci-libs/scalapack )
+ slepc? ( sci-mathematics/slepc[mpi=] )
+ sparse? ( sci-libs/umfpack )
+ sundials? ( sci-libs/sundials )
+ tbb? ( dev-cpp/tbb )
+ trilinos? ( sci-libs/trilinos )"
+
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ doc? ( app-doc/doxygen[dot] dev-lang/perl )"
+
+src_configure() {
+ # deal.II needs a custom build type:
+ local CMAKE_BUILD_TYPE=$(usex debug DebugRelease Release)
+
+ local mycmakeargs=(
+ -DDEAL_II_PACKAGE_VERSION=9999
+ -DCMAKE_INSTALL_RPATH_USE_LINK_PATH=OFF
+ -DDEAL_II_ALLOW_AUTODETECTION=OFF
+ -DDEAL_II_ALLOW_BUNDLED=OFF
+ -DDEAL_II_ALLOW_PLATFORM_INTROSPECTION=OFF
+ -DDEAL_II_COMPILE_EXAMPLES=OFF
+ -DDEAL_II_DOCHTML_RELDIR="share/doc/${P}/html"
+ -DDEAL_II_DOCREADME_RELDIR="share/doc/${P}"
+ -DDEAL_II_COMPILE_EXAMPLES=OFF
+ -DDEAL_II_EXAMPLES_RELDIR="share/doc/${P}/examples"
+ -DDEAL_II_LIBRARY_RELDIR="$(get_libdir)"
+ -DDEAL_II_SHARE_RELDIR="share/${PN}"
+ -DDEAL_II_WITH_BZIP2=ON
+ -DDEAL_II_WITH_ZLIB=ON
+ -DDEAL_II_WITH_ADOLC="$(usex adolc)"
+ -DDEAL_II_WITH_ASSIMP="$(usex assimp)"
+ -DDEAL_II_WITH_ARPACK="$(usex arpack)"
+ -DDEAL_II_HAVE_AVX="$(usex cpu_flags_x86_avx)"
+ -DDEAL_II_WITH_CUDA="$(usex cuda)"
+ -DDEAL_II_HAVE_SSE2="$(usex cpu_flags_x86_sse2)"
+ -DDEAL_II_COMPONENT_DOCUMENTATION="$(usex doc)"
+ -DDEAL_II_COMPONENT_EXAMPLES="$(usex examples)"
+ -DDEAL_II_WITH_GMSH="$(usex gmsh)"
+ -DDEAL_II_WITH_GSL="$(usex gsl)"
+ -DDEAL_II_WITH_HDF5="$(usex hdf5)"
+ -DDEAL_II_WITH_LAPACK="$(usex lapack)"
+ -DDEAL_II_WITH_METIS="$(usex metis)"
+ -DDEAL_II_WITH_MPI="$(usex mpi)"
+ -DDEAL_II_WITH_MUPARSER="$(usex muparser)"
+ -DDEAL_II_WITH_NANOFLANN="$(usex nanoflann)"
+ -DDEAL_II_WITH_NETCDF="$(usex netcdf)"
+ -DOPENCASCADE_DIR="${CASROOT}"
+ -DDEAL_II_WITH_OPENCASCADE="$(usex opencascade)"
+ -DDEAL_II_WITH_P4EST="$(usex p4est)"
+ -DDEAL_II_WITH_PETSC="$(usex petsc)"
+ -DDEAL_II_WITH_SCALAPACK="$(usex scalapack)"
+ -DDEAL_II_WITH_SLEPC="$(usex slepc)"
+ -DDEAL_II_WITH_SUNDIALS="$(usex sundials)"
+ -DDEAL_II_WITH_UMFPACK="$(usex sparse)"
+ -DBUILD_SHARED_LIBS="$(usex !static-libs)"
+ -DDEAL_II_PREFER_STATIC_LIBS="$(usex static-libs)"
+ -DDEAL_II_WITH_THREADS="$(usex tbb)"
+ -DDEAL_II_WITH_TRILINOS="$(usex trilinos)"
+ )
+ cmake-utils_src_configure
+}
+
+src_install() {
+ if use doc && [[ ${PV} != *9999* ]]; then
+ # copy missing images to the build directory:
+ cp -r "${WORKDIR}"/doc/doxygen/deal.II/images \
+ "${BUILD_DIR}"/doc/doxygen/deal.II || die
+ # replace links:
+ sed -i \
+ 's#"http://www.dealii.org/images/steps/developer/\(step-.*\)"#"images/\1"#g' \
+ "${BUILD_DIR}"/doc/doxygen/deal.II/step_*.html || die "sed failed"
+ fi
+ cmake-utils_src_install
+
+ # decompress the installed example sources:
+ use examples && docompress -x /usr/share/doc/${PF}/examples
+}
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/dealii/
@ 2018-03-19 18:11 Matthias Maier
0 siblings, 0 replies; 53+ messages in thread
From: Matthias Maier @ 2018-03-19 18:11 UTC (permalink / raw
To: gentoo-commits
commit: 85e5cd7914cb115ec7ae126983945d6e018920bb
Author: Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 19 18:01:13 2018 +0000
Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Mon Mar 19 18:11:04 2018 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=85e5cd79
sci-libs/dealii: update live ebuild
Package-Manager: Portage-2.3.24, Repoman-2.3.6
sci-libs/dealii/dealii-9999.ebuild | 12 ++++++++----
sci-libs/dealii/metadata.xml | 2 ++
2 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/sci-libs/dealii/dealii-9999.ebuild b/sci-libs/dealii/dealii-9999.ebuild
index 00c2498d3..6992d107a 100644
--- a/sci-libs/dealii/dealii-9999.ebuild
+++ b/sci-libs/dealii/dealii-9999.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
@@ -34,9 +34,9 @@ LICENSE="LGPL-2.1+"
SLOT="0"
IUSE="
adolc assimp arpack cpu_flags_x86_avx cpu_flags_x86_sse2 cuda +debug
- doc +examples +gsl hdf5 +lapack metis mpi muparser nanoflann
- opencascade netcdf p4est petsc slepc +sparse static-libs sundials +tbb
- trilinos
+ doc +examples gmsh +gsl hdf5 +lapack metis mpi muparser nanoflann
+ opencascade netcdf p4est petsc scalapack slepc +sparse static-libs
+ sundials +tbb trilinos
"
# TODO: add slepc use flag once slepc is packaged for gentoo-science
@@ -52,6 +52,7 @@ RDEPEND="dev-libs/boost
arpack? ( sci-libs/arpack[mpi=] )
assimp? ( media-libs/assimp )
cuda? ( dev-util/nvidia-cuda-sdk )
+ gmsh? ( sci-libs/gmsh )
gsl? ( sci-libs/gsl )
hdf5? ( sci-libs/hdf5[mpi=] )
lapack? ( virtual/lapack )
@@ -63,6 +64,7 @@ RDEPEND="dev-libs/boost
opencascade? ( sci-libs/opencascade:* )
p4est? ( sci-libs/p4est[mpi] )
petsc? ( sci-mathematics/petsc[mpi=] )
+ scalapack? ( sci-libs/scalapack )
slepc? ( sci-mathematics/slepc[mpi=] )
sparse? ( sci-libs/umfpack )
sundials? ( sci-libs/sundials )
@@ -100,6 +102,7 @@ src_configure() {
-DDEAL_II_HAVE_SSE2="$(usex cpu_flags_x86_sse2)"
-DDEAL_II_COMPONENT_DOCUMENTATION="$(usex doc)"
-DDEAL_II_COMPONENT_EXAMPLES="$(usex examples)"
+ -DDEAL_II_WITH_GMSH="$(usex gmsh)"
-DDEAL_II_WITH_GSL="$(usex gsl)"
-DDEAL_II_WITH_HDF5="$(usex hdf5)"
-DDEAL_II_WITH_LAPACK="$(usex lapack)"
@@ -112,6 +115,7 @@ src_configure() {
-DDEAL_II_WITH_OPENCASCADE="$(usex opencascade)"
-DDEAL_II_WITH_P4EST="$(usex p4est)"
-DDEAL_II_WITH_PETSC="$(usex petsc)"
+ -DDEAL_II_WITH_SCALAPACK="$(usex scalapack)"
-DDEAL_II_WITH_SLEPC="$(usex slepc)"
-DDEAL_II_WITH_SUNDIALS="$(usex sundials)"
-DDEAL_II_WITH_UMFPACK="$(usex sparse)"
diff --git a/sci-libs/dealii/metadata.xml b/sci-libs/dealii/metadata.xml
index cc695c2b5..2125eb0c0 100644
--- a/sci-libs/dealii/metadata.xml
+++ b/sci-libs/dealii/metadata.xml
@@ -23,6 +23,7 @@ Build an additional debug library with extra debug codepaths, like asserts
and extra output. If you want to get meaningful backtraces see
<http://www.gentoo.org/proj/en/qa/backtraces.xml></flag>
<flag name="c++11">Compile the library with -std=c++11</flag>
+ <flag name="gmsh">Add support for gmsh (<pkg>sci-libs/gmsh</pkg>)</flag>
<flag name="mesh_converter">Build and install the mesh_converter executable</flag>
<flag name="metis">Add support for metis (<pkg>sci-libs/metis</pkg>)</flag>
<flag name="mumps">Add support for mumps (<pkg>sci-libs/mumps</pkg>)</flag>
@@ -32,6 +33,7 @@ and extra output. If you want to get meaningful backtraces see
<flag name="p4est">Add support for p4est (<pkg>sci-mathematics/p4est</pkg>)</flag>
<flag name="parameter_gui">Build and install the parameter_gui executable</flag>
<flag name="petsc">Add support for petsc (<pkg>sci-mathematics/petsc</pkg>)</flag>
+ <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="tbb">Add threading support with the help of the tbb library (<pkg>dev-cpp/tbb</pkg>)</flag>
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/dealii/
@ 2017-12-26 12:22 Matthias Maier
0 siblings, 0 replies; 53+ messages in thread
From: Matthias Maier @ 2017-12-26 12:22 UTC (permalink / raw
To: gentoo-commits
commit: 46b990cc439a2b277b815de428d582a820c181a8
Author: Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 26 12:21:39 2017 +0000
Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Tue Dec 26 12:21:39 2017 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=46b990cc
sci-libs/dealii: live ebuild: use https: instead of git:
Package-Manager: Portage-2.3.19, Repoman-2.3.6
sci-libs/dealii/dealii-9999.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-libs/dealii/dealii-9999.ebuild b/sci-libs/dealii/dealii-9999.ebuild
index c0ffbc179..00c2498d3 100644
--- a/sci-libs/dealii/dealii-9999.ebuild
+++ b/sci-libs/dealii/dealii-9999.ebuild
@@ -15,7 +15,7 @@ HOMEPAGE="http://www.dealii.org/"
if [[ ${PV} = *9999* ]]; then
inherit git-r3
- EGIT_REPO_URI="git://github.com/dealii/dealii.git"
+ EGIT_REPO_URI="https://github.com/dealii/dealii.git"
SRC_URI=""
KEYWORDS=""
else
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/dealii/
@ 2017-10-07 18:28 Matthias Maier
0 siblings, 0 replies; 53+ messages in thread
From: Matthias Maier @ 2017-10-07 18:28 UTC (permalink / raw
To: gentoo-commits
commit: 0f3dff81c54d8241472d3d03137b24b65a0a405b
Author: Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 7 18:28:17 2017 +0000
Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Sat Oct 7 18:28:17 2017 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=0f3dff81
sci-libs/dealii: update live ebuild
Package-Manager: Portage-2.3.8, Repoman-2.3.3
sci-libs/dealii/dealii-9999.ebuild | 13 ++++++++++---
sci-libs/dealii/metadata.xml | 3 +++
2 files changed, 13 insertions(+), 3 deletions(-)
diff --git a/sci-libs/dealii/dealii-9999.ebuild b/sci-libs/dealii/dealii-9999.ebuild
index 3d45ca624..c0ffbc179 100644
--- a/sci-libs/dealii/dealii-9999.ebuild
+++ b/sci-libs/dealii/dealii-9999.ebuild
@@ -33,9 +33,10 @@ fi
LICENSE="LGPL-2.1+"
SLOT="0"
IUSE="
- adolc arpack cpu_flags_x86_avx cpu_flags_x86_sse2 +debug doc +examples
- +gsl hdf5 +lapack metis mpi muparser nanoflann opencascade netcdf p4est
- petsc slepc +sparse static-libs +tbb trilinos
+ adolc assimp arpack cpu_flags_x86_avx cpu_flags_x86_sse2 cuda +debug
+ doc +examples +gsl hdf5 +lapack metis mpi muparser nanoflann
+ opencascade netcdf p4est petsc slepc +sparse static-libs sundials +tbb
+ trilinos
"
# TODO: add slepc use flag once slepc is packaged for gentoo-science
@@ -49,6 +50,8 @@ RDEPEND="dev-libs/boost
sys-libs/zlib
adolc? ( sci-libs/adolc )
arpack? ( sci-libs/arpack[mpi=] )
+ assimp? ( media-libs/assimp )
+ cuda? ( dev-util/nvidia-cuda-sdk )
gsl? ( sci-libs/gsl )
hdf5? ( sci-libs/hdf5[mpi=] )
lapack? ( virtual/lapack )
@@ -62,6 +65,7 @@ RDEPEND="dev-libs/boost
petsc? ( sci-mathematics/petsc[mpi=] )
slepc? ( sci-mathematics/slepc[mpi=] )
sparse? ( sci-libs/umfpack )
+ sundials? ( sci-libs/sundials )
tbb? ( dev-cpp/tbb )
trilinos? ( sci-libs/trilinos )"
@@ -89,8 +93,10 @@ src_configure() {
-DDEAL_II_WITH_BZIP2=ON
-DDEAL_II_WITH_ZLIB=ON
-DDEAL_II_WITH_ADOLC="$(usex adolc)"
+ -DDEAL_II_WITH_ASSIMP="$(usex assimp)"
-DDEAL_II_WITH_ARPACK="$(usex arpack)"
-DDEAL_II_HAVE_AVX="$(usex cpu_flags_x86_avx)"
+ -DDEAL_II_WITH_CUDA="$(usex cuda)"
-DDEAL_II_HAVE_SSE2="$(usex cpu_flags_x86_sse2)"
-DDEAL_II_COMPONENT_DOCUMENTATION="$(usex doc)"
-DDEAL_II_COMPONENT_EXAMPLES="$(usex examples)"
@@ -107,6 +113,7 @@ src_configure() {
-DDEAL_II_WITH_P4EST="$(usex p4est)"
-DDEAL_II_WITH_PETSC="$(usex petsc)"
-DDEAL_II_WITH_SLEPC="$(usex slepc)"
+ -DDEAL_II_WITH_SUNDIALS="$(usex sundials)"
-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 929d8544d..ec7db76e8 100644
--- a/sci-libs/dealii/metadata.xml
+++ b/sci-libs/dealii/metadata.xml
@@ -36,6 +36,9 @@ and extra output. If you want to get meaningful backtraces see
<flag name="sparse">Add support for suitesparse (<pkg>sci-libs/suitesparse</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>
+ <flag name="cuda">Add support for cuda assimp (<pkg>dev-util/nvidia-cuda-sdk</pkg>)</flag>
+ <flag name="sundials">Add support for sundials assimp (<pkg>sci-libs/sundials</pkg>)</flag>
</use>
<upstream>
<remote-id type="github">dealii/dealii</remote-id>
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/dealii/
@ 2017-08-14 16:57 Matthias Maier
0 siblings, 0 replies; 53+ messages in thread
From: Matthias Maier @ 2017-08-14 16:57 UTC (permalink / raw
To: gentoo-commits
commit: 8c548dc35618d88b530007142e551e9a7e98af8c
Author: Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 14 16:52:20 2017 +0000
Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Mon Aug 14 16:52:20 2017 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=8c548dc3
sci-libs/dealii: update live ebuild to upstream changes
Package-Manager: Portage-2.3.6, Repoman-2.3.3
sci-libs/dealii/dealii-9999.ebuild | 10 +++++++---
sci-libs/dealii/metadata.xml | 2 ++
2 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/sci-libs/dealii/dealii-9999.ebuild b/sci-libs/dealii/dealii-9999.ebuild
index a992a7691..3d45ca624 100644
--- a/sci-libs/dealii/dealii-9999.ebuild
+++ b/sci-libs/dealii/dealii-9999.ebuild
@@ -33,9 +33,9 @@ fi
LICENSE="LGPL-2.1+"
SLOT="0"
IUSE="
- arpack cpu_flags_x86_avx cpu_flags_x86_sse2 +debug doc +examples
- +gsl hdf5 +lapack metis mpi muparser opencascade netcdf p4est petsc
- slepc +sparse static-libs +tbb trilinos
+ adolc arpack cpu_flags_x86_avx cpu_flags_x86_sse2 +debug doc +examples
+ +gsl hdf5 +lapack metis mpi muparser nanoflann opencascade netcdf p4est
+ petsc slepc +sparse static-libs +tbb trilinos
"
# TODO: add slepc use flag once slepc is packaged for gentoo-science
@@ -47,6 +47,7 @@ REQUIRED_USE="
RDEPEND="dev-libs/boost
app-arch/bzip2
sys-libs/zlib
+ adolc? ( sci-libs/adolc )
arpack? ( sci-libs/arpack[mpi=] )
gsl? ( sci-libs/gsl )
hdf5? ( sci-libs/hdf5[mpi=] )
@@ -54,6 +55,7 @@ RDEPEND="dev-libs/boost
metis? ( >=sci-libs/parmetis-4 )
mpi? ( virtual/mpi )
muparser? ( dev-cpp/muParser )
+ nanoflann? ( sci-libs/nanoflann )
netcdf? ( sci-libs/netcdf-cxx:0 )
opencascade? ( sci-libs/opencascade:* )
p4est? ( sci-libs/p4est[mpi] )
@@ -86,6 +88,7 @@ src_configure() {
-DDEAL_II_SHARE_RELDIR="share/${PN}"
-DDEAL_II_WITH_BZIP2=ON
-DDEAL_II_WITH_ZLIB=ON
+ -DDEAL_II_WITH_ADOLC="$(usex adolc)"
-DDEAL_II_WITH_ARPACK="$(usex arpack)"
-DDEAL_II_HAVE_AVX="$(usex cpu_flags_x86_avx)"
-DDEAL_II_HAVE_SSE2="$(usex cpu_flags_x86_sse2)"
@@ -97,6 +100,7 @@ src_configure() {
-DDEAL_II_WITH_METIS="$(usex metis)"
-DDEAL_II_WITH_MPI="$(usex mpi)"
-DDEAL_II_WITH_MUPARSER="$(usex muparser)"
+ -DDEAL_II_WITH_NANOFLANN="$(usex nanoflann)"
-DDEAL_II_WITH_NETCDF="$(usex netcdf)"
-DOPENCASCADE_DIR="${CASROOT}"
-DDEAL_II_WITH_OPENCASCADE="$(usex opencascade)"
diff --git a/sci-libs/dealii/metadata.xml b/sci-libs/dealii/metadata.xml
index 9b9c83ecc..929d8544d 100644
--- a/sci-libs/dealii/metadata.xml
+++ b/sci-libs/dealii/metadata.xml
@@ -16,6 +16,7 @@ state-of-the-art programming techniques to offer you a modern interface
to the complex data structures and algorithms required.
</longdescription>
<use>
+ <flag name="adolc">Adds support for ADOL-C (<pkg>sci-libs/adolc</pkg>)</flag>
<flag name="arpack">Adds support for ARPACK (<pkg>sci-libs/arpack</pkg>)</flag>
<flag name="debug">
Build an additional debug library with extra debug codepaths, like asserts
@@ -26,6 +27,7 @@ and extra output. If you want to get meaningful backtraces see
<flag name="metis">Add support for metis (<pkg>sci-libs/metis</pkg>)</flag>
<flag name="mumps">Add support for mumps (<pkg>sci-libs/mumps</pkg>)</flag>
<flag name="muparser">Add support for muparser (<pkg>dev-cpp/muParser</pkg>)</flag>
+ <flag name="nanoflann">Adds support for nanoflann (<pkg>sci-libs/nanoflann</pkg>)</flag>
<flag name="opencascade">Add support for opencascade (<pkg>sci-libs/opencascade</pkg>)</flag>
<flag name="p4est">Add support for p4est (<pkg>sci-mathematics/p4est</pkg>)</flag>
<flag name="parameter_gui">Build and install the parameter_gui executable</flag>
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/dealii/
@ 2017-06-18 13:04 Matthias Maier
0 siblings, 0 replies; 53+ messages in thread
From: Matthias Maier @ 2017-06-18 13:04 UTC (permalink / raw
To: gentoo-commits
commit: 910abe8a2393a64eb846cb73ac42fa2987a5479f
Author: Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 18 13:03:26 2017 +0000
Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Sun Jun 18 13:03:26 2017 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=910abe8a
sci-libs/dealii: ebuild maintenance
Package-Manager: Portage-2.3.6, Repoman-2.3.2
sci-libs/dealii/dealii-9999.ebuild | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/sci-libs/dealii/dealii-9999.ebuild b/sci-libs/dealii/dealii-9999.ebuild
index c66ac8a72..a992a7691 100644
--- a/sci-libs/dealii/dealii-9999.ebuild
+++ b/sci-libs/dealii/dealii-9999.ebuild
@@ -33,7 +33,7 @@ fi
LICENSE="LGPL-2.1+"
SLOT="0"
IUSE="
- arpack cpu_flags_x86_avx cpu_flags_x86_sse2 c++11 +debug doc +examples
+ arpack cpu_flags_x86_avx cpu_flags_x86_sse2 +debug doc +examples
+gsl hdf5 +lapack metis mpi muparser opencascade netcdf p4est petsc
slepc +sparse static-libs +tbb trilinos
"
@@ -87,7 +87,6 @@ src_configure() {
-DDEAL_II_WITH_BZIP2=ON
-DDEAL_II_WITH_ZLIB=ON
-DDEAL_II_WITH_ARPACK="$(usex arpack)"
- -DDEAL_II_WITH_CXX11="$(usex c++11)"
-DDEAL_II_HAVE_AVX="$(usex cpu_flags_x86_avx)"
-DDEAL_II_HAVE_SSE2="$(usex cpu_flags_x86_sse2)"
-DDEAL_II_COMPONENT_DOCUMENTATION="$(usex doc)"
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/dealii/
@ 2017-04-11 14:50 Marius Brehler
0 siblings, 0 replies; 53+ messages in thread
From: Marius Brehler @ 2017-04-11 14:50 UTC (permalink / raw
To: gentoo-commits
commit: 71bff25d4a9a01c4c1ea664d0bdf5f0de50475aa
Author: Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 7 19:39:34 2017 +0000
Commit: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
CommitDate: Fri Apr 7 19:39:34 2017 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=71bff25d
sci-libs/dealii: do not compile examples
Package-Manager: Portage-2.3.3, Repoman-2.3.2
sci-libs/dealii/dealii-9999.ebuild | 1 +
1 file changed, 1 insertion(+)
diff --git a/sci-libs/dealii/dealii-9999.ebuild b/sci-libs/dealii/dealii-9999.ebuild
index fa7b48600..6378e4b61 100644
--- a/sci-libs/dealii/dealii-9999.ebuild
+++ b/sci-libs/dealii/dealii-9999.ebuild
@@ -78,6 +78,7 @@ src_configure() {
-DDEAL_II_COMPILE_EXAMPLES=OFF
-DDEAL_II_DOCHTML_RELDIR="share/doc/${P}/html"
-DDEAL_II_DOCREADME_RELDIR="share/doc/${P}"
+ -DDEAL_II_COMPILE_EXAMPLES=OFF
-DDEAL_II_EXAMPLES_RELDIR="share/doc/${P}/examples"
-DDEAL_II_LIBRARY_RELDIR="$(get_libdir)"
-DDEAL_II_SHARE_RELDIR="share/${PN}"
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/dealii/
@ 2017-04-11 14:50 Marius Brehler
0 siblings, 0 replies; 53+ messages in thread
From: Marius Brehler @ 2017-04-11 14:50 UTC (permalink / raw
To: gentoo-commits
commit: b950587d15ba3e74807ad8b7d8e2934d91bdbc7b
Author: Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 7 19:24:10 2017 +0000
Commit: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
CommitDate: Fri Apr 7 19:24:10 2017 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=b950587d
sci-libs/dealii: version bump to 8.5.0
Package-Manager: Portage-2.3.3, Repoman-2.3.2
sci-libs/dealii/dealii-8.5.0.ebuild | 126 ++++++++++++++++++++++++++++++++++++
1 file changed, 126 insertions(+)
diff --git a/sci-libs/dealii/dealii-8.5.0.ebuild b/sci-libs/dealii/dealii-8.5.0.ebuild
new file mode 100644
index 000000000..4053d8a38
--- /dev/null
+++ b/sci-libs/dealii/dealii-8.5.0.ebuild
@@ -0,0 +1,126 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit cmake-utils eutils multilib
+
+# deal.II uses its own FindLAPACK.cmake file that calls into the system
+# FindLAPACK.cmake module and does additional internal setup. Do not remove
+# any of these modules:
+CMAKE_REMOVE_MODULES_LIST=""
+
+DESCRIPTION="Solving partial differential equations with the finite element method"
+HOMEPAGE="http://www.dealii.org/"
+
+if [[ ${PV} = *9999* ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="git://github.com/dealii/dealii.git"
+ SRC_URI=""
+ KEYWORDS=""
+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
+ doc? (
+ https://github.com/${PN}/${PN}/releases/download/v${MY_PV}/${MY_P}-offline_documentation.tar.gz
+ -> ${P}-offline_documentation.tar.gz
+ )"
+ KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+ S="${WORKDIR}/${PN}-${MY_PV}"
+fi
+
+LICENSE="LGPL-2.1+"
+SLOT="0"
+IUSE="
+ arpack cpu_flags_x86_avx cpu_flags_x86_sse2 c++11 +debug doc +examples
+ +gsl hdf5 +lapack metis mpi muparser opencascade netcdf p4est petsc
+ +sparse static-libs +tbb trilinos
+"
+
+# TODO: add slepc use flag once slepc is packaged for gentoo-science
+REQUIRED_USE="
+ p4est? ( mpi )
+ trilinos? ( mpi )"
+
+RDEPEND="dev-libs/boost
+ app-arch/bzip2
+ sys-libs/zlib
+ arpack? ( sci-libs/arpack[mpi=] )
+ gsl? ( sci-libs/gsl )
+ hdf5? ( sci-libs/hdf5[mpi=] )
+ lapack? ( virtual/lapack )
+ metis? ( >=sci-libs/parmetis-4 )
+ mpi? ( virtual/mpi )
+ muparser? ( dev-cpp/muParser )
+ netcdf? ( sci-libs/netcdf-cxx:0 )
+ opencascade? ( sci-libs/opencascade:* )
+ p4est? ( sci-libs/p4est[mpi] )
+ petsc? ( sci-mathematics/petsc[mpi=] )
+ sparse? ( sci-libs/umfpack )
+ tbb? ( dev-cpp/tbb )
+ trilinos? ( sci-libs/trilinos )"
+
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ doc? ( app-doc/doxygen[dot] dev-lang/perl )"
+
+src_configure() {
+ # deal.II needs a custom build type:
+ local CMAKE_BUILD_TYPE=$(usex debug DebugRelease Release)
+
+ local mycmakeargs=(
+ -DDEAL_II_PACKAGE_VERSION=9999
+ -DCMAKE_INSTALL_RPATH_USE_LINK_PATH=OFF
+ -DDEAL_II_ALLOW_AUTODETECTION=OFF
+ -DDEAL_II_ALLOW_BUNDLED=OFF
+ -DDEAL_II_ALLOW_PLATFORM_INTROSPECTION=OFF
+ -DDEAL_II_COMPILE_EXAMPLES=OFF
+ -DDEAL_II_DOCHTML_RELDIR="share/doc/${P}/html"
+ -DDEAL_II_DOCREADME_RELDIR="share/doc/${P}"
+ -DDEAL_II_EXAMPLES_RELDIR="share/doc/${P}/examples"
+ -DDEAL_II_LIBRARY_RELDIR="$(get_libdir)"
+ -DDEAL_II_SHARE_RELDIR="share/${PN}"
+ -DDEAL_II_WITH_BZIP2=ON
+ -DDEAL_II_WITH_ZLIB=ON
+ $(cmake-utils_use arpack DEAL_II_WITH_ARPACK)
+ $(cmake-utils_use c++11 DEAL_II_WITH_CXX11)
+ $(cmake-utils_use cpu_flags_x86_avx DEAL_II_HAVE_AVX)
+ $(cmake-utils_use cpu_flags_x86_sse2 DEAL_II_HAVE_SSE2)
+ $(cmake-utils_use doc DEAL_II_COMPONENT_DOCUMENTATION)
+ $(cmake-utils_use examples DEAL_II_COMPONENT_EXAMPLES)
+ $(cmake-utils_use gsl DEAL_II_WITH_GSL)
+ $(cmake-utils_use hdf5 DEAL_II_WITH_HDF5)
+ $(cmake-utils_use lapack DEAL_II_WITH_LAPACK)
+ $(cmake-utils_use metis DEAL_II_WITH_METIS)
+ $(cmake-utils_use mpi DEAL_II_WITH_MPI)
+ $(cmake-utils_use muparser DEAL_II_WITH_MUPARSER)
+ $(cmake-utils_use netcdf DEAL_II_WITH_NETCDF)
+ -DOPENCASCADE_DIR="${CASROOT}"
+ $(cmake-utils_use opencascade DEAL_II_WITH_OPENCASCADE)
+ $(cmake-utils_use p4est DEAL_II_WITH_P4EST)
+ $(cmake-utils_use petsc DEAL_II_WITH_PETSC)
+ $(cmake-utils_use sparse DEAL_II_WITH_UMFPACK)
+ $(cmake-utils_use !static-libs BUILD_SHARED_LIBS)
+ $(cmake-utils_use static-libs DEAL_II_PREFER_STATIC_LIBS)
+ $(cmake-utils_use tbb DEAL_II_WITH_THREADS)
+ $(cmake-utils_use trilinos DEAL_II_WITH_TRILINOS)
+ )
+ cmake-utils_src_configure
+}
+
+src_install() {
+ if use doc && [[ ${PV} != *9999* ]]; then
+ # copy missing images to the build directory:
+ cp -r "${WORKDIR}"/doc/doxygen/deal.II/images \
+ "${BUILD_DIR}"/doc/doxygen/deal.II || die
+ # replace links:
+ sed -i \
+ 's#"http://www.dealii.org/images/steps/developer/\(step-.*\)"#"images/\1"#g' \
+ "${BUILD_DIR}"/doc/doxygen/deal.II/step_*.html || die "sed failed"
+ fi
+ cmake-utils_src_install
+
+ # decompress the installed example sources:
+ use examples && docompress -x /usr/share/doc/${PF}/examples
+}
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/dealii/
@ 2017-04-11 14:50 Marius Brehler
0 siblings, 0 replies; 53+ messages in thread
From: Marius Brehler @ 2017-04-11 14:50 UTC (permalink / raw
To: gentoo-commits
commit: dcc50fe64b07c644b1430db3e174ca7e211becea
Author: Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 7 19:30:32 2017 +0000
Commit: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
CommitDate: Fri Apr 7 19:30:32 2017 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=dcc50fe6
sci-libs/dealii: port to EAPI 6
Package-Manager: Portage-2.3.3, Repoman-2.3.2
sci-libs/dealii/dealii-8.5.0.ebuild | 46 ++++++++++++++++++-------------------
sci-libs/dealii/dealii-9999.ebuild | 46 ++++++++++++++++++-------------------
2 files changed, 46 insertions(+), 46 deletions(-)
diff --git a/sci-libs/dealii/dealii-8.5.0.ebuild b/sci-libs/dealii/dealii-8.5.0.ebuild
index 4053d8a38..fa7b48600 100644
--- a/sci-libs/dealii/dealii-8.5.0.ebuild
+++ b/sci-libs/dealii/dealii-8.5.0.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=6
inherit cmake-utils eutils multilib
@@ -83,29 +83,29 @@ src_configure() {
-DDEAL_II_SHARE_RELDIR="share/${PN}"
-DDEAL_II_WITH_BZIP2=ON
-DDEAL_II_WITH_ZLIB=ON
- $(cmake-utils_use arpack DEAL_II_WITH_ARPACK)
- $(cmake-utils_use c++11 DEAL_II_WITH_CXX11)
- $(cmake-utils_use cpu_flags_x86_avx DEAL_II_HAVE_AVX)
- $(cmake-utils_use cpu_flags_x86_sse2 DEAL_II_HAVE_SSE2)
- $(cmake-utils_use doc DEAL_II_COMPONENT_DOCUMENTATION)
- $(cmake-utils_use examples DEAL_II_COMPONENT_EXAMPLES)
- $(cmake-utils_use gsl DEAL_II_WITH_GSL)
- $(cmake-utils_use hdf5 DEAL_II_WITH_HDF5)
- $(cmake-utils_use lapack DEAL_II_WITH_LAPACK)
- $(cmake-utils_use metis DEAL_II_WITH_METIS)
- $(cmake-utils_use mpi DEAL_II_WITH_MPI)
- $(cmake-utils_use muparser DEAL_II_WITH_MUPARSER)
- $(cmake-utils_use netcdf DEAL_II_WITH_NETCDF)
+ -DDEAL_II_WITH_ARPACK="$(usex arpack)"
+ -DDEAL_II_WITH_CXX11="$(usex c++11)"
+ -DDEAL_II_HAVE_AVX="$(usex cpu_flags_x86_avx)"
+ -DDEAL_II_HAVE_SSE2="$(usex cpu_flags_x86_sse2)"
+ -DDEAL_II_COMPONENT_DOCUMENTATION="$(usex doc)"
+ -DDEAL_II_COMPONENT_EXAMPLES="$(usex examples)"
+ -DDEAL_II_WITH_GSL="$(usex gsl)"
+ -DDEAL_II_WITH_HDF5="$(usex hdf5)"
+ -DDEAL_II_WITH_LAPACK="$(usex lapack)"
+ -DDEAL_II_WITH_METIS="$(usex metis)"
+ -DDEAL_II_WITH_MPI="$(usex mpi)"
+ -DDEAL_II_WITH_MUPARSER="$(usex muparser)"
+ -DDEAL_II_WITH_NETCDF="$(usex netcdf)"
-DOPENCASCADE_DIR="${CASROOT}"
- $(cmake-utils_use opencascade DEAL_II_WITH_OPENCASCADE)
- $(cmake-utils_use p4est DEAL_II_WITH_P4EST)
- $(cmake-utils_use petsc DEAL_II_WITH_PETSC)
- $(cmake-utils_use sparse DEAL_II_WITH_UMFPACK)
- $(cmake-utils_use !static-libs BUILD_SHARED_LIBS)
- $(cmake-utils_use static-libs DEAL_II_PREFER_STATIC_LIBS)
- $(cmake-utils_use tbb DEAL_II_WITH_THREADS)
- $(cmake-utils_use trilinos DEAL_II_WITH_TRILINOS)
- )
+ -DDEAL_II_WITH_OPENCASCADE="$(usex opencascade)"
+ -DDEAL_II_WITH_P4EST="$(usex p4est)"
+ -DDEAL_II_WITH_PETSC="$(usex petsc)"
+ -DDEAL_II_WITH_UMFPACK="$(usex sparse)"
+ -DBUILD_SHARED_LIBS="$(usex !static-libs)"
+ -DDEAL_II_PREFER_STATIC_LIBS="$(usex static-libs)"
+ -DDEAL_II_WITH_THREADS="$(usex tbb)"
+ -DDEAL_II_WITH_TRILINOS="$(usex trilinos)"
+ )
cmake-utils_src_configure
}
diff --git a/sci-libs/dealii/dealii-9999.ebuild b/sci-libs/dealii/dealii-9999.ebuild
index 4053d8a38..fa7b48600 100644
--- a/sci-libs/dealii/dealii-9999.ebuild
+++ b/sci-libs/dealii/dealii-9999.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=6
inherit cmake-utils eutils multilib
@@ -83,29 +83,29 @@ src_configure() {
-DDEAL_II_SHARE_RELDIR="share/${PN}"
-DDEAL_II_WITH_BZIP2=ON
-DDEAL_II_WITH_ZLIB=ON
- $(cmake-utils_use arpack DEAL_II_WITH_ARPACK)
- $(cmake-utils_use c++11 DEAL_II_WITH_CXX11)
- $(cmake-utils_use cpu_flags_x86_avx DEAL_II_HAVE_AVX)
- $(cmake-utils_use cpu_flags_x86_sse2 DEAL_II_HAVE_SSE2)
- $(cmake-utils_use doc DEAL_II_COMPONENT_DOCUMENTATION)
- $(cmake-utils_use examples DEAL_II_COMPONENT_EXAMPLES)
- $(cmake-utils_use gsl DEAL_II_WITH_GSL)
- $(cmake-utils_use hdf5 DEAL_II_WITH_HDF5)
- $(cmake-utils_use lapack DEAL_II_WITH_LAPACK)
- $(cmake-utils_use metis DEAL_II_WITH_METIS)
- $(cmake-utils_use mpi DEAL_II_WITH_MPI)
- $(cmake-utils_use muparser DEAL_II_WITH_MUPARSER)
- $(cmake-utils_use netcdf DEAL_II_WITH_NETCDF)
+ -DDEAL_II_WITH_ARPACK="$(usex arpack)"
+ -DDEAL_II_WITH_CXX11="$(usex c++11)"
+ -DDEAL_II_HAVE_AVX="$(usex cpu_flags_x86_avx)"
+ -DDEAL_II_HAVE_SSE2="$(usex cpu_flags_x86_sse2)"
+ -DDEAL_II_COMPONENT_DOCUMENTATION="$(usex doc)"
+ -DDEAL_II_COMPONENT_EXAMPLES="$(usex examples)"
+ -DDEAL_II_WITH_GSL="$(usex gsl)"
+ -DDEAL_II_WITH_HDF5="$(usex hdf5)"
+ -DDEAL_II_WITH_LAPACK="$(usex lapack)"
+ -DDEAL_II_WITH_METIS="$(usex metis)"
+ -DDEAL_II_WITH_MPI="$(usex mpi)"
+ -DDEAL_II_WITH_MUPARSER="$(usex muparser)"
+ -DDEAL_II_WITH_NETCDF="$(usex netcdf)"
-DOPENCASCADE_DIR="${CASROOT}"
- $(cmake-utils_use opencascade DEAL_II_WITH_OPENCASCADE)
- $(cmake-utils_use p4est DEAL_II_WITH_P4EST)
- $(cmake-utils_use petsc DEAL_II_WITH_PETSC)
- $(cmake-utils_use sparse DEAL_II_WITH_UMFPACK)
- $(cmake-utils_use !static-libs BUILD_SHARED_LIBS)
- $(cmake-utils_use static-libs DEAL_II_PREFER_STATIC_LIBS)
- $(cmake-utils_use tbb DEAL_II_WITH_THREADS)
- $(cmake-utils_use trilinos DEAL_II_WITH_TRILINOS)
- )
+ -DDEAL_II_WITH_OPENCASCADE="$(usex opencascade)"
+ -DDEAL_II_WITH_P4EST="$(usex p4est)"
+ -DDEAL_II_WITH_PETSC="$(usex petsc)"
+ -DDEAL_II_WITH_UMFPACK="$(usex sparse)"
+ -DBUILD_SHARED_LIBS="$(usex !static-libs)"
+ -DDEAL_II_PREFER_STATIC_LIBS="$(usex static-libs)"
+ -DDEAL_II_WITH_THREADS="$(usex tbb)"
+ -DDEAL_II_WITH_TRILINOS="$(usex trilinos)"
+ )
cmake-utils_src_configure
}
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/dealii/
@ 2017-03-16 19:35 Justin Lecher
0 siblings, 0 replies; 53+ messages in thread
From: Justin Lecher @ 2017-03-16 19:35 UTC (permalink / raw
To: gentoo-commits
commit: 45fc975669d7146aa26dd83c960afd018029efd3
Author: Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 15 18:25:59 2017 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Wed Mar 15 19:00:38 2017 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=45fc9756
sci-libs/dealii: do not compile examples (only source gets installed)
Package-Manager: Portage-2.3.3, Repoman-2.3.2
sci-libs/dealii/dealii-9999.ebuild | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/sci-libs/dealii/dealii-9999.ebuild b/sci-libs/dealii/dealii-9999.ebuild
index 6523b9621..4053d8a38 100644
--- a/sci-libs/dealii/dealii-9999.ebuild
+++ b/sci-libs/dealii/dealii-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -71,15 +71,16 @@ src_configure() {
local mycmakeargs=(
-DDEAL_II_PACKAGE_VERSION=9999
+ -DCMAKE_INSTALL_RPATH_USE_LINK_PATH=OFF
-DDEAL_II_ALLOW_AUTODETECTION=OFF
-DDEAL_II_ALLOW_BUNDLED=OFF
-DDEAL_II_ALLOW_PLATFORM_INTROSPECTION=OFF
- -DCMAKE_INSTALL_RPATH_USE_LINK_PATH=OFF
- -DDEAL_II_LIBRARY_RELDIR="$(get_libdir)"
- -DDEAL_II_SHARE_RELDIR="share/${PN}"
- -DDEAL_II_DOCREADME_RELDIR="share/doc/${P}"
+ -DDEAL_II_COMPILE_EXAMPLES=OFF
-DDEAL_II_DOCHTML_RELDIR="share/doc/${P}/html"
+ -DDEAL_II_DOCREADME_RELDIR="share/doc/${P}"
-DDEAL_II_EXAMPLES_RELDIR="share/doc/${P}/examples"
+ -DDEAL_II_LIBRARY_RELDIR="$(get_libdir)"
+ -DDEAL_II_SHARE_RELDIR="share/${PN}"
-DDEAL_II_WITH_BZIP2=ON
-DDEAL_II_WITH_ZLIB=ON
$(cmake-utils_use arpack DEAL_II_WITH_ARPACK)
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/dealii/
@ 2016-09-06 0:18 Christoph Junghans
0 siblings, 0 replies; 53+ messages in thread
From: Christoph Junghans @ 2016-09-06 0:18 UTC (permalink / raw
To: gentoo-commits
commit: f99abe68b145369cb7f70f549e0762f6f44dcb8c
Author: Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 5 23:08:13 2016 +0000
Commit: Christoph Junghans <ottxor <AT> gentoo <DOT> org>
CommitDate: Mon Sep 5 23:08:13 2016 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=f99abe68
sci-libs/dealii: version bump to 8.4.2
Package-Manager: portage-2.2.28
sci-libs/dealii/{dealii-8.4.1-r1.ebuild => dealii-8.4.2.ebuild} | 0
1 file changed, 0 insertions(+), 0 deletions(-)
diff --git a/sci-libs/dealii/dealii-8.4.1-r1.ebuild b/sci-libs/dealii/dealii-8.4.2.ebuild
similarity index 100%
rename from sci-libs/dealii/dealii-8.4.1-r1.ebuild
rename to sci-libs/dealii/dealii-8.4.2.ebuild
^ permalink raw reply [flat|nested] 53+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/dealii/
@ 2016-07-12 19:57 Marius Brehler
0 siblings, 0 replies; 53+ messages in thread
From: Marius Brehler @ 2016-07-12 19:57 UTC (permalink / raw
To: gentoo-commits
commit: ea453546a104f0a59542df716f40f7945bfa271e
Author: Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 11 10:40:10 2016 +0000
Commit: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
CommitDate: Mon Jul 11 10:40:10 2016 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=ea453546
sci-libs/dealii: fix installation path
Package-Manager: portage-2.2.28
sci-libs/dealii/{dealii-8.4.1.ebuild => dealii-8.4.1-r1.ebuild} | 1 +
sci-libs/dealii/dealii-9999.ebuild | 1 +
2 files changed, 2 insertions(+)
diff --git a/sci-libs/dealii/dealii-8.4.1.ebuild b/sci-libs/dealii/dealii-8.4.1-r1.ebuild
similarity index 98%
rename from sci-libs/dealii/dealii-8.4.1.ebuild
rename to sci-libs/dealii/dealii-8.4.1-r1.ebuild
index 4db7256..d572f07 100644
--- a/sci-libs/dealii/dealii-8.4.1.ebuild
+++ b/sci-libs/dealii/dealii-8.4.1-r1.ebuild
@@ -79,6 +79,7 @@ src_configure() {
-DDEAL_II_LIBRARY_RELDIR="$(get_libdir)"
-DDEAL_II_SHARE_RELDIR="share/${PN}"
-DDEAL_II_DOCREADME_RELDIR="share/doc/${P}"
+ -DDEAL_II_DOCHTML_RELDIR="share/doc/${P}/html"
-DDEAL_II_EXAMPLES_RELDIR="share/doc/${P}/examples"
-DDEAL_II_WITH_BZIP2=ON
-DDEAL_II_WITH_ZLIB=ON
diff --git a/sci-libs/dealii/dealii-9999.ebuild b/sci-libs/dealii/dealii-9999.ebuild
index 4db7256..d572f07 100644
--- a/sci-libs/dealii/dealii-9999.ebuild
+++ b/sci-libs/dealii/dealii-9999.ebuild
@@ -79,6 +79,7 @@ src_configure() {
-DDEAL_II_LIBRARY_RELDIR="$(get_libdir)"
-DDEAL_II_SHARE_RELDIR="share/${PN}"
-DDEAL_II_DOCREADME_RELDIR="share/doc/${P}"
+ -DDEAL_II_DOCHTML_RELDIR="share/doc/${P}/html"
-DDEAL_II_EXAMPLES_RELDIR="share/doc/${P}/examples"
-DDEAL_II_WITH_BZIP2=ON
-DDEAL_II_WITH_ZLIB=ON
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/dealii/
@ 2016-07-12 19:57 Marius Brehler
0 siblings, 0 replies; 53+ messages in thread
From: Marius Brehler @ 2016-07-12 19:57 UTC (permalink / raw
To: gentoo-commits
commit: f60f3255106c745b7e71ed02c2dba0467e4934c2
Author: Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 11 15:03:23 2016 +0000
Commit: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
CommitDate: Mon Jul 11 15:03:23 2016 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=f60f3255
sci-libs/dealii: update live ebuild
Package-Manager: portage-2.2.28
sci-libs/dealii/dealii-9999.ebuild | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/sci-libs/dealii/dealii-9999.ebuild b/sci-libs/dealii/dealii-9999.ebuild
index d572f07..4aa4fbf 100644
--- a/sci-libs/dealii/dealii-9999.ebuild
+++ b/sci-libs/dealii/dealii-9999.ebuild
@@ -35,8 +35,8 @@ LICENSE="LGPL-2.1+"
SLOT="0"
IUSE="
arpack cpu_flags_x86_avx cpu_flags_x86_sse2 c++11 +debug doc +examples
- hdf5 +lapack metis mpi muparser opencascade netcdf p4est parameter_gui
- petsc +sparse static-libs +tbb trilinos
+ +gsl hdf5 +lapack metis mpi muparser opencascade netcdf p4est petsc
+ +sparse static-libs +tbb trilinos
"
# TODO: add slepc use flag once slepc is packaged for gentoo-science
@@ -48,6 +48,7 @@ RDEPEND="dev-libs/boost
app-arch/bzip2
sys-libs/zlib
arpack? ( sci-libs/arpack[mpi=] )
+ gsl? ( sci-libs/gsl )
hdf5? ( sci-libs/hdf5[mpi=] )
lapack? ( virtual/lapack )
metis? ( >=sci-libs/parmetis-4 )
@@ -56,7 +57,6 @@ RDEPEND="dev-libs/boost
netcdf? ( sci-libs/netcdf-cxx:0 )
opencascade? ( sci-libs/opencascade:* )
p4est? ( sci-libs/p4est[mpi] )
- parameter_gui? ( dev-qt/qtgui:4 )
petsc? ( sci-mathematics/petsc[mpi=] )
sparse? ( sci-libs/umfpack )
tbb? ( dev-cpp/tbb )
@@ -89,6 +89,7 @@ src_configure() {
$(cmake-utils_use cpu_flags_x86_sse2 DEAL_II_HAVE_SSE2)
$(cmake-utils_use doc DEAL_II_COMPONENT_DOCUMENTATION)
$(cmake-utils_use examples DEAL_II_COMPONENT_EXAMPLES)
+ $(cmake-utils_use gsl DEAL_II_WITH_GSL)
$(cmake-utils_use hdf5 DEAL_II_WITH_HDF5)
$(cmake-utils_use lapack DEAL_II_WITH_LAPACK)
$(cmake-utils_use metis DEAL_II_WITH_METIS)
@@ -98,7 +99,6 @@ src_configure() {
-DOPENCASCADE_DIR="${CASROOT}"
$(cmake-utils_use opencascade DEAL_II_WITH_OPENCASCADE)
$(cmake-utils_use p4est DEAL_II_WITH_P4EST)
- $(cmake-utils_use parameter_gui DEAL_II_COMPONENT_PARAMETER_GUI)
$(cmake-utils_use petsc DEAL_II_WITH_PETSC)
$(cmake-utils_use sparse DEAL_II_WITH_UMFPACK)
$(cmake-utils_use !static-libs BUILD_SHARED_LIBS)
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/dealii/
@ 2016-04-23 23:21 Christoph Junghans
0 siblings, 0 replies; 53+ messages in thread
From: Christoph Junghans @ 2016-04-23 23:21 UTC (permalink / raw
To: gentoo-commits
commit: 98ee23b994cf953bcfe4cd4f46a301b88bb6246e
Author: Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 22 02:44:45 2016 +0000
Commit: Christoph Junghans <ottxor <AT> gentoo <DOT> org>
CommitDate: Fri Apr 22 02:44:45 2016 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=98ee23b9
sci-libs/dealii: version bump to 8.4.1
Package-Manager: portage-2.2.26
sci-libs/dealii/{dealii-9999.ebuild => dealii-8.4.1.ebuild} | 2 --
sci-libs/dealii/dealii-9999.ebuild | 2 --
2 files changed, 4 deletions(-)
diff --git a/sci-libs/dealii/dealii-9999.ebuild b/sci-libs/dealii/dealii-8.4.1.ebuild
similarity index 96%
copy from sci-libs/dealii/dealii-9999.ebuild
copy to sci-libs/dealii/dealii-8.4.1.ebuild
index b37b962..11c2c0c 100644
--- a/sci-libs/dealii/dealii-9999.ebuild
+++ b/sci-libs/dealii/dealii-8.4.1.ebuild
@@ -21,8 +21,6 @@ else
doc? (
https://github.com/${PN}/${PN}/releases/download/v${MY_PV}/${MY_P}-offline_documentation.tar.gz
-> ${P}-offline_documentation.tar.gz
- http://ganymed.iwr.uni-heidelberg.de/~maier/dealii/releases/${MY_P}-offline_documentation.tar.gz
- -> ${P}-offline_documentation.tar.gz
)"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
S="${WORKDIR}/${PN}-${MY_PV}"
diff --git a/sci-libs/dealii/dealii-9999.ebuild b/sci-libs/dealii/dealii-9999.ebuild
index b37b962..11c2c0c 100644
--- a/sci-libs/dealii/dealii-9999.ebuild
+++ b/sci-libs/dealii/dealii-9999.ebuild
@@ -21,8 +21,6 @@ else
doc? (
https://github.com/${PN}/${PN}/releases/download/v${MY_PV}/${MY_P}-offline_documentation.tar.gz
-> ${P}-offline_documentation.tar.gz
- http://ganymed.iwr.uni-heidelberg.de/~maier/dealii/releases/${MY_P}-offline_documentation.tar.gz
- -> ${P}-offline_documentation.tar.gz
)"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
S="${WORKDIR}/${PN}-${MY_PV}"
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/dealii/
@ 2016-04-23 23:21 Christoph Junghans
0 siblings, 0 replies; 53+ messages in thread
From: Christoph Junghans @ 2016-04-23 23:21 UTC (permalink / raw
To: gentoo-commits
commit: a9332332ca6ff033bc84fc882ead86f0c9a6eb59
Author: Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 23 00:44:01 2016 +0000
Commit: Christoph Junghans <ottxor <AT> gentoo <DOT> org>
CommitDate: Sat Apr 23 00:44:01 2016 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=a9332332
sci-libs/dealii: do not remove FindLAPACK.cmake module from build environment
deal.II uses a FindLAPACK.cmake file to call into the system
FindLAPACK.cmake module and to do additional setup - do not remove it
during the prepare stage.
Package-Manager: portage-2.2.26
sci-libs/dealii/dealii-8.1.0-r2.ebuild | 7 ++++++-
sci-libs/dealii/dealii-8.2.1-r1.ebuild | 7 ++++++-
sci-libs/dealii/dealii-8.3.0.ebuild | 7 ++++++-
sci-libs/dealii/dealii-8.4.1.ebuild | 7 ++++++-
sci-libs/dealii/dealii-9999.ebuild | 7 ++++++-
5 files changed, 30 insertions(+), 5 deletions(-)
diff --git a/sci-libs/dealii/dealii-8.1.0-r2.ebuild b/sci-libs/dealii/dealii-8.1.0-r2.ebuild
index 0e5b3d5..4beb1fe 100644
--- a/sci-libs/dealii/dealii-8.1.0-r2.ebuild
+++ b/sci-libs/dealii/dealii-8.1.0-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -6,6 +6,11 @@ EAPI=5
inherit cmake-utils eutils multilib
+# deal.II uses its own FindLAPACK.cmake file that calls into the system
+# FindLAPACK.cmake module and does additional internal setup. Do not remove
+# any of these modules:
+CMAKE_REMOVE_MODULES_LIST=""
+
DESCRIPTION="Solving partial differential equations with the finite element method"
HOMEPAGE="http://www.dealii.org/"
diff --git a/sci-libs/dealii/dealii-8.2.1-r1.ebuild b/sci-libs/dealii/dealii-8.2.1-r1.ebuild
index 829de6d..10578c2 100644
--- a/sci-libs/dealii/dealii-8.2.1-r1.ebuild
+++ b/sci-libs/dealii/dealii-8.2.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -6,6 +6,11 @@ EAPI=5
inherit cmake-utils eutils multilib
+# deal.II uses its own FindLAPACK.cmake file that calls into the system
+# FindLAPACK.cmake module and does additional internal setup. Do not remove
+# any of these modules:
+CMAKE_REMOVE_MODULES_LIST=""
+
DESCRIPTION="Solving partial differential equations with the finite element method"
HOMEPAGE="http://www.dealii.org/"
diff --git a/sci-libs/dealii/dealii-8.3.0.ebuild b/sci-libs/dealii/dealii-8.3.0.ebuild
index 4836555..e4c7eac 100644
--- a/sci-libs/dealii/dealii-8.3.0.ebuild
+++ b/sci-libs/dealii/dealii-8.3.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -6,6 +6,11 @@ EAPI=5
inherit cmake-utils eutils multilib
+# deal.II uses its own FindLAPACK.cmake file that calls into the system
+# FindLAPACK.cmake module and does additional internal setup. Do not remove
+# any of these modules:
+CMAKE_REMOVE_MODULES_LIST=""
+
DESCRIPTION="Solving partial differential equations with the finite element method"
HOMEPAGE="http://www.dealii.org/"
diff --git a/sci-libs/dealii/dealii-8.4.1.ebuild b/sci-libs/dealii/dealii-8.4.1.ebuild
index 11c2c0c..4db7256 100644
--- a/sci-libs/dealii/dealii-8.4.1.ebuild
+++ b/sci-libs/dealii/dealii-8.4.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -6,6 +6,11 @@ EAPI=5
inherit cmake-utils eutils multilib
+# deal.II uses its own FindLAPACK.cmake file that calls into the system
+# FindLAPACK.cmake module and does additional internal setup. Do not remove
+# any of these modules:
+CMAKE_REMOVE_MODULES_LIST=""
+
DESCRIPTION="Solving partial differential equations with the finite element method"
HOMEPAGE="http://www.dealii.org/"
diff --git a/sci-libs/dealii/dealii-9999.ebuild b/sci-libs/dealii/dealii-9999.ebuild
index 11c2c0c..4db7256 100644
--- a/sci-libs/dealii/dealii-9999.ebuild
+++ b/sci-libs/dealii/dealii-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -6,6 +6,11 @@ EAPI=5
inherit cmake-utils eutils multilib
+# deal.II uses its own FindLAPACK.cmake file that calls into the system
+# FindLAPACK.cmake module and does additional internal setup. Do not remove
+# any of these modules:
+CMAKE_REMOVE_MODULES_LIST=""
+
DESCRIPTION="Solving partial differential equations with the finite element method"
HOMEPAGE="http://www.dealii.org/"
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/dealii/
@ 2015-08-27 15:01 Justin Lecher
0 siblings, 0 replies; 53+ messages in thread
From: Justin Lecher @ 2015-08-27 15:01 UTC (permalink / raw
To: gentoo-commits
commit: a9aa72de614284511efcecce9df356c33e294ccb
Author: Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 27 08:20:50 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Thu Aug 27 08:20:50 2015 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=a9aa72de
sci-libs/dealii: update live ebuild
Package-Manager: portage-2.2.20.1
sci-libs/dealii/ChangeLog | 3 +++
sci-libs/dealii/dealii-9999.ebuild | 5 ++---
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/sci-libs/dealii/ChangeLog b/sci-libs/dealii/ChangeLog
index 1db1848..41f629f 100644
--- a/sci-libs/dealii/ChangeLog
+++ b/sci-libs/dealii/ChangeLog
@@ -2,6 +2,9 @@
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
# $Id$
+ 27 Aug 2015; Matthias Maier <tamiko@gentoo.org> dealii-9999.ebuild:
+ sci-libs/dealii: update live ebuild
+
02 Aug 2015; Matthias Maier <tamiko@gentoo.org> -dealii-8.2.0.ebuild:
sci-libs/dealii - drop superseded version
diff --git a/sci-libs/dealii/dealii-9999.ebuild b/sci-libs/dealii/dealii-9999.ebuild
index 4836555..b37b962 100644
--- a/sci-libs/dealii/dealii-9999.ebuild
+++ b/sci-libs/dealii/dealii-9999.ebuild
@@ -32,8 +32,8 @@ LICENSE="LGPL-2.1+"
SLOT="0"
IUSE="
arpack cpu_flags_x86_avx cpu_flags_x86_sse2 c++11 +debug doc +examples
- hdf5 +lapack mesh_converter metis mpi muparser opencascade
- netcdf p4est parameter_gui petsc +sparse static-libs +tbb trilinos
+ hdf5 +lapack metis mpi muparser opencascade netcdf p4est parameter_gui
+ petsc +sparse static-libs +tbb trilinos
"
# TODO: add slepc use flag once slepc is packaged for gentoo-science
@@ -87,7 +87,6 @@ src_configure() {
$(cmake-utils_use examples DEAL_II_COMPONENT_EXAMPLES)
$(cmake-utils_use hdf5 DEAL_II_WITH_HDF5)
$(cmake-utils_use lapack DEAL_II_WITH_LAPACK)
- $(cmake-utils_use mesh_converter DEAL_II_COMPONENT_MESH_CONVERTER)
$(cmake-utils_use metis DEAL_II_WITH_METIS)
$(cmake-utils_use mpi DEAL_II_WITH_MPI)
$(cmake-utils_use muparser DEAL_II_WITH_MUPARSER)
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/dealii/
@ 2015-08-03 12:35 Justin Lecher
0 siblings, 0 replies; 53+ messages in thread
From: Justin Lecher @ 2015-08-03 12:35 UTC (permalink / raw
To: gentoo-commits
commit: d10b617c0e0f3b4954b083f62f4a656cdf45193a
Author: Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 2 21:12:58 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sun Aug 2 21:12:58 2015 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=d10b617c
sci-libs/dealii - version bump
Package-Manager: portage-2.2.20
sci-libs/dealii/ChangeLog | 5 ++
sci-libs/dealii/dealii-8.3.0.ebuild | 123 ++++++++++++++++++++++++++++++++++++
2 files changed, 128 insertions(+)
diff --git a/sci-libs/dealii/ChangeLog b/sci-libs/dealii/ChangeLog
index 33cdaaa..7bd82a8 100644
--- a/sci-libs/dealii/ChangeLog
+++ b/sci-libs/dealii/ChangeLog
@@ -2,6 +2,11 @@
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+*dealii-8.3.0 (02 Aug 2015)
+
+ 02 Aug 2015; Matthias Maier <tamiko@gentoo.org> +dealii-8.3.0.ebuild:
+ version bump
+
03 Jul 2015; Matthias Maier <tamiko@gentoo.org> dealii-9999.ebuild:
sci-libs/dealii - change the recorded version and soversion in the live build
diff --git a/sci-libs/dealii/dealii-8.3.0.ebuild b/sci-libs/dealii/dealii-8.3.0.ebuild
new file mode 100644
index 0000000..f2617a7
--- /dev/null
+++ b/sci-libs/dealii/dealii-8.3.0.ebuild
@@ -0,0 +1,123 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit cmake-utils eutils multilib
+
+DESCRIPTION="Solving partial differential equations with the finite element method"
+HOMEPAGE="http://www.dealii.org/"
+
+if [[ ${PV} = *9999* ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="git://github.com/dealii/dealii.git"
+ SRC_URI=""
+ KEYWORDS=""
+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
+ doc? (
+ https://github.com/${PN}/${PN}/releases/download/v${MY_PV}/${MY_P}-offline_documentation.tar.gz
+ -> ${P}-offline_documentation.tar.gz
+ http://ganymed.iwr.uni-heidelberg.de/~maier/dealii/releases/${MY_P}-offline_documentation.tar.gz
+ -> ${P}-offline_documentation.tar.gz
+ )"
+ KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+ S="${WORKDIR}/${PN}-${MY_PV}"
+fi
+
+LICENSE="LGPL-2.1+"
+SLOT="0"
+IUSE="
+ arpack cpu_flags_x86_avx cpu_flags_x86_sse2 c++11 +debug doc +examples
+ hdf5 +lapack mesh_converter metis mpi muparser opencascade
+ netcdf p4est parameter_gui petsc +sparse static-libs +tbb trilinos
+"
+
+# TODO: add slepc use flag once slepc is packaged for gentoo-science
+REQUIRED_USE="
+ p4est? ( mpi )
+ trilinos? ( mpi )"
+
+RDEPEND="dev-libs/boost
+ app-arch/bzip2
+ sys-libs/zlib
+ arpack? ( sci-libs/arpack[mpi=] )
+ hdf5? ( sci-libs/hdf5[mpi=] )
+ lapack? ( virtual/lapack )
+ metis? ( >=sci-libs/parmetis-4 )
+ mpi? ( virtual/mpi )
+ muparser? ( dev-cpp/muParser )
+ netcdf? ( sci-libs/netcdf-cxx:0 )
+ opencascade? ( sci-libs/opencascade:* )
+ p4est? ( sci-libs/p4est[mpi] )
+ parameter_gui? ( dev-qt/qtgui:4 )
+ petsc? ( sci-mathematics/petsc[mpi=] )
+ sparse? ( sci-libs/umfpack )
+ tbb? ( dev-cpp/tbb )
+ trilinos? ( sci-libs/trilinos )"
+
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ doc? ( app-doc/doxygen[dot] dev-lang/perl )"
+
+src_configure() {
+ # deal.II needs a custom build type:
+ local CMAKE_BUILD_TYPE=$(usex debug DebugRelease Release)
+
+ local mycmakeargs=(
+ -DDEAL_II_PACKAGE_VERSION=9999
+ -DDEAL_II_ALLOW_AUTODETECTION=OFF
+ -DDEAL_II_ALLOW_BUNDLED=OFF
+ -DDEAL_II_ALLOW_PLATFORM_INTROSPECTION=OFF
+ -DCMAKE_INSTALL_RPATH_USE_LINK_PATH=OFF
+ -DDEAL_II_LIBRARY_RELDIR="$(get_libdir)"
+ -DDEAL_II_SHARE_RELDIR="share/${PN}"
+ -DDEAL_II_DOCREADME_RELDIR="share/doc/${P}"
+ -DDEAL_II_EXAMPLES_RELDIR="share/doc/${P}/examples"
+ -DDEAL_II_WITH_BZIP2=ON
+ -DDEAL_II_WITH_ZLIB=ON
+ $(cmake-utils_use arpack DEAL_II_WITH_ARPACK)
+ $(cmake-utils_use c++11 DEAL_II_WITH_CXX11)
+ $(cmake-utils_use cpu_flags_x86_avx DEAL_II_HAVE_AVX)
+ $(cmake-utils_use cpu_flags_x86_sse2 DEAL_II_HAVE_SSE2)
+ $(cmake-utils_use doc DEAL_II_COMPONENT_DOCUMENTATION)
+ $(cmake-utils_use examples DEAL_II_COMPONENT_EXAMPLES)
+ $(cmake-utils_use hdf5 DEAL_II_WITH_HDF5)
+ $(cmake-utils_use lapack DEAL_II_WITH_LAPACK)
+ $(cmake-utils_use mesh_converter DEAL_II_COMPONENT_MESH_CONVERTER)
+ $(cmake-utils_use metis DEAL_II_WITH_METIS)
+ $(cmake-utils_use mpi DEAL_II_WITH_MPI)
+ $(cmake-utils_use muparser DEAL_II_WITH_MUPARSER)
+ $(cmake-utils_use netcdf DEAL_II_WITH_NETCDF)
+ -DOPENCASCADE_DIR="${CASROOT}"
+ $(cmake-utils_use opencascade DEAL_II_WITH_OPENCASCADE)
+ $(cmake-utils_use p4est DEAL_II_WITH_P4EST)
+ $(cmake-utils_use parameter_gui DEAL_II_COMPONENT_PARAMETER_GUI)
+ $(cmake-utils_use petsc DEAL_II_WITH_PETSC)
+ $(cmake-utils_use sparse DEAL_II_WITH_UMFPACK)
+ $(cmake-utils_use !static-libs BUILD_SHARED_LIBS)
+ $(cmake-utils_use static-libs DEAL_II_PREFER_STATIC_LIBS)
+ $(cmake-utils_use tbb DEAL_II_WITH_THREADS)
+ $(cmake-utils_use trilinos DEAL_II_WITH_TRILINOS)
+ )
+ cmake-utils_src_configure
+}
+
+src_install() {
+ if use doc && [[ ${PV} != *9999* ]]; then
+ # copy missing images to the build directory:
+ cp -r "${WORKDIR}"/doc/doxygen/deal.II/images \
+ "${BUILD_DIR}"/doc/doxygen/deal.II || die
+ # replace links:
+ sed -i \
+ 's#"http://www.dealii.org/images/steps/developer/\(step-.*\)"#"images/\1"#g' \
+ "${BUILD_DIR}"/doc/doxygen/deal.II/step_*.html || die "sed failed"
+ fi
+ cmake-utils_src_install
+
+ # decompress the installed example sources:
+ use examples && docompress -x /usr/share/doc/${PF}/examples
+}
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/dealii/
@ 2015-08-03 12:35 Justin Lecher
0 siblings, 0 replies; 53+ messages in thread
From: Justin Lecher @ 2015-08-03 12:35 UTC (permalink / raw
To: gentoo-commits
commit: db2c4d1fc8a245e62a681dc3e2ea02f6436d0f31
Author: Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 2 21:14:10 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sun Aug 2 21:14:10 2015 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=db2c4d1f
sci-libs/dealii - drop superseded version
Package-Manager: portage-2.2.20
sci-libs/dealii/ChangeLog | 3 +++
sci-libs/dealii/dealii-8.2.0.ebuild | 1 -
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/sci-libs/dealii/ChangeLog b/sci-libs/dealii/ChangeLog
index 7bd82a8..8e8e314 100644
--- a/sci-libs/dealii/ChangeLog
+++ b/sci-libs/dealii/ChangeLog
@@ -2,6 +2,9 @@
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 02 Aug 2015; Matthias Maier <tamiko@gentoo.org> -dealii-8.2.0.ebuild:
+ sci-libs/dealii - drop superseded version
+
*dealii-8.3.0 (02 Aug 2015)
02 Aug 2015; Matthias Maier <tamiko@gentoo.org> +dealii-8.3.0.ebuild:
diff --git a/sci-libs/dealii/dealii-8.2.0.ebuild b/sci-libs/dealii/dealii-8.2.0.ebuild
deleted file mode 120000
index c0e321c..0000000
--- a/sci-libs/dealii/dealii-8.2.0.ebuild
+++ /dev/null
@@ -1 +0,0 @@
-dealii-8.2.1-r1.ebuild
\ No newline at end of file
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/dealii/
@ 2015-07-10 3:59 Nicolas Bock
0 siblings, 0 replies; 53+ messages in thread
From: Nicolas Bock @ 2015-07-10 3:59 UTC (permalink / raw
To: gentoo-commits
commit: a54c1f382fcfa7efa82231aef8545fcb6e2af72e
Author: Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 3 15:22:34 2015 +0000
Commit: Nicolas Bock <nicolasbock <AT> gentoo <DOT> org>
CommitDate: Fri Jul 3 15:22:34 2015 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=a54c1f38
sci-libs/dealii - change the recorded version and soversion in the live build
Package-Manager: portage-2.2.18
sci-libs/dealii/ChangeLog | 3 +++
sci-libs/dealii/dealii-9999.ebuild | 1 +
2 files changed, 4 insertions(+)
diff --git a/sci-libs/dealii/ChangeLog b/sci-libs/dealii/ChangeLog
index c900cbe..33cdaaa 100644
--- a/sci-libs/dealii/ChangeLog
+++ b/sci-libs/dealii/ChangeLog
@@ -2,6 +2,9 @@
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 03 Jul 2015; Matthias Maier <tamiko@gentoo.org> dealii-9999.ebuild:
+ sci-libs/dealii - change the recorded version and soversion in the live build
+
06 Jun 2015; Justin Lecher <jlec@gentoo.org> dealii-8.1.0-r2.ebuild,
dealii-8.2.1-r1.ebuild, dealii-9999.ebuild:
sci-libs/dealii: Add SLOT operators
diff --git a/sci-libs/dealii/dealii-9999.ebuild b/sci-libs/dealii/dealii-9999.ebuild
index c00c383..f2617a7 100644
--- a/sci-libs/dealii/dealii-9999.ebuild
+++ b/sci-libs/dealii/dealii-9999.ebuild
@@ -68,6 +68,7 @@ src_configure() {
local CMAKE_BUILD_TYPE=$(usex debug DebugRelease Release)
local mycmakeargs=(
+ -DDEAL_II_PACKAGE_VERSION=9999
-DDEAL_II_ALLOW_AUTODETECTION=OFF
-DDEAL_II_ALLOW_BUNDLED=OFF
-DDEAL_II_ALLOW_PLATFORM_INTROSPECTION=OFF
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/dealii/
@ 2015-06-06 10:23 Justin Lecher
0 siblings, 0 replies; 53+ messages in thread
From: Justin Lecher @ 2015-06-06 10:23 UTC (permalink / raw
To: gentoo-commits
commit: 8f0156879d6ff60217e57f79200e54d4771402a5
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 6 10:17:10 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sat Jun 6 10:17:10 2015 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=8f015687
sci-libs/dealii: Add SLOT operators
Package-Manager: portage-2.2.20
sci-libs/dealii/ChangeLog | 4 ++++
sci-libs/dealii/dealii-8.1.0-r2.ebuild | 2 +-
sci-libs/dealii/dealii-8.2.1-r1.ebuild | 4 ++--
sci-libs/dealii/dealii-9999.ebuild | 4 ++--
4 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/sci-libs/dealii/ChangeLog b/sci-libs/dealii/ChangeLog
index e54131d..c900cbe 100644
--- a/sci-libs/dealii/ChangeLog
+++ b/sci-libs/dealii/ChangeLog
@@ -2,6 +2,10 @@
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 06 Jun 2015; Justin Lecher <jlec@gentoo.org> dealii-8.1.0-r2.ebuild,
+ dealii-8.2.1-r1.ebuild, dealii-9999.ebuild:
+ sci-libs/dealii: Add SLOT operators
+
06 Jun 2015; Justin Lecher <jlec@gentoo.org> metadata.xml:
sci-libs/dealii: Add github to remote-id in metadata.xml
diff --git a/sci-libs/dealii/dealii-8.1.0-r2.ebuild b/sci-libs/dealii/dealii-8.1.0-r2.ebuild
index e1bce5e..0703aa8 100644
--- a/sci-libs/dealii/dealii-8.1.0-r2.ebuild
+++ b/sci-libs/dealii/dealii-8.1.0-r2.ebuild
@@ -46,7 +46,7 @@ RDEPEND="dev-libs/boost
mumps? ( sci-libs/mumps[mpi] )
netcdf? ( sci-libs/netcdf-cxx:0 )
p4est? ( sci-libs/p4est[mpi] )
- parameter_gui? ( dev-qt/qtgui )
+ parameter_gui? ( dev-qt/qtgui:4 )
petsc? ( sci-mathematics/petsc[mpi=] )
sparse? ( sci-libs/umfpack )
tbb? ( dev-cpp/tbb )
diff --git a/sci-libs/dealii/dealii-8.2.1-r1.ebuild b/sci-libs/dealii/dealii-8.2.1-r1.ebuild
index 145cb29..331dd0d 100644
--- a/sci-libs/dealii/dealii-8.2.1-r1.ebuild
+++ b/sci-libs/dealii/dealii-8.2.1-r1.ebuild
@@ -53,9 +53,9 @@ RDEPEND="dev-libs/boost
mumps? ( sci-libs/mumps[mpi] )
muparser? ( dev-cpp/muParser )
netcdf? ( sci-libs/netcdf-cxx:0 )
- opencascade? ( sci-libs/opencascade )
+ opencascade? ( sci-libs/opencascade:* )
p4est? ( sci-libs/p4est[mpi] )
- parameter_gui? ( dev-qt/qtgui )
+ parameter_gui? ( dev-qt/qtgui:4 )
petsc? ( sci-mathematics/petsc[mpi=] )
sparse? ( sci-libs/umfpack )
tbb? ( dev-cpp/tbb )
diff --git a/sci-libs/dealii/dealii-9999.ebuild b/sci-libs/dealii/dealii-9999.ebuild
index dc83602..c00c383 100644
--- a/sci-libs/dealii/dealii-9999.ebuild
+++ b/sci-libs/dealii/dealii-9999.ebuild
@@ -51,9 +51,9 @@ RDEPEND="dev-libs/boost
mpi? ( virtual/mpi )
muparser? ( dev-cpp/muParser )
netcdf? ( sci-libs/netcdf-cxx:0 )
- opencascade? ( sci-libs/opencascade )
+ opencascade? ( sci-libs/opencascade:* )
p4est? ( sci-libs/p4est[mpi] )
- parameter_gui? ( dev-qt/qtgui )
+ parameter_gui? ( dev-qt/qtgui:4 )
petsc? ( sci-mathematics/petsc[mpi=] )
sparse? ( sci-libs/umfpack )
tbb? ( dev-cpp/tbb )
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/dealii/
@ 2015-06-06 10:23 Justin Lecher
0 siblings, 0 replies; 53+ messages in thread
From: Justin Lecher @ 2015-06-06 10:23 UTC (permalink / raw
To: gentoo-commits
commit: f982dec0881d385c785a2490b1fde95276567eac
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 6 10:14:35 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sat Jun 6 10:14:35 2015 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=f982dec0
sci-libs/dealii: Add github to remote-id in metadata.xml
Package-Manager: portage-2.2.20
sci-libs/dealii/ChangeLog | 3 +++
sci-libs/dealii/metadata.xml | 3 +++
2 files changed, 6 insertions(+)
diff --git a/sci-libs/dealii/ChangeLog b/sci-libs/dealii/ChangeLog
index b3491fe..e54131d 100644
--- a/sci-libs/dealii/ChangeLog
+++ b/sci-libs/dealii/ChangeLog
@@ -2,6 +2,9 @@
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 06 Jun 2015; Justin Lecher <jlec@gentoo.org> metadata.xml:
+ sci-libs/dealii: Add github to remote-id in metadata.xml
+
*dealii-8.2.1-r1 (28 Mar 2015)
28 Mar 2015; Matthias Maier <tamiko@gentoo.org> +dealii-8.2.1-r1.ebuild,
diff --git a/sci-libs/dealii/metadata.xml b/sci-libs/dealii/metadata.xml
index e838dc1..bce7b01 100644
--- a/sci-libs/dealii/metadata.xml
+++ b/sci-libs/dealii/metadata.xml
@@ -31,4 +31,7 @@ and extra output. If you want to get meaningful backtraces see
<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>
</use>
+ <upstream>
+ <remote-id type="github">dealii/dealii</remote-id>
+ </upstream>
</pkgmetadata>
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/dealii/
@ 2015-03-29 10:24 Justin Lecher
0 siblings, 0 replies; 53+ messages in thread
From: Justin Lecher @ 2015-03-29 10:24 UTC (permalink / raw
To: gentoo-commits
commit: 4aa0c216d21f74e01eb3c80a7d757bb36d6b9d40
Author: Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 28 21:52:38 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sat Mar 28 21:52:38 2015 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=4aa0c216
sci-libs/dealii: Ebuild maintenance, remove wrong avx2 use flag
Package-Manager: portage-2.2.15
sci-libs/dealii/ChangeLog | 7 +++++++
sci-libs/dealii/dealii-8.1.0-r2.ebuild | 2 +-
sci-libs/dealii/dealii-8.2.0.ebuild | 2 +-
.../dealii/{dealii-8.2.1.ebuild => dealii-8.2.1-r1.ebuild} | 10 ++++------
sci-libs/dealii/dealii-9999.ebuild | 10 ++++------
5 files changed, 17 insertions(+), 14 deletions(-)
diff --git a/sci-libs/dealii/ChangeLog b/sci-libs/dealii/ChangeLog
index 1b5b46a..b3491fe 100644
--- a/sci-libs/dealii/ChangeLog
+++ b/sci-libs/dealii/ChangeLog
@@ -2,6 +2,13 @@
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+*dealii-8.2.1-r1 (28 Mar 2015)
+
+ 28 Mar 2015; Matthias Maier <tamiko@gentoo.org> +dealii-8.2.1-r1.ebuild,
+ -dealii-8.2.1.ebuild, dealii-8.1.0-r2.ebuild, dealii-8.2.0.ebuild,
+ dealii-9999.ebuild:
+ sci-libs/dealii: Ebuild maintenance, remove wrong avx2 use flag
+
29 Jan 2015; Matthias Maier <tamiko@gentoo.org> dealii-8.1.0-r2.ebuild,
dealii-8.2.1.ebuild, dealii-9999.ebuild, metadata.xml:
Convert to CPU_FLAGS_X86
diff --git a/sci-libs/dealii/dealii-8.1.0-r2.ebuild b/sci-libs/dealii/dealii-8.1.0-r2.ebuild
index 7e174ff..e1bce5e 100644
--- a/sci-libs/dealii/dealii-8.1.0-r2.ebuild
+++ b/sci-libs/dealii/dealii-8.1.0-r2.ebuild
@@ -44,7 +44,7 @@ RDEPEND="dev-libs/boost
metis? ( >=sci-libs/parmetis-4 )
mpi? ( virtual/mpi )
mumps? ( sci-libs/mumps[mpi] )
- netcdf? ( || ( <sci-libs/netcdf-4.2[cxx] sci-libs/netcdf-cxx ) )
+ netcdf? ( sci-libs/netcdf-cxx:0 )
p4est? ( sci-libs/p4est[mpi] )
parameter_gui? ( dev-qt/qtgui )
petsc? ( sci-mathematics/petsc[mpi=] )
diff --git a/sci-libs/dealii/dealii-8.2.0.ebuild b/sci-libs/dealii/dealii-8.2.0.ebuild
index e7cf681..c0e321c 120000
--- a/sci-libs/dealii/dealii-8.2.0.ebuild
+++ b/sci-libs/dealii/dealii-8.2.0.ebuild
@@ -1 +1 @@
-dealii-8.2.1.ebuild
\ No newline at end of file
+dealii-8.2.1-r1.ebuild
\ No newline at end of file
diff --git a/sci-libs/dealii/dealii-8.2.1.ebuild b/sci-libs/dealii/dealii-8.2.1-r1.ebuild
similarity index 92%
rename from sci-libs/dealii/dealii-8.2.1.ebuild
rename to sci-libs/dealii/dealii-8.2.1-r1.ebuild
index 07c31a3..145cb29 100644
--- a/sci-libs/dealii/dealii-8.2.1.ebuild
+++ b/sci-libs/dealii/dealii-8.2.1-r1.ebuild
@@ -31,10 +31,9 @@ fi
LICENSE="LGPL-2.1+"
SLOT="0"
IUSE="
- arpack cpu_flags_x86_avx cpu_flags_x86_avx2 cpu_flags_x86_sse2 c++11
- +debug doc +examples hdf5 +lapack mesh_converter metis mpi mumps
- muparser opencascade netcdf p4est parameter_gui petsc +sparse
- static-libs +tbb trilinos
+ arpack cpu_flags_x86_avx cpu_flags_x86_sse2 c++11 +debug doc +examples
+ hdf5 +lapack mesh_converter metis mpi mumps muparser opencascade netcdf
+ p4est parameter_gui petsc +sparse static-libs +tbb trilinos
"
# TODO: add slepc use flag once slepc is packaged for gentoo-science
@@ -53,7 +52,7 @@ RDEPEND="dev-libs/boost
mpi? ( virtual/mpi )
mumps? ( sci-libs/mumps[mpi] )
muparser? ( dev-cpp/muParser )
- netcdf? ( || ( <sci-libs/netcdf-4.2[cxx] sci-libs/netcdf-cxx ) )
+ netcdf? ( sci-libs/netcdf-cxx:0 )
opencascade? ( sci-libs/opencascade )
p4est? ( sci-libs/p4est[mpi] )
parameter_gui? ( dev-qt/qtgui )
@@ -86,7 +85,6 @@ src_configure() {
$(cmake-utils_use arpack DEAL_II_WITH_ARPACK)
$(cmake-utils_use c++11 DEAL_II_WITH_CXX11)
$(cmake-utils_use cpu_flags_x86_avx DEAL_II_HAVE_AVX)
- $(cmake-utils_use cpu_flags_x86_avx2 DEAL_II_HAVE_AVX512)
$(cmake-utils_use cpu_flags_x86_sse2 DEAL_II_HAVE_SSE2)
$(cmake-utils_use doc DEAL_II_COMPONENT_DOCUMENTATION)
$(cmake-utils_use examples DEAL_II_COMPONENT_EXAMPLES)
diff --git a/sci-libs/dealii/dealii-9999.ebuild b/sci-libs/dealii/dealii-9999.ebuild
index 2774e75..dc83602 100644
--- a/sci-libs/dealii/dealii-9999.ebuild
+++ b/sci-libs/dealii/dealii-9999.ebuild
@@ -31,10 +31,9 @@ fi
LICENSE="LGPL-2.1+"
SLOT="0"
IUSE="
- arpack cpu_flags_x86_avx cpu_flags_x86_avx2 cpu_flags_x86_sse2 c++11
- +debug doc +examples hdf5 +lapack mesh_converter metis mpi muparser
- opencascade netcdf p4est parameter_gui petsc +sparse static-libs +tbb
- trilinos
+ arpack cpu_flags_x86_avx cpu_flags_x86_sse2 c++11 +debug doc +examples
+ hdf5 +lapack mesh_converter metis mpi muparser opencascade
+ netcdf p4est parameter_gui petsc +sparse static-libs +tbb trilinos
"
# TODO: add slepc use flag once slepc is packaged for gentoo-science
@@ -51,7 +50,7 @@ RDEPEND="dev-libs/boost
metis? ( >=sci-libs/parmetis-4 )
mpi? ( virtual/mpi )
muparser? ( dev-cpp/muParser )
- netcdf? ( || ( <sci-libs/netcdf-4.2[cxx] sci-libs/netcdf-cxx ) )
+ netcdf? ( sci-libs/netcdf-cxx:0 )
opencascade? ( sci-libs/opencascade )
p4est? ( sci-libs/p4est[mpi] )
parameter_gui? ( dev-qt/qtgui )
@@ -82,7 +81,6 @@ src_configure() {
$(cmake-utils_use arpack DEAL_II_WITH_ARPACK)
$(cmake-utils_use c++11 DEAL_II_WITH_CXX11)
$(cmake-utils_use cpu_flags_x86_avx DEAL_II_HAVE_AVX)
- $(cmake-utils_use cpu_flags_x86_avx2 DEAL_II_HAVE_AVX512)
$(cmake-utils_use cpu_flags_x86_sse2 DEAL_II_HAVE_SSE2)
$(cmake-utils_use doc DEAL_II_COMPONENT_DOCUMENTATION)
$(cmake-utils_use examples DEAL_II_COMPONENT_EXAMPLES)
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/dealii/
@ 2015-01-22 0:09 Christoph Junghans
0 siblings, 0 replies; 53+ messages in thread
From: Christoph Junghans @ 2015-01-22 0:09 UTC (permalink / raw
To: gentoo-commits
commit: 11d49866c3b6fee9082c6d34f8ff1d1ddb427a93
Author: Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 21 18:06:23 2015 +0000
Commit: Christoph Junghans <ottxor <AT> gentoo <DOT> org>
CommitDate: Wed Jan 21 18:06:23 2015 +0000
URL: http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=11d49866
sci-libs/dealii - update live ebuild
Package-Manager: portage-2.2.15
---
sci-libs/dealii/ChangeLog | 3 +++
sci-libs/dealii/dealii-9999.ebuild | 10 ++++------
2 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/sci-libs/dealii/ChangeLog b/sci-libs/dealii/ChangeLog
index 47c62f1..c307156 100644
--- a/sci-libs/dealii/ChangeLog
+++ b/sci-libs/dealii/ChangeLog
@@ -2,6 +2,9 @@
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 21 Jan 2015; Matthias Maier <tamiko@gentoo.org> dealii-9999.ebuild:
+ sci-libs/dealii - update live ebuild
+
*dealii-8.2.1 (14 Jan 2015)
14 Jan 2015; Matthias Maier <tamiko@gentoo.org> +dealii-8.2.1.ebuild,
diff --git a/sci-libs/dealii/dealii-9999.ebuild b/sci-libs/dealii/dealii-9999.ebuild
index 5894b44..1716b48 100644
--- a/sci-libs/dealii/dealii-9999.ebuild
+++ b/sci-libs/dealii/dealii-9999.ebuild
@@ -72,12 +72,10 @@ src_configure() {
-DDEAL_II_ALLOW_BUNDLED=OFF
-DDEAL_II_ALLOW_PLATFORM_INTROSPECTION=OFF
-DCMAKE_INSTALL_RPATH_USE_LINK_PATH=OFF
- -DDEAL_II_COMPONENT_COMPAT_FILES=OFF
- -DDEAL_II_CMAKE_MACROS_RELDIR=share/${PN}/cmake/macros
- -DDEAL_II_DOCHTML_RELDIR=share/doc/${PF}/html
- -DDEAL_II_DOCREADME_RELDIR=share/doc/${PF}/
- -DDEAL_II_EXAMPLES_RELDIR=share/doc/${PF}/examples
- -DDEAL_II_LIBRARY_RELDIR=$(get_libdir)
+ -DDEAL_II_LIBRARY_RELDIR="$(get_libdir)"
+ -DCMAKE_SHARE_RELDIR="share/${PN}"
+ -DDEAL_II_DOCREADME_RELDIR="share/doc/${P}"
+ -DDEAL_II_EXAMPLES_RELDIR="share/doc/${P}/examples"
-DDEAL_II_WITH_BZIP2=ON
-DDEAL_II_WITH_ZLIB=ON
$(cmake-utils_use arpack DEAL_II_WITH_ARPACK)
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/dealii/
@ 2015-01-22 0:09 Christoph Junghans
0 siblings, 0 replies; 53+ messages in thread
From: Christoph Junghans @ 2015-01-22 0:09 UTC (permalink / raw
To: gentoo-commits
commit: 9e24f8dfa38efc1e727175425552d03f67d0b6ce
Author: Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 21 18:09:32 2015 +0000
Commit: Christoph Junghans <ottxor <AT> gentoo <DOT> org>
CommitDate: Wed Jan 21 18:09:32 2015 +0000
URL: http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=9e24f8df
sci-libs/dealii - fix typo in live ebuild
Package-Manager: portage-2.2.15
---
sci-libs/dealii/ChangeLog | 3 +++
sci-libs/dealii/dealii-9999.ebuild | 2 +-
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/sci-libs/dealii/ChangeLog b/sci-libs/dealii/ChangeLog
index c307156..7a8398c 100644
--- a/sci-libs/dealii/ChangeLog
+++ b/sci-libs/dealii/ChangeLog
@@ -3,6 +3,9 @@
# $Header: $
21 Jan 2015; Matthias Maier <tamiko@gentoo.org> dealii-9999.ebuild:
+ sci-libs/dealii - fix typo in live ebuild
+
+ 21 Jan 2015; Matthias Maier <tamiko@gentoo.org> dealii-9999.ebuild:
sci-libs/dealii - update live ebuild
*dealii-8.2.1 (14 Jan 2015)
diff --git a/sci-libs/dealii/dealii-9999.ebuild b/sci-libs/dealii/dealii-9999.ebuild
index 1716b48..01a7a1c 100644
--- a/sci-libs/dealii/dealii-9999.ebuild
+++ b/sci-libs/dealii/dealii-9999.ebuild
@@ -73,7 +73,7 @@ src_configure() {
-DDEAL_II_ALLOW_PLATFORM_INTROSPECTION=OFF
-DCMAKE_INSTALL_RPATH_USE_LINK_PATH=OFF
-DDEAL_II_LIBRARY_RELDIR="$(get_libdir)"
- -DCMAKE_SHARE_RELDIR="share/${PN}"
+ -DDEAL_II_SHARE_RELDIR="share/${PN}"
-DDEAL_II_DOCREADME_RELDIR="share/doc/${P}"
-DDEAL_II_EXAMPLES_RELDIR="share/doc/${P}/examples"
-DDEAL_II_WITH_BZIP2=ON
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/dealii/
@ 2015-01-15 6:53 Justin Lecher
0 siblings, 0 replies; 53+ messages in thread
From: Justin Lecher @ 2015-01-15 6:53 UTC (permalink / raw
To: gentoo-commits
commit: e9c888a873563ea5b1fe98e3ea2d3c501453fc10
Author: Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 14 23:50:33 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Thu Jan 15 06:52:56 2015 +0000
URL: http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=e9c888a8
sci-libs/dealii - version bump; update live build
Package-Manager: portage-2.2.15
---
sci-libs/dealii/ChangeLog | 8 +++++++-
sci-libs/dealii/dealii-8.2.0.ebuild | 2 +-
sci-libs/dealii/{dealii-9999.ebuild => dealii-8.2.1.ebuild} | 2 +-
sci-libs/dealii/dealii-9999.ebuild | 7 ++-----
4 files changed, 11 insertions(+), 8 deletions(-)
diff --git a/sci-libs/dealii/ChangeLog b/sci-libs/dealii/ChangeLog
index 40e7c68..47c62f1 100644
--- a/sci-libs/dealii/ChangeLog
+++ b/sci-libs/dealii/ChangeLog
@@ -1,7 +1,13 @@
# ChangeLog for sci-libs/dealii
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+*dealii-8.2.1 (14 Jan 2015)
+
+ 14 Jan 2015; Matthias Maier <tamiko@gentoo.org> +dealii-8.2.1.ebuild,
+ dealii-8.2.0.ebuild, dealii-9999.ebuild:
+ sci-libs/dealii - version bump; update live build
+
24 Dec 2014; Matthias Maier <tamiko@gentoo.org> dealii-9999.ebuild:
fix installation
diff --git a/sci-libs/dealii/dealii-8.2.0.ebuild b/sci-libs/dealii/dealii-8.2.0.ebuild
index 9860d7b..e7cf681 120000
--- a/sci-libs/dealii/dealii-8.2.0.ebuild
+++ b/sci-libs/dealii/dealii-8.2.0.ebuild
@@ -1 +1 @@
-dealii-9999.ebuild
\ No newline at end of file
+dealii-8.2.1.ebuild
\ No newline at end of file
diff --git a/sci-libs/dealii/dealii-9999.ebuild b/sci-libs/dealii/dealii-8.2.1.ebuild
similarity index 99%
copy from sci-libs/dealii/dealii-9999.ebuild
copy to sci-libs/dealii/dealii-8.2.1.ebuild
index 09a8683..2aff619 100644
--- a/sci-libs/dealii/dealii-9999.ebuild
+++ b/sci-libs/dealii/dealii-8.2.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
diff --git a/sci-libs/dealii/dealii-9999.ebuild b/sci-libs/dealii/dealii-9999.ebuild
index 09a8683..5894b44 100644
--- a/sci-libs/dealii/dealii-9999.ebuild
+++ b/sci-libs/dealii/dealii-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
@@ -32,13 +32,12 @@ LICENSE="LGPL-2.1+"
SLOT="0"
IUSE="
arpack avx c++11 +debug doc +examples hdf5 +lapack mesh_converter metis
- mpi mumps muparser opencascade netcdf p4est parameter_gui petsc +sparse
+ mpi muparser opencascade netcdf p4est parameter_gui petsc +sparse
sse2 static-libs +tbb trilinos
"
# TODO: add slepc use flag once slepc is packaged for gentoo-science
REQUIRED_USE="
- mumps? ( mpi lapack )
p4est? ( mpi )
trilinos? ( mpi )"
@@ -50,7 +49,6 @@ RDEPEND="dev-libs/boost
lapack? ( virtual/lapack )
metis? ( >=sci-libs/parmetis-4 )
mpi? ( virtual/mpi )
- mumps? ( sci-libs/mumps[mpi] )
muparser? ( dev-cpp/muParser )
netcdf? ( || ( <sci-libs/netcdf-4.2[cxx] sci-libs/netcdf-cxx ) )
opencascade? ( sci-libs/opencascade )
@@ -92,7 +90,6 @@ src_configure() {
$(cmake-utils_use mesh_converter DEAL_II_COMPONENT_MESH_CONVERTER)
$(cmake-utils_use metis DEAL_II_WITH_METIS)
$(cmake-utils_use mpi DEAL_II_WITH_MPI)
- $(cmake-utils_use mumps DEAL_II_WITH_MUMPS)
$(cmake-utils_use muparser DEAL_II_WITH_MUPARSER)
$(cmake-utils_use netcdf DEAL_II_WITH_NETCDF)
-DOPENCASCADE_DIR="${CASROOT}"
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/dealii/
@ 2015-01-15 6:53 Justin Lecher
0 siblings, 0 replies; 53+ messages in thread
From: Justin Lecher @ 2015-01-15 6:53 UTC (permalink / raw
To: gentoo-commits
commit: 5e7ef7fa90189bf6dd0200776f6d73862ccdc8e0
Author: Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 14 23:50:33 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Wed Jan 14 23:50:33 2015 +0000
URL: http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=5e7ef7fa
sci-libs/dealii - version bump; update live build
Package-Manager: portage-2.2.15
---
sci-libs/dealii/ChangeLog | 8 +++++++-
sci-libs/dealii/dealii-8.2.0.ebuild | 2 +-
sci-libs/dealii/{dealii-9999.ebuild => dealii-8.2.1.ebuild} | 2 +-
sci-libs/dealii/dealii-9999.ebuild | 7 ++-----
4 files changed, 11 insertions(+), 8 deletions(-)
diff --git a/sci-libs/dealii/ChangeLog b/sci-libs/dealii/ChangeLog
index 40e7c68..47c62f1 100644
--- a/sci-libs/dealii/ChangeLog
+++ b/sci-libs/dealii/ChangeLog
@@ -1,7 +1,13 @@
# ChangeLog for sci-libs/dealii
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+*dealii-8.2.1 (14 Jan 2015)
+
+ 14 Jan 2015; Matthias Maier <tamiko@gentoo.org> +dealii-8.2.1.ebuild,
+ dealii-8.2.0.ebuild, dealii-9999.ebuild:
+ sci-libs/dealii - version bump; update live build
+
24 Dec 2014; Matthias Maier <tamiko@gentoo.org> dealii-9999.ebuild:
fix installation
diff --git a/sci-libs/dealii/dealii-8.2.0.ebuild b/sci-libs/dealii/dealii-8.2.0.ebuild
index 9860d7b..e7cf681 120000
--- a/sci-libs/dealii/dealii-8.2.0.ebuild
+++ b/sci-libs/dealii/dealii-8.2.0.ebuild
@@ -1 +1 @@
-dealii-9999.ebuild
\ No newline at end of file
+dealii-8.2.1.ebuild
\ No newline at end of file
diff --git a/sci-libs/dealii/dealii-9999.ebuild b/sci-libs/dealii/dealii-8.2.1.ebuild
similarity index 99%
copy from sci-libs/dealii/dealii-9999.ebuild
copy to sci-libs/dealii/dealii-8.2.1.ebuild
index 09a8683..2aff619 100644
--- a/sci-libs/dealii/dealii-9999.ebuild
+++ b/sci-libs/dealii/dealii-8.2.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
diff --git a/sci-libs/dealii/dealii-9999.ebuild b/sci-libs/dealii/dealii-9999.ebuild
index 09a8683..5894b44 100644
--- a/sci-libs/dealii/dealii-9999.ebuild
+++ b/sci-libs/dealii/dealii-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
@@ -32,13 +32,12 @@ LICENSE="LGPL-2.1+"
SLOT="0"
IUSE="
arpack avx c++11 +debug doc +examples hdf5 +lapack mesh_converter metis
- mpi mumps muparser opencascade netcdf p4est parameter_gui petsc +sparse
+ mpi muparser opencascade netcdf p4est parameter_gui petsc +sparse
sse2 static-libs +tbb trilinos
"
# TODO: add slepc use flag once slepc is packaged for gentoo-science
REQUIRED_USE="
- mumps? ( mpi lapack )
p4est? ( mpi )
trilinos? ( mpi )"
@@ -50,7 +49,6 @@ RDEPEND="dev-libs/boost
lapack? ( virtual/lapack )
metis? ( >=sci-libs/parmetis-4 )
mpi? ( virtual/mpi )
- mumps? ( sci-libs/mumps[mpi] )
muparser? ( dev-cpp/muParser )
netcdf? ( || ( <sci-libs/netcdf-4.2[cxx] sci-libs/netcdf-cxx ) )
opencascade? ( sci-libs/opencascade )
@@ -92,7 +90,6 @@ src_configure() {
$(cmake-utils_use mesh_converter DEAL_II_COMPONENT_MESH_CONVERTER)
$(cmake-utils_use metis DEAL_II_WITH_METIS)
$(cmake-utils_use mpi DEAL_II_WITH_MPI)
- $(cmake-utils_use mumps DEAL_II_WITH_MUMPS)
$(cmake-utils_use muparser DEAL_II_WITH_MUPARSER)
$(cmake-utils_use netcdf DEAL_II_WITH_NETCDF)
-DOPENCASCADE_DIR="${CASROOT}"
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/dealii/
@ 2015-01-01 15:26 Andrew Savchenko
0 siblings, 0 replies; 53+ messages in thread
From: Andrew Savchenko @ 2015-01-01 15:26 UTC (permalink / raw
To: gentoo-commits
commit: ce6d2d586760b4651d02672758949bc9317c83e2
Author: Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 1 13:22:24 2015 +0000
Commit: Andrew Savchenko <bircoph <AT> gmail <DOT> com>
CommitDate: Thu Jan 1 13:22:24 2015 +0000
URL: http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=ce6d2d58
version bump
---
sci-libs/dealii/{dealii-8.2.0_rc2.ebuild => dealii-8.2.0.ebuild} | 0
sci-libs/dealii/dealii-9999.ebuild | 5 ++++-
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/sci-libs/dealii/dealii-8.2.0_rc2.ebuild b/sci-libs/dealii/dealii-8.2.0.ebuild
similarity index 100%
rename from sci-libs/dealii/dealii-8.2.0_rc2.ebuild
rename to sci-libs/dealii/dealii-8.2.0.ebuild
diff --git a/sci-libs/dealii/dealii-9999.ebuild b/sci-libs/dealii/dealii-9999.ebuild
index a4bbdea..09a8683 100644
--- a/sci-libs/dealii/dealii-9999.ebuild
+++ b/sci-libs/dealii/dealii-9999.ebuild
@@ -20,7 +20,10 @@ else
SRC_URI="https://github.com/dealii/dealii/archive/v${MY_PV}.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 )"
+ -> ${P}-offline_documentation.tar.gz
+ http://ganymed.iwr.uni-heidelberg.de/~maier/dealii/releases/${MY_P}-offline_documentation.tar.gz
+ -> ${P}-offline_documentation.tar.gz
+ )"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
S="${WORKDIR}/${PN}-${MY_PV}"
fi
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/dealii/
@ 2014-12-24 18:54 Christoph Junghans
0 siblings, 0 replies; 53+ messages in thread
From: Christoph Junghans @ 2014-12-24 18:54 UTC (permalink / raw
To: gentoo-commits
commit: 7683d8ca3b693cbf57b7f7be013f9a5fe7705983
Author: Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 24 15:59:32 2014 +0000
Commit: Christoph Junghans <ottxor <AT> gentoo <DOT> org>
CommitDate: Wed Dec 24 15:59:32 2014 +0000
URL: http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=7683d8ca
version bump; ebuild maintenance; fix SRC_URI
Package-Manager: portage-2.2.15
---
sci-libs/dealii/ChangeLog | 8 +++
...alii-8.1.0-r1.ebuild => dealii-8.1.0-r2.ebuild} | 61 +++++++++----------
sci-libs/dealii/dealii-8.2.0_rc2.ebuild | 1 +
sci-libs/dealii/dealii-9999.ebuild | 69 ++++++++++++++--------
sci-libs/dealii/metadata.xml | 1 +
5 files changed, 81 insertions(+), 59 deletions(-)
diff --git a/sci-libs/dealii/ChangeLog b/sci-libs/dealii/ChangeLog
index 9253cf7..fe63a38 100644
--- a/sci-libs/dealii/ChangeLog
+++ b/sci-libs/dealii/ChangeLog
@@ -2,6 +2,14 @@
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+*dealii-8.1.0-r2 (24 Dec 2014)
+*dealii-8.2.0_rc2 (24 Dec 2014)
+
+ 24 Dec 2014; Matthias Maier <tamiko@gentoo.org> +dealii-8.1.0-r2.ebuild,
+ +dealii-8.2.0_rc2.ebuild, -dealii-8.1.0-r1.ebuild, dealii-9999.ebuild,
+ metadata.xml:
+ version bump; ebuild maintenance; fix SRC_URI
+
*dealii-8.1.0-r1 (14 Oct 2014)
14 Oct 2014; Matthias Maier <tamiko@gentoo.org> +dealii-8.1.0-r1.ebuild,
diff --git a/sci-libs/dealii/dealii-8.1.0-r1.ebuild b/sci-libs/dealii/dealii-8.1.0-r2.ebuild
similarity index 74%
rename from sci-libs/dealii/dealii-8.1.0-r1.ebuild
rename to sci-libs/dealii/dealii-8.1.0-r2.ebuild
index 548ea83..faf32b7 100644
--- a/sci-libs/dealii/dealii-8.1.0-r1.ebuild
+++ b/sci-libs/dealii/dealii-8.1.0-r2.ebuild
@@ -9,29 +9,35 @@ inherit cmake-utils eutils multilib
DESCRIPTION="Solving partial differential equations with the finite element method"
HOMEPAGE="http://www.dealii.org/"
-SRC_URI="
- https://dealii.googlecode.com/files/deal.II-${PV}.tar.gz
- doc? ( https://dealii.googlecode.com/files/deal.offlinedoc-${PV}.tar.gz )"
-S="${WORKDIR}/deal.II"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+if [[ ${PV} = *9999* ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="git://github.com/dealii/dealii.git"
+ SRC_URI=""
+ KEYWORDS=""
+else
+ SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.gz
+ doc? ( https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}-offline_documentation.tar.gz )"
+ KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+ S="${WORKDIR}/deal.II"
+fi
LICENSE="LGPL-2.1+"
SLOT="0"
IUSE="
arpack avx +debug doc +examples hdf5 +lapack mesh_converter metis mpi
- mumps netcdf p4est parameter_gui petsc +sparse sse2 static-libs +tbb
- trilinos +zlib
+ mumps netcdf p4est parameter_gui petsc +sparse
+ sse2 static-libs +tbb trilinos
"
# TODO: add slepc use flag once slepc is packaged for gentoo-science
REQUIRED_USE="
mumps? ( mpi lapack )
p4est? ( mpi )
- trilinos? ( mpi )
-"
+ trilinos? ( mpi )"
-RDEPEND="
- dev-libs/boost
+RDEPEND="dev-libs/boost
+ app-arch/bzip2
+ sys-libs/zlib
arpack? ( sci-libs/arpack[mpi=] )
hdf5? ( sci-libs/hdf5[mpi=] )
lapack? ( virtual/lapack )
@@ -44,30 +50,17 @@ RDEPEND="
petsc? ( sci-mathematics/petsc[mpi=] )
sparse? ( sci-libs/umfpack )
tbb? ( dev-cpp/tbb )
- trilinos? ( sci-libs/trilinos )
- zlib? ( sys-libs/zlib )
-"
+ trilinos? ( sci-libs/trilinos )"
-DEPEND="
- ${RDEPEND}
+DEPEND="${RDEPEND}
virtual/pkgconfig
- doc? ( app-doc/doxygen[dot] dev-lang/perl )
-"
-
-src_prepare() {
- epatch "${FILESDIR}"/dealii-8.1.0-p4est1.0-support.patch
-}
+ doc? ( app-doc/doxygen[dot] dev-lang/perl )"
src_configure() {
-
- if use debug; then
- CMAKE_BUILD_TYPE="DebugRelease"
- else
- CMAKE_BUILD_TYPE="Release"
- fi
+ # deal.II needs a custom build type:
+ local CMAKE_BUILD_TYPE=$(usex debug DebugRelease Release)
local mycmakeargs=(
- ${live_version}
-DDEAL_II_ALLOW_AUTODETECTION=OFF
-DDEAL_II_ALLOW_BUNDLED=OFF
-DDEAL_II_ALLOW_PLATFORM_INTROSPECTION=OFF
@@ -78,6 +71,8 @@ src_configure() {
-DDEAL_II_DOCREADME_RELDIR=share/doc/${PF}/
-DDEAL_II_EXAMPLES_RELDIR=share/doc/${PF}/examples
-DDEAL_II_LIBRARY_RELDIR=$(get_libdir)
+ -DDEAL_II_WITH_BZIP2=ON
+ -DDEAL_II_WITH_ZLIB=ON
$(cmake-utils_use arpack DEAL_II_WITH_ARPACK)
$(cmake-utils_use avx DEAL_II_HAVE_AVX)
$(cmake-utils_use doc DEAL_II_COMPONENT_DOCUMENTATION)
@@ -98,7 +93,6 @@ src_configure() {
$(cmake-utils_use static-libs DEAL_II_PREFER_STATIC_LIBS)
$(cmake-utils_use tbb DEAL_II_WITH_THREADS)
$(cmake-utils_use trilinos DEAL_II_WITH_TRILINOS)
- $(cmake-utils_use zlib DEAL_II_WITH_ZLIB)
)
cmake-utils_src_configure
}
@@ -106,9 +100,10 @@ src_configure() {
src_install() {
DOCS=( README )
- if use doc; then
+ if use doc && [[ ${PV} != *9999* ]]; then
# copy missing images to the build directory:
- cp -r "${WORKDIR}"/doc/doxygen/deal.II/images "${BUILD_DIR}"/doc/doxygen/deal.II || die
+ cp -r "${WORKDIR}"/doc/doxygen/deal.II/images \
+ "${BUILD_DIR}"/doc/doxygen/deal.II || die
# replace links:
sed -i \
's#"http://www.dealii.org/images/steps/developer/\(step-.*\)"#"images/\1"#g' \
@@ -116,6 +111,6 @@ src_install() {
fi
cmake-utils_src_install
- # unpack the installed example sources:
+ # decompress the installed example sources:
use examples && docompress -x /usr/share/doc/${PF}/examples
}
diff --git a/sci-libs/dealii/dealii-8.2.0_rc2.ebuild b/sci-libs/dealii/dealii-8.2.0_rc2.ebuild
new file mode 120000
index 0000000..9860d7b
--- /dev/null
+++ b/sci-libs/dealii/dealii-8.2.0_rc2.ebuild
@@ -0,0 +1 @@
+dealii-9999.ebuild
\ No newline at end of file
diff --git a/sci-libs/dealii/dealii-9999.ebuild b/sci-libs/dealii/dealii-9999.ebuild
index 30f3b70..654d0e6 100644
--- a/sci-libs/dealii/dealii-9999.ebuild
+++ b/sci-libs/dealii/dealii-9999.ebuild
@@ -4,31 +4,44 @@
EAPI=5
-inherit cmake-utils eutils multilib git-r3
+inherit cmake-utils eutils multilib
DESCRIPTION="Solving partial differential equations with the finite element method"
HOMEPAGE="http://www.dealii.org/"
-EGIT_REPO_URI="git://github.com/dealii/dealii.git"
-KEYWORDS=""
+if [[ ${PV} = *9999* ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="git://github.com/dealii/dealii.git"
+ SRC_URI=""
+ KEYWORDS=""
+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
+ doc? (
+ https://github.com/${PN}/${PN}/releases/download/v${MY_PV}/${MY_P}-offline_documentation.tar.gz
+ -> ${P}-offline_documentation.tar.gz )"
+ KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+ S="${WORKDIR}/${PN}-${MY_PV}"
+fi
LICENSE="LGPL-2.1+"
SLOT="0"
IUSE="
arpack avx c++11 +debug doc +examples hdf5 +lapack mesh_converter metis
- mpi mumps muparser netcdf p4est parameter_gui petsc +sparse sse2
- static-libs +tbb trilinos +zlib
+ mpi mumps muparser opencascade netcdf p4est parameter_gui petsc +sparse
+ sse2 static-libs +tbb trilinos
"
# TODO: add slepc use flag once slepc is packaged for gentoo-science
REQUIRED_USE="
mumps? ( mpi lapack )
p4est? ( mpi )
- trilinos? ( mpi )
-"
+ trilinos? ( mpi )"
-RDEPEND="
- dev-libs/boost
+RDEPEND="dev-libs/boost
+ app-arch/bzip2
+ sys-libs/zlib
arpack? ( sci-libs/arpack[mpi=] )
hdf5? ( sci-libs/hdf5[mpi=] )
lapack? ( virtual/lapack )
@@ -37,31 +50,23 @@ RDEPEND="
mumps? ( sci-libs/mumps[mpi] )
muparser? ( dev-cpp/muParser )
netcdf? ( || ( <sci-libs/netcdf-4.2[cxx] sci-libs/netcdf-cxx ) )
+ opencascade? ( sci-libs/opencascade )
p4est? ( sci-libs/p4est[mpi] )
parameter_gui? ( dev-qt/qtgui )
petsc? ( sci-mathematics/petsc[mpi=] )
sparse? ( sci-libs/umfpack )
tbb? ( dev-cpp/tbb )
- trilinos? ( sci-libs/trilinos )
- zlib? ( sys-libs/zlib )
-"
+ trilinos? ( sci-libs/trilinos )"
-DEPEND="
- ${RDEPEND}
+DEPEND="${RDEPEND}
virtual/pkgconfig
- doc? ( app-doc/doxygen[dot] dev-lang/perl )
-"
+ doc? ( app-doc/doxygen[dot] dev-lang/perl )"
src_configure() {
-
- if use debug; then
- CMAKE_BUILD_TYPE="DebugRelease"
- else
- CMAKE_BUILD_TYPE="Release"
- fi
+ # deal.II needs a custom build type:
+ local CMAKE_BUILD_TYPE=$(usex debug DebugRelease Release)
local mycmakeargs=(
- -DDEAL_II_PACKAGE_VERSION=99.99
-DDEAL_II_ALLOW_AUTODETECTION=OFF
-DDEAL_II_ALLOW_BUNDLED=OFF
-DDEAL_II_ALLOW_PLATFORM_INTROSPECTION=OFF
@@ -72,6 +77,8 @@ src_configure() {
-DDEAL_II_DOCREADME_RELDIR=share/doc/${PF}/
-DDEAL_II_EXAMPLES_RELDIR=share/doc/${PF}/examples
-DDEAL_II_LIBRARY_RELDIR=$(get_libdir)
+ -DDEAL_II_WITH_BZIP2=ON
+ -DDEAL_II_WITH_ZLIB=ON
$(cmake-utils_use arpack DEAL_II_WITH_ARPACK)
$(cmake-utils_use avx DEAL_II_HAVE_AVX)
$(cmake-utils_use c++11 DEAL_II_WITH_CXX11)
@@ -85,6 +92,8 @@ src_configure() {
$(cmake-utils_use mumps DEAL_II_WITH_MUMPS)
$(cmake-utils_use muparser DEAL_II_WITH_MUPARSER)
$(cmake-utils_use netcdf DEAL_II_WITH_NETCDF)
+ -DOPENCASCADE_DIR="${CASROOT}"
+ $(cmake-utils_use opencascade DEAL_II_WITH_OPENCASCADE)
$(cmake-utils_use p4est DEAL_II_WITH_P4EST)
$(cmake-utils_use parameter_gui DEAL_II_COMPONENT_PARAMETER_GUI)
$(cmake-utils_use petsc DEAL_II_WITH_PETSC)
@@ -94,16 +103,24 @@ src_configure() {
$(cmake-utils_use static-libs DEAL_II_PREFER_STATIC_LIBS)
$(cmake-utils_use tbb DEAL_II_WITH_THREADS)
$(cmake-utils_use trilinos DEAL_II_WITH_TRILINOS)
- $(cmake-utils_use zlib DEAL_II_WITH_ZLIB)
)
cmake-utils_src_configure
}
src_install() {
- DOCS=( README.md )
+ DOCS=( README )
+ if use doc && [[ ${PV} != *9999* ]]; then
+ # copy missing images to the build directory:
+ cp -r "${WORKDIR}"/doc/doxygen/deal.II/images \
+ "${BUILD_DIR}"/doc/doxygen/deal.II || die
+ # replace links:
+ sed -i \
+ 's#"http://www.dealii.org/images/steps/developer/\(step-.*\)"#"images/\1"#g' \
+ "${BUILD_DIR}"/doc/doxygen/deal.II/step_*.html || die "sed failed"
+ fi
cmake-utils_src_install
- # unpack the installed example sources:
+ # decompress the installed example sources:
use examples && docompress -x /usr/share/doc/${PF}/examples
}
diff --git a/sci-libs/dealii/metadata.xml b/sci-libs/dealii/metadata.xml
index 6f21d08..ac7226b 100644
--- a/sci-libs/dealii/metadata.xml
+++ b/sci-libs/dealii/metadata.xml
@@ -24,6 +24,7 @@ and extra output. If you want to get meaningful backtraces see
<flag name="metis">Add support for metis (<pkg>sci-libs/metis</pkg>)</flag>
<flag name="mumps">Add support for mumps (<pkg>sci-libs/mumps</pkg>)</flag>
<flag name="muparser">Add support for muparser (<pkg>dev-cpp/muParser</pkg>)</flag>
+ <flag name="opencascade">Add support for opencascade (<pkg>sci-libs/opencascade</pkg>)</flag>
<flag name="p4est">Add support for p4est (<pkg>sci-mathematics/p4est</pkg>)</flag>
<flag name="parameter_gui">Build and install the parameter_gui executable</flag>
<flag name="petsc">Add support for petsc (<pkg>sci-libs/petsc</pkg>)</flag>
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/dealii/
@ 2014-12-24 18:54 Christoph Junghans
0 siblings, 0 replies; 53+ messages in thread
From: Christoph Junghans @ 2014-12-24 18:54 UTC (permalink / raw
To: gentoo-commits
commit: d096be4fb263c2500bcadf5d8e1c557cb5307a9d
Author: Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 24 16:39:25 2014 +0000
Commit: Christoph Junghans <ottxor <AT> gentoo <DOT> org>
CommitDate: Wed Dec 24 16:39:25 2014 +0000
URL: http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=d096be4f
fix installation
Package-Manager: portage-2.2.15
---
sci-libs/dealii/ChangeLog | 3 +++
sci-libs/dealii/dealii-9999.ebuild | 2 --
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/sci-libs/dealii/ChangeLog b/sci-libs/dealii/ChangeLog
index fe63a38..40e7c68 100644
--- a/sci-libs/dealii/ChangeLog
+++ b/sci-libs/dealii/ChangeLog
@@ -2,6 +2,9 @@
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 24 Dec 2014; Matthias Maier <tamiko@gentoo.org> dealii-9999.ebuild:
+ fix installation
+
*dealii-8.1.0-r2 (24 Dec 2014)
*dealii-8.2.0_rc2 (24 Dec 2014)
diff --git a/sci-libs/dealii/dealii-9999.ebuild b/sci-libs/dealii/dealii-9999.ebuild
index 654d0e6..a4bbdea 100644
--- a/sci-libs/dealii/dealii-9999.ebuild
+++ b/sci-libs/dealii/dealii-9999.ebuild
@@ -108,8 +108,6 @@ src_configure() {
}
src_install() {
- DOCS=( README )
-
if use doc && [[ ${PV} != *9999* ]]; then
# copy missing images to the build directory:
cp -r "${WORKDIR}"/doc/doxygen/deal.II/images \
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/dealii/
@ 2014-08-25 22:43 Christoph Junghans
0 siblings, 0 replies; 53+ messages in thread
From: Christoph Junghans @ 2014-08-25 22:43 UTC (permalink / raw
To: gentoo-commits
commit: 12e974f004f7e7305377f53eaca21666c616f506
Author: Matthias Maier <tamiko <AT> kyomu <DOT> 43-1 <DOT> org>
AuthorDate: Thu Jul 24 23:07:07 2014 +0000
Commit: Christoph Junghans <ottxor <AT> gentoo <DOT> org>
CommitDate: Thu Jul 24 23:07:07 2014 +0000
URL: http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=12e974f0
Update repository to github, fix readme file change, add forgotten use-flag to metadata.xml, fix tabstops
Package-Manager: portage-2.2.8-r1
---
sci-libs/dealii/ChangeLog | 6 +++-
sci-libs/dealii/dealii-9999.ebuild | 11 +++-----
sci-libs/dealii/metadata.xml | 58 ++++++++++++++++++++------------------
3 files changed, 39 insertions(+), 36 deletions(-)
diff --git a/sci-libs/dealii/ChangeLog b/sci-libs/dealii/ChangeLog
index 267da7e..edd11d1 100644
--- a/sci-libs/dealii/ChangeLog
+++ b/sci-libs/dealii/ChangeLog
@@ -2,6 +2,11 @@
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 24 Jul 2014; Matthias Maier <tamiko@gentoo.org> dealii-9999.ebuild,
+ metadata.xml:
+ Update repository to github, fix readme file change, add forgotten use-flag to
+ metadata.xml, fix tabstops
+
02 Mar 2014; Matthias Maier <tamiko+GENTOO@kyomu.43-1.org>
dealii-9999.ebuild:
Add use flag muparser and c++11 to reflect latest live build changes.
@@ -15,4 +20,3 @@
metadata.xml:
Add missing die; shorten DESCRIPTION; add dummy locel USE description; Fix
RDEPEND.suspect
-
diff --git a/sci-libs/dealii/dealii-9999.ebuild b/sci-libs/dealii/dealii-9999.ebuild
index 1d8b7ad..30f3b70 100644
--- a/sci-libs/dealii/dealii-9999.ebuild
+++ b/sci-libs/dealii/dealii-9999.ebuild
@@ -4,13 +4,12 @@
EAPI=5
-inherit cmake-utils eutils multilib subversion
+inherit cmake-utils eutils multilib git-r3
DESCRIPTION="Solving partial differential equations with the finite element method"
HOMEPAGE="http://www.dealii.org/"
-ESVN_REPO_URI="https://svn.dealii.org/trunk/deal.II"
-ESVN_OPTIONS="--trust-server-cert --non-interactive"
+EGIT_REPO_URI="git://github.com/dealii/dealii.git"
KEYWORDS=""
LICENSE="LGPL-2.1+"
@@ -55,8 +54,6 @@ DEPEND="
src_configure() {
- subversion_wc_info
-
if use debug; then
CMAKE_BUILD_TYPE="DebugRelease"
else
@@ -64,7 +61,7 @@ src_configure() {
fi
local mycmakeargs=(
- -DDEAL_II_PACKAGE_VERSION=99.99.svn${ESVN_WC_REVISION}
+ -DDEAL_II_PACKAGE_VERSION=99.99
-DDEAL_II_ALLOW_AUTODETECTION=OFF
-DDEAL_II_ALLOW_BUNDLED=OFF
-DDEAL_II_ALLOW_PLATFORM_INTROSPECTION=OFF
@@ -103,7 +100,7 @@ src_configure() {
}
src_install() {
- DOCS=( README )
+ DOCS=( README.md )
cmake-utils_src_install
diff --git a/sci-libs/dealii/metadata.xml b/sci-libs/dealii/metadata.xml
index bb33338..6f21d08 100644
--- a/sci-libs/dealii/metadata.xml
+++ b/sci-libs/dealii/metadata.xml
@@ -1,32 +1,34 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <herd>sci</herd>
- <maintainer>
- <email>tamiko+GENTOO@kyomu.43-1.org</email>
- <name>Matthias Maier</name>
- </maintainer>
- <longdescription lang="en">
- deal.II is a C++ program library targeted at the computational solution
- of partial differential equations using adaptive finite elements. It uses
- state-of-the-art programming techniques to offer you a modern interface
- to the complex data structures and algorithms required.
-</longdescription>
- <use>
- <flag name="arpack">Adds support for ARPACK (<pkg>sci-libs/arpack</pkg>)</flag>
- <flag name="avx">Use Advanced Vector Extensions for AVX capable chips</flag>
- <flag name="debug">
- Build an additional debug library with extra debug codepaths, like asserts
- and extra output. If you want to get meaningful backtraces see
- <http://www.gentoo.org/proj/en/qa/backtraces.xml></flag>
- <flag name="mesh_converter">Build and install the mesh_converter executable</flag>
- <flag name="metis">Add support for metis (<pkg>sci-libs/metis</pkg>)</flag>
- <flag name="mumps">Add support for mumps (<pkg>sci-libs/mumps</pkg>)</flag>
- <flag name="p4est">Add support for p4est (<pkg>sci-mathematics/p4est</pkg>)</flag>
- <flag name="parameter_gui">Build and install the parameter_gui executable</flag>
- <flag name="petsc">Add support for petsc (<pkg>sci-libs/petsc</pkg>)</flag>
- <flag name="sparse">Add support for suitesparse (<pkg>sci-libs/suitesparse</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>
- </use>
+ <herd>sci</herd>
+ <maintainer>
+ <email>tamiko+GENTOO@kyomu.43-1.org</email>
+ <name>Matthias Maier</name>
+ </maintainer>
+ <longdescription lang="en">
+deal.II is a C++ program library targeted at the computational solution
+of partial differential equations using adaptive finite elements. It uses
+state-of-the-art programming techniques to offer you a modern interface
+to the complex data structures and algorithms required.
+ </longdescription>
+ <use>
+ <flag name="arpack">Adds support for ARPACK (<pkg>sci-libs/arpack</pkg>)</flag>
+ <flag name="avx">Use Advanced Vector Extensions for AVX capable chips</flag>
+ <flag name="debug">
+Build an additional debug library with extra debug codepaths, like asserts
+and extra output. If you want to get meaningful backtraces see
+<http://www.gentoo.org/proj/en/qa/backtraces.xml></flag>
+ <flag name="c++11">Compile the library with -std=c++11</flag>
+ <flag name="mesh_converter">Build and install the mesh_converter executable</flag>
+ <flag name="metis">Add support for metis (<pkg>sci-libs/metis</pkg>)</flag>
+ <flag name="mumps">Add support for mumps (<pkg>sci-libs/mumps</pkg>)</flag>
+ <flag name="muparser">Add support for muparser (<pkg>dev-cpp/muParser</pkg>)</flag>
+ <flag name="p4est">Add support for p4est (<pkg>sci-mathematics/p4est</pkg>)</flag>
+ <flag name="parameter_gui">Build and install the parameter_gui executable</flag>
+ <flag name="petsc">Add support for petsc (<pkg>sci-libs/petsc</pkg>)</flag>
+ <flag name="sparse">Add support for suitesparse (<pkg>sci-libs/suitesparse</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>
+ </use>
</pkgmetadata>
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/dealii/
@ 2014-03-03 20:37 Sebastien Fabbro
0 siblings, 0 replies; 53+ messages in thread
From: Sebastien Fabbro @ 2014-03-03 20:37 UTC (permalink / raw
To: gentoo-commits
commit: 2aca82f4050c566f4faa950b523a7b288cb30736
Author: Matthias Maier <tamiko <AT> kyomu <DOT> 43-1 <DOT> org>
AuthorDate: Sun Mar 2 19:52:23 2014 +0000
Commit: Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Sun Mar 2 19:58:04 2014 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=2aca82f4
Add muparser and c++11 use flag to live ebuild
---
sci-libs/dealii/ChangeLog | 6 +++++-
sci-libs/dealii/dealii-9999.ebuild | 12 +++++++-----
2 files changed, 12 insertions(+), 6 deletions(-)
diff --git a/sci-libs/dealii/ChangeLog b/sci-libs/dealii/ChangeLog
index 81cc604..267da7e 100644
--- a/sci-libs/dealii/ChangeLog
+++ b/sci-libs/dealii/ChangeLog
@@ -3,7 +3,11 @@
# $Header: $
02 Mar 2014; Matthias Maier <tamiko+GENTOO@kyomu.43-1.org>
- dealii-8.1.0.ebuild, dealii-9999.ebuild, metadata.xml:
+ dealii-9999.ebuild:
+ Add use flag muparser and c++11 to reflect latest live build changes.
+
+ 02 Mar 2014; Matthias Maier <tamiko+GENTOO@kyomu.43-1.org>
+ dealii-8.1.0.ebuild, metadata.xml:
Let version 8.0.0 and 8.1.0 depend on <sci-libs/p4est-0.3.5; provide
local USE description for suite use flag.
diff --git a/sci-libs/dealii/dealii-9999.ebuild b/sci-libs/dealii/dealii-9999.ebuild
index 24ada12..1d8b7ad 100644
--- a/sci-libs/dealii/dealii-9999.ebuild
+++ b/sci-libs/dealii/dealii-9999.ebuild
@@ -16,9 +16,9 @@ KEYWORDS=""
LICENSE="LGPL-2.1+"
SLOT="0"
IUSE="
- arpack avx +debug doc +examples hdf5 +lapack mesh_converter metis mpi
- mumps netcdf p4est parameter_gui petsc +sparse sse2 static-libs +tbb
- trilinos +zlib
+ arpack avx c++11 +debug doc +examples hdf5 +lapack mesh_converter metis
+ mpi mumps muparser netcdf p4est parameter_gui petsc +sparse sse2
+ static-libs +tbb trilinos +zlib
"
# TODO: add slepc use flag once slepc is packaged for gentoo-science
@@ -36,6 +36,7 @@ RDEPEND="
metis? ( >=sci-libs/parmetis-4 )
mpi? ( virtual/mpi )
mumps? ( sci-libs/mumps[mpi] )
+ muparser? ( dev-cpp/muParser )
netcdf? ( || ( <sci-libs/netcdf-4.2[cxx] sci-libs/netcdf-cxx ) )
p4est? ( sci-libs/p4est[mpi] )
parameter_gui? ( dev-qt/qtgui )
@@ -55,7 +56,6 @@ DEPEND="
src_configure() {
subversion_wc_info
- local live_version="-DDEAL_II_PACKAGE_VERSION=99.99.svn${ESVN_WC_REVISION}"
if use debug; then
CMAKE_BUILD_TYPE="DebugRelease"
@@ -64,7 +64,7 @@ src_configure() {
fi
local mycmakeargs=(
- ${live_version}
+ -DDEAL_II_PACKAGE_VERSION=99.99.svn${ESVN_WC_REVISION}
-DDEAL_II_ALLOW_AUTODETECTION=OFF
-DDEAL_II_ALLOW_BUNDLED=OFF
-DDEAL_II_ALLOW_PLATFORM_INTROSPECTION=OFF
@@ -77,6 +77,7 @@ src_configure() {
-DDEAL_II_LIBRARY_RELDIR=$(get_libdir)
$(cmake-utils_use arpack DEAL_II_WITH_ARPACK)
$(cmake-utils_use avx DEAL_II_HAVE_AVX)
+ $(cmake-utils_use c++11 DEAL_II_WITH_CXX11)
$(cmake-utils_use doc DEAL_II_COMPONENT_DOCUMENTATION)
$(cmake-utils_use examples DEAL_II_COMPONENT_EXAMPLES)
$(cmake-utils_use hdf5 DEAL_II_WITH_HDF5)
@@ -85,6 +86,7 @@ src_configure() {
$(cmake-utils_use metis DEAL_II_WITH_METIS)
$(cmake-utils_use mpi DEAL_II_WITH_MPI)
$(cmake-utils_use mumps DEAL_II_WITH_MUMPS)
+ $(cmake-utils_use muparser DEAL_II_WITH_MUPARSER)
$(cmake-utils_use netcdf DEAL_II_WITH_NETCDF)
$(cmake-utils_use p4est DEAL_II_WITH_P4EST)
$(cmake-utils_use parameter_gui DEAL_II_COMPONENT_PARAMETER_GUI)
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/dealii/
@ 2014-03-03 20:37 Sebastien Fabbro
0 siblings, 0 replies; 53+ messages in thread
From: Sebastien Fabbro @ 2014-03-03 20:37 UTC (permalink / raw
To: gentoo-commits
commit: 45f002affd09572ccd0477aecf8f63ceeca11ab2
Author: Matthias Maier <tamiko <AT> kyomu <DOT> 43-1 <DOT> org>
AuthorDate: Sun Mar 2 18:59:10 2014 +0000
Commit: Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Sun Mar 2 18:59:10 2014 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=45f002af
Fix dependencies for sci-libs/dealii-8.(0|1).0, provide local use flag
---
sci-libs/dealii/ChangeLog | 5 ++
sci-libs/dealii/dealii-8.0.0.ebuild | 2 +-
sci-libs/dealii/dealii-8.1.0.ebuild | 118 +++++++++++++++++++++++++++++++++++-
sci-libs/dealii/dealii-9999.ebuild | 36 ++---------
sci-libs/dealii/metadata.xml | 2 +-
5 files changed, 130 insertions(+), 33 deletions(-)
diff --git a/sci-libs/dealii/ChangeLog b/sci-libs/dealii/ChangeLog
index ab51b21..81cc604 100644
--- a/sci-libs/dealii/ChangeLog
+++ b/sci-libs/dealii/ChangeLog
@@ -2,6 +2,11 @@
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 02 Mar 2014; Matthias Maier <tamiko+GENTOO@kyomu.43-1.org>
+ dealii-8.1.0.ebuild, dealii-9999.ebuild, metadata.xml:
+ Let version 8.0.0 and 8.1.0 depend on <sci-libs/p4est-0.3.5; provide
+ local USE description for suite use flag.
+
04 Jan 2014; Justin Lecher <jlec@gentoo.org> dealii-9999.ebuild,
metadata.xml:
Add missing die; shorten DESCRIPTION; add dummy locel USE description; Fix
diff --git a/sci-libs/dealii/dealii-8.0.0.ebuild b/sci-libs/dealii/dealii-8.0.0.ebuild
index 9860d7b..2fbea89 120000
--- a/sci-libs/dealii/dealii-8.0.0.ebuild
+++ b/sci-libs/dealii/dealii-8.0.0.ebuild
@@ -1 +1 @@
-dealii-9999.ebuild
\ No newline at end of file
+dealii-8.1.0.ebuild
\ No newline at end of file
diff --git a/sci-libs/dealii/dealii-8.1.0.ebuild b/sci-libs/dealii/dealii-8.1.0.ebuild
deleted file mode 120000
index 9860d7b..0000000
--- a/sci-libs/dealii/dealii-8.1.0.ebuild
+++ /dev/null
@@ -1 +0,0 @@
-dealii-9999.ebuild
\ No newline at end of file
diff --git a/sci-libs/dealii/dealii-8.1.0.ebuild b/sci-libs/dealii/dealii-8.1.0.ebuild
new file mode 100644
index 0000000..6451111
--- /dev/null
+++ b/sci-libs/dealii/dealii-8.1.0.ebuild
@@ -0,0 +1,117 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit cmake-utils eutils multilib
+
+DESCRIPTION="Solving partial differential equations with the finite element method"
+HOMEPAGE="http://www.dealii.org/"
+
+SRC_URI="
+ https://dealii.googlecode.com/files/deal.II-${PV}.tar.gz
+ doc? ( https://dealii.googlecode.com/files/deal.offlinedoc-${PV}.tar.gz )"
+S="${WORKDIR}/deal.II"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+
+LICENSE="LGPL-2.1+"
+SLOT="0"
+IUSE="
+ arpack avx +debug doc +examples hdf5 +lapack mesh_converter metis mpi
+ mumps netcdf p4est parameter_gui petsc +sparse sse2 static-libs +tbb
+ trilinos +zlib
+"
+
+# TODO: add slepc use flag once slepc is packaged for gentoo-science
+REQUIRED_USE="
+ mumps? ( mpi lapack )
+ p4est? ( mpi )
+ trilinos? ( mpi )
+"
+
+RDEPEND="
+ dev-libs/boost
+ arpack? ( sci-libs/arpack[mpi=] )
+ hdf5? ( sci-libs/hdf5[mpi=] )
+ lapack? ( virtual/lapack )
+ metis? ( >=sci-libs/parmetis-4 )
+ mpi? ( virtual/mpi )
+ mumps? ( sci-libs/mumps[mpi] )
+ netcdf? ( || ( <sci-libs/netcdf-4.2[cxx] sci-libs/netcdf-cxx ) )
+ p4est? ( <sci-libs/p4est-0.3.5[mpi] )
+ parameter_gui? ( dev-qt/qtgui )
+ petsc? ( sci-mathematics/petsc[mpi=] )
+ sparse? ( sci-libs/umfpack )
+ tbb? ( dev-cpp/tbb )
+ trilinos? ( sci-libs/trilinos )
+ zlib? ( sys-libs/zlib )
+"
+
+DEPEND="
+ ${RDEPEND}
+ virtual/pkgconfig
+ doc? ( app-doc/doxygen[dot] dev-lang/perl )
+"
+
+src_configure() {
+
+ if use debug; then
+ CMAKE_BUILD_TYPE="DebugRelease"
+ else
+ CMAKE_BUILD_TYPE="Release"
+ fi
+
+ local mycmakeargs=(
+ ${live_version}
+ -DDEAL_II_ALLOW_AUTODETECTION=OFF
+ -DDEAL_II_ALLOW_BUNDLED=OFF
+ -DDEAL_II_ALLOW_PLATFORM_INTROSPECTION=OFF
+ -DCMAKE_INSTALL_RPATH_USE_LINK_PATH=OFF
+ -DDEAL_II_COMPONENT_COMPAT_FILES=OFF
+ -DDEAL_II_CMAKE_MACROS_RELDIR=share/${PN}/cmake/macros
+ -DDEAL_II_DOCHTML_RELDIR=share/doc/${PF}/html
+ -DDEAL_II_DOCREADME_RELDIR=share/doc/${PF}/
+ -DDEAL_II_EXAMPLES_RELDIR=share/doc/${PF}/examples
+ -DDEAL_II_LIBRARY_RELDIR=$(get_libdir)
+ $(cmake-utils_use arpack DEAL_II_WITH_ARPACK)
+ $(cmake-utils_use avx DEAL_II_HAVE_AVX)
+ $(cmake-utils_use doc DEAL_II_COMPONENT_DOCUMENTATION)
+ $(cmake-utils_use examples DEAL_II_COMPONENT_EXAMPLES)
+ $(cmake-utils_use hdf5 DEAL_II_WITH_HDF5)
+ $(cmake-utils_use lapack DEAL_II_WITH_LAPACK)
+ $(cmake-utils_use mesh_converter DEAL_II_COMPONENT_MESH_CONVERTER)
+ $(cmake-utils_use metis DEAL_II_WITH_METIS)
+ $(cmake-utils_use mpi DEAL_II_WITH_MPI)
+ $(cmake-utils_use mumps DEAL_II_WITH_MUMPS)
+ $(cmake-utils_use netcdf DEAL_II_WITH_NETCDF)
+ $(cmake-utils_use p4est DEAL_II_WITH_P4EST)
+ $(cmake-utils_use parameter_gui DEAL_II_COMPONENT_PARAMETER_GUI)
+ $(cmake-utils_use petsc DEAL_II_WITH_PETSC)
+ $(cmake-utils_use sparse DEAL_II_WITH_UMFPACK)
+ $(cmake-utils_use sse2 DEAL_II_HAVE_SSE2)
+ $(cmake-utils_use !static-libs BUILD_SHARED_LIBS)
+ $(cmake-utils_use static-libs DEAL_II_PREFER_STATIC_LIBS)
+ $(cmake-utils_use tbb DEAL_II_WITH_THREADS)
+ $(cmake-utils_use trilinos DEAL_II_WITH_TRILINOS)
+ $(cmake-utils_use zlib DEAL_II_WITH_ZLIB)
+ )
+ cmake-utils_src_configure
+}
+
+src_install() {
+ DOCS=( README )
+
+ if use doc; then
+ # copy missing images to the build directory:
+ cp -r "${WORKDIR}"/doc/doxygen/deal.II/images "${BUILD_DIR}"/doc/doxygen/deal.II || die
+ # replace links:
+ sed -i \
+ 's#"http://www.dealii.org/images/steps/developer/\(step-.*\)"#"images/\1"#g' \
+ "${BUILD_DIR}"/doc/doxygen/deal.II/step_*.html || die "sed failed"
+ fi
+ cmake-utils_src_install
+
+ # unpack the installed example sources:
+ use examples && docompress -x /usr/share/doc/${PF}/examples
+}
diff --git a/sci-libs/dealii/dealii-9999.ebuild b/sci-libs/dealii/dealii-9999.ebuild
index 25fbc44..24ada12 100644
--- a/sci-libs/dealii/dealii-9999.ebuild
+++ b/sci-libs/dealii/dealii-9999.ebuild
@@ -4,26 +4,14 @@
EAPI=5
-if [[ "${PV}" == "9999" ]] ; then
- inherit cmake-utils eutils multilib subversion
-else
- inherit cmake-utils eutils multilib
-fi
+inherit cmake-utils eutils multilib subversion
DESCRIPTION="Solving partial differential equations with the finite element method"
HOMEPAGE="http://www.dealii.org/"
-if [[ "${PV}" == "9999" ]] ; then
- ESVN_REPO_URI="https://svn.dealii.org/trunk/deal.II"
- ESVN_OPTIONS="--trust-server-cert --non-interactive"
- KEYWORDS=""
-else
- SRC_URI="
- https://dealii.googlecode.com/files/deal.II-${PV}.tar.gz
- doc? ( https://dealii.googlecode.com/files/deal.offlinedoc-${PV}.tar.gz )"
- S="${WORKDIR}/deal.II"
- KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-fi
+ESVN_REPO_URI="https://svn.dealii.org/trunk/deal.II"
+ESVN_OPTIONS="--trust-server-cert --non-interactive"
+KEYWORDS=""
LICENSE="LGPL-2.1+"
SLOT="0"
@@ -66,10 +54,8 @@ DEPEND="
src_configure() {
- if [[ ${PV} == "9999" ]] ; then
- subversion_wc_info
- local live_version="-DDEAL_II_PACKAGE_VERSION=99.99.svn${ESVN_WC_REVISION}"
- fi
+ subversion_wc_info
+ local live_version="-DDEAL_II_PACKAGE_VERSION=99.99.svn${ESVN_WC_REVISION}"
if use debug; then
CMAKE_BUILD_TYPE="DebugRelease"
@@ -117,16 +103,6 @@ src_configure() {
src_install() {
DOCS=( README )
- if use doc; then
- if [[ ${PV} != "9999" ]] ; then
- # copy missing images to the build directory:
- cp -r "${WORKDIR}"/doc/doxygen/deal.II/images "${BUILD_DIR}"/doc/doxygen/deal.II || die
- # replace links:
- sed -i \
- 's#"http://www.dealii.org/images/steps/developer/\(step-.*\)"#"images/\1"#g' \
- "${BUILD_DIR}"/doc/doxygen/deal.II/step_*.html || die "sed failed"
- fi
- fi
cmake-utils_src_install
# unpack the installed example sources:
diff --git a/sci-libs/dealii/metadata.xml b/sci-libs/dealii/metadata.xml
index 356ec3f..bb33338 100644
--- a/sci-libs/dealii/metadata.xml
+++ b/sci-libs/dealii/metadata.xml
@@ -25,7 +25,7 @@
<flag name="p4est">Add support for p4est (<pkg>sci-mathematics/p4est</pkg>)</flag>
<flag name="parameter_gui">Build and install the parameter_gui executable</flag>
<flag name="petsc">Add support for petsc (<pkg>sci-libs/petsc</pkg>)</flag>
- <flag name="sparse">A nice USE flag</flag>
+ <flag name="sparse">Add support for suitesparse (<pkg>sci-libs/suitesparse</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>
</use>
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/dealii/
@ 2014-01-04 12:08 Justin Lecher
0 siblings, 0 replies; 53+ messages in thread
From: Justin Lecher @ 2014-01-04 12:08 UTC (permalink / raw
To: gentoo-commits
commit: f6fdfb4d43a0608a1b48d0485272df4039387924
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 4 12:07:59 2014 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sat Jan 4 12:07:59 2014 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=f6fdfb4d
sci-libs/dealii: Add missing die; shorten DESCRIPTION; add dummy locel USE description; Fix RDEPEND.suspect
Package-Manager: portage-2.2.7
---
sci-libs/dealii/ChangeLog | 9 ++++++++
sci-libs/dealii/dealii-9999.ebuild | 41 +++++++++++++++++++------------------
sci-libs/dealii/metadata.xml | 42 +++++++++++++++++++++-----------------
3 files changed, 53 insertions(+), 39 deletions(-)
diff --git a/sci-libs/dealii/ChangeLog b/sci-libs/dealii/ChangeLog
new file mode 100644
index 0000000..ab51b21
--- /dev/null
+++ b/sci-libs/dealii/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for sci-libs/dealii
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 04 Jan 2014; Justin Lecher <jlec@gentoo.org> dealii-9999.ebuild,
+ metadata.xml:
+ Add missing die; shorten DESCRIPTION; add dummy locel USE description; Fix
+ RDEPEND.suspect
+
diff --git a/sci-libs/dealii/dealii-9999.ebuild b/sci-libs/dealii/dealii-9999.ebuild
index 91fa994..89f714a 100644
--- a/sci-libs/dealii/dealii-9999.ebuild
+++ b/sci-libs/dealii/dealii-9999.ebuild
@@ -1,16 +1,16 @@
-# Copyright 2013 Gentoo Foundation
+# Copyright 2013-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
if [[ "${PV}" == "9999" ]] ; then
- inherit cmake-utils subversion eutils multilib
+ inherit cmake-utils eutils multilib subversion
else
inherit cmake-utils eutils multilib
fi
-DESCRIPTION="library for solving partial differential equations with the finite element method"
+DESCRIPTION="Solving partial differential equations with the finite element method"
HOMEPAGE="http://www.dealii.org/"
if [[ "${PV}" == "9999" ]] ; then
@@ -18,7 +18,8 @@ if [[ "${PV}" == "9999" ]] ; then
ESVN_OPTIONS="--trust-server-cert --non-interactive"
KEYWORDS=""
else
- SRC_URI="https://dealii.googlecode.com/files/deal.II-${PV}.tar.gz
+ SRC_URI="
+ https://dealii.googlecode.com/files/deal.II-${PV}.tar.gz
doc? ( https://dealii.googlecode.com/files/deal.offlinedoc-${PV}.tar.gz )"
S="${WORKDIR}/deal.II"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
@@ -27,9 +28,9 @@ fi
LICENSE="LGPL-2.1+"
SLOT="0"
IUSE="
- arpack avx +debug doc +examples hdf5 +lapack mesh_converter metis mpi
- mumps netcdf p4est parameter_gui petsc +sparse sse2 static-libs +tbb
- trilinos +zlib
+ arpack avx +debug doc +examples hdf5 +lapack mesh_converter metis mpi
+ mumps netcdf p4est parameter_gui petsc +sparse sse2 static-libs +tbb
+ trilinos +zlib
"
# TODO: add slepc use flag once slepc is packaged for gentoo-science
@@ -42,7 +43,6 @@ REQUIRED_USE="
RDEPEND="
dev-libs/boost
arpack? ( sci-libs/arpack[mpi=] )
- doc? ( app-doc/doxygen[dot] dev-lang/perl )
hdf5? ( sci-libs/hdf5[mpi=] )
lapack? ( virtual/lapack )
metis? ( >=sci-libs/parmetis-4 )
@@ -61,6 +61,7 @@ RDEPEND="
DEPEND="
${RDEPEND}
virtual/pkgconfig
+ doc? ( app-doc/doxygen[dot] dev-lang/perl )
"
src_configure() {
@@ -78,9 +79,16 @@ src_configure() {
local mycmakeargs=(
${live_version}
- "-DDEAL_II_ALLOW_AUTODETECTION=OFF"
- "-DDEAL_II_ALLOW_BUNDLED=OFF"
- "-DDEAL_II_ALLOW_PLATFORM_INTROSPECTION=OFF"
+ -DDEAL_II_ALLOW_AUTODETECTION=OFF
+ -DDEAL_II_ALLOW_BUNDLED=OFF
+ -DDEAL_II_ALLOW_PLATFORM_INTROSPECTION=OFF
+ -DCMAKE_INSTALL_RPATH_USE_LINK_PATH=OFF
+ -DDEAL_II_COMPONENT_COMPAT_FILES=OFF
+ -DDEAL_II_CMAKE_MACROS_RELDIR=share/${PN}/cmake/macros
+ -DDEAL_II_DOCHTML_RELDIR=share/doc/${PF}/html
+ -DDEAL_II_DOCREADME_RELDIR=share/doc/${PF}/
+ -DDEAL_II_EXAMPLES_RELDIR=share/doc/${PF}/examples
+ -DDEAL_II_LIBRARY_RELDIR=$(get_libdir)
$(cmake-utils_use arpack DEAL_II_WITH_ARPACK)
$(cmake-utils_use avx DEAL_II_HAVE_AVX)
$(cmake-utils_use doc DEAL_II_COMPONENT_DOCUMENTATION)
@@ -102,24 +110,17 @@ src_configure() {
$(cmake-utils_use tbb DEAL_II_WITH_THREADS)
$(cmake-utils_use trilinos DEAL_II_WITH_TRILINOS)
$(cmake-utils_use zlib DEAL_II_WITH_ZLIB)
- "-DCMAKE_INSTALL_RPATH_USE_LINK_PATH=OFF"
- "-DDEAL_II_COMPONENT_COMPAT_FILES=OFF"
- "-DDEAL_II_CMAKE_MACROS_RELDIR=share/${PN}/cmake/macros"
- "-DDEAL_II_DOCHTML_RELDIR=share/doc/${PF}/html"
- "-DDEAL_II_DOCREADME_RELDIR=share/doc/${PF}/"
- "-DDEAL_II_EXAMPLES_RELDIR=share/doc/${PF}/examples"
- "-DDEAL_II_LIBRARY_RELDIR=$(get_libdir)"
)
cmake-utils_src_configure
}
src_install() {
- dodoc README
+ DOCS=( README )
if use doc; then
if [[ ${PV} != "9999" ]] ; then
# copy missing images to the build directory:
- cp -r "${WORKDIR}"/doc/doxygen/deal.II/images "${BUILD_DIR}"/doc/doxygen/deal.II
+ cp -r "${WORKDIR}"/doc/doxygen/deal.II/images "${BUILD_DIR}"/doc/doxygen/deal.II || die
# replace links:
sed -i \
's#"http://www.dealii.org/images/steps/developer/\(step-.*\)"#"images/\1"#g' \
diff --git a/sci-libs/dealii/metadata.xml b/sci-libs/dealii/metadata.xml
index 65475b5..356ec3f 100644
--- a/sci-libs/dealii/metadata.xml
+++ b/sci-libs/dealii/metadata.xml
@@ -1,28 +1,32 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<herd>sci</herd>
-<maintainer>
- <email>tamiko+GENTOO@kyomu.43-1.org</email>
- <name>Matthias Maier</name>
-</maintainer>
-<longdescription lang="en">
+ <herd>sci</herd>
+ <maintainer>
+ <email>tamiko+GENTOO@kyomu.43-1.org</email>
+ <name>Matthias Maier</name>
+ </maintainer>
+ <longdescription lang="en">
deal.II is a C++ program library targeted at the computational solution
of partial differential equations using adaptive finite elements. It uses
state-of-the-art programming techniques to offer you a modern interface
to the complex data structures and algorithms required.
</longdescription>
-<use>
- <flag name="arpack">Adds support for ARPACK (<pkg>sci-libs/arpack</pkg>)</flag>
- <flag name="avx">Use Advanced Vector Extensions for AVX capable chips</flag>
- <flag name="debug">Build an additional debug library with extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see <http://www.gentoo.org/proj/en/qa/backtraces.xml></flag>
- <flag name="mesh_converter">Build and install the mesh_converter executable</flag>
- <flag name="metis">Add support for metis (<pkg>sci-libs/metis</pkg>)</flag>
- <flag name="mumps">Add support for mumps (<pkg>sci-libs/mumps</pkg>)</flag>
- <flag name="p4est">Add support for p4est (<pkg>sci-mathematics/p4est</pkg>)</flag>
- <flag name="parameter_gui">Build and install the parameter_gui executable</flag>
- <flag name="petsc">Add support for petsc (<pkg>sci-libs/petsc</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>
-</use>
+ <use>
+ <flag name="arpack">Adds support for ARPACK (<pkg>sci-libs/arpack</pkg>)</flag>
+ <flag name="avx">Use Advanced Vector Extensions for AVX capable chips</flag>
+ <flag name="debug">
+ Build an additional debug library with extra debug codepaths, like asserts
+ and extra output. If you want to get meaningful backtraces see
+ <http://www.gentoo.org/proj/en/qa/backtraces.xml></flag>
+ <flag name="mesh_converter">Build and install the mesh_converter executable</flag>
+ <flag name="metis">Add support for metis (<pkg>sci-libs/metis</pkg>)</flag>
+ <flag name="mumps">Add support for mumps (<pkg>sci-libs/mumps</pkg>)</flag>
+ <flag name="p4est">Add support for p4est (<pkg>sci-mathematics/p4est</pkg>)</flag>
+ <flag name="parameter_gui">Build and install the parameter_gui executable</flag>
+ <flag name="petsc">Add support for petsc (<pkg>sci-libs/petsc</pkg>)</flag>
+ <flag name="sparse">A nice USE flag</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>
+ </use>
</pkgmetadata>
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/dealii/
@ 2014-01-04 12:08 Justin Lecher
0 siblings, 0 replies; 53+ messages in thread
From: Justin Lecher @ 2014-01-04 12:08 UTC (permalink / raw
To: gentoo-commits
commit: d37b2e6d9e9fb6f3fbd9d335b3584cfa3a396f7b
Author: Matthias Maier <tamiko <AT> kyomu <DOT> 43-1 <DOT> org>
AuthorDate: Thu Jan 2 20:23:07 2014 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Thu Jan 2 20:23:07 2014 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=d37b2e6d
sci-libs/dealii: Bump to version 8.1.0
---
sci-libs/dealii/dealii-8.1.0.ebuild | 1 +
sci-libs/dealii/dealii-9999.ebuild | 11 ++++++++---
2 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/sci-libs/dealii/dealii-8.1.0.ebuild b/sci-libs/dealii/dealii-8.1.0.ebuild
new file mode 120000
index 0000000..9860d7b
--- /dev/null
+++ b/sci-libs/dealii/dealii-8.1.0.ebuild
@@ -0,0 +1 @@
+dealii-9999.ebuild
\ No newline at end of file
diff --git a/sci-libs/dealii/dealii-9999.ebuild b/sci-libs/dealii/dealii-9999.ebuild
index 1b08288..91fa994 100644
--- a/sci-libs/dealii/dealii-9999.ebuild
+++ b/sci-libs/dealii/dealii-9999.ebuild
@@ -4,7 +4,7 @@
EAPI=5
-if [[ ${PV} == "9999" ]] ; then
+if [[ "${PV}" == "9999" ]] ; then
inherit cmake-utils subversion eutils multilib
else
inherit cmake-utils eutils multilib
@@ -13,7 +13,7 @@ fi
DESCRIPTION="library for solving partial differential equations with the finite element method"
HOMEPAGE="http://www.dealii.org/"
-if [[ ${PV} == "9999" ]] ; then
+if [[ "${PV}" == "9999" ]] ; then
ESVN_REPO_URI="https://svn.dealii.org/trunk/deal.II"
ESVN_OPTIONS="--trust-server-cert --non-interactive"
KEYWORDS=""
@@ -26,7 +26,12 @@ fi
LICENSE="LGPL-2.1+"
SLOT="0"
-IUSE="arpack avx +debug doc +examples hdf5 +lapack mesh_converter metis mpi mumps netcdf p4est parameter_gui petsc +sparse sse2 static-libs +tbb trilinos +zlib"
+IUSE="
+ arpack avx +debug doc +examples hdf5 +lapack mesh_converter metis mpi
+ mumps netcdf p4est parameter_gui petsc +sparse sse2 static-libs +tbb
+ trilinos +zlib
+"
+
# TODO: add slepc use flag once slepc is packaged for gentoo-science
REQUIRED_USE="
mumps? ( mpi lapack )
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/dealii/
@ 2013-07-26 16:14 Nicolas Bock
0 siblings, 0 replies; 53+ messages in thread
From: Nicolas Bock @ 2013-07-26 16:14 UTC (permalink / raw
To: gentoo-commits
commit: 624a833c3d4e65d09dcb9114699f52c6338f4acf
Author: Matthias Maier <tamiko <AT> kyomu <DOT> 43-1 <DOT> org>
AuthorDate: Thu Jul 25 23:02:49 2013 +0000
Commit: Nicolas Bock <nicolasbock <AT> gmail <DOT> com>
CommitDate: Thu Jul 25 23:02:49 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=624a833c
Fix typo
---
sci-libs/dealii/dealii-9999.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-libs/dealii/dealii-9999.ebuild b/sci-libs/dealii/dealii-9999.ebuild
index 8191c24..1b08288 100644
--- a/sci-libs/dealii/dealii-9999.ebuild
+++ b/sci-libs/dealii/dealii-9999.ebuild
@@ -31,7 +31,7 @@ IUSE="arpack avx +debug doc +examples hdf5 +lapack mesh_converter metis mpi mump
REQUIRED_USE="
mumps? ( mpi lapack )
p4est? ( mpi )
- trilinos ( mpi )
+ trilinos? ( mpi )
"
RDEPEND="
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/dealii/
@ 2013-07-26 16:14 Nicolas Bock
0 siblings, 0 replies; 53+ messages in thread
From: Nicolas Bock @ 2013-07-26 16:14 UTC (permalink / raw
To: gentoo-commits
commit: f9b30434fc1b31092b6b56c0a2bdcad68f0fb968
Author: Matthias Maier <tamiko <AT> kyomu <DOT> 43-1 <DOT> org>
AuthorDate: Thu Jul 25 22:56:28 2013 +0000
Commit: Nicolas Bock <nicolasbock <AT> gmail <DOT> com>
CommitDate: Thu Jul 25 22:56:28 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=f9b30434
Install the examples properly to usr/share/doc/${PF}/examples
---
sci-libs/dealii/dealii-9999.ebuild | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/sci-libs/dealii/dealii-9999.ebuild b/sci-libs/dealii/dealii-9999.ebuild
index 43e4ebb..9e15948 100644
--- a/sci-libs/dealii/dealii-9999.ebuild
+++ b/sci-libs/dealii/dealii-9999.ebuild
@@ -101,7 +101,7 @@ src_configure() {
"-DDEAL_II_CMAKE_MACROS_RELDIR=share/${PN}/cmake/macros"
"-DDEAL_II_DOCHTML_RELDIR=share/doc/${PF}/html"
"-DDEAL_II_DOCREADME_RELDIR=share/doc/${PF}/"
- "-DDEAL_II_EXAMPLES_RELDIR=share/${PN}/examples"
+ "-DDEAL_II_EXAMPLES_RELDIR=share/doc/${PF}/examples"
"-DDEAL_II_LIBRARY_RELDIR=$(get_libdir)"
)
cmake-utils_src_configure
@@ -121,4 +121,7 @@ src_install() {
fi
fi
cmake-utils_src_install
+
+ # unpack the installed example sources:
+ use examples && docompress -x /usr/share/doc/${PF}/examples
}
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/dealii/
@ 2013-07-26 16:14 Nicolas Bock
0 siblings, 0 replies; 53+ messages in thread
From: Nicolas Bock @ 2013-07-26 16:14 UTC (permalink / raw
To: gentoo-commits
commit: b4a6bc8eac91d91dd0bd5e5ca0880411744cba3a
Author: Matthias Maier <tamiko <AT> kyomu <DOT> 43-1 <DOT> org>
AuthorDate: Thu Jul 25 22:58:56 2013 +0000
Commit: Nicolas Bock <nicolasbock <AT> gmail <DOT> com>
CommitDate: Thu Jul 25 22:58:56 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=b4a6bc8e
Bugfix: trilinos unconditionally installs with mpi support enabled.
---
sci-libs/dealii/dealii-9999.ebuild | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/sci-libs/dealii/dealii-9999.ebuild b/sci-libs/dealii/dealii-9999.ebuild
index 9e15948..8191c24 100644
--- a/sci-libs/dealii/dealii-9999.ebuild
+++ b/sci-libs/dealii/dealii-9999.ebuild
@@ -31,6 +31,7 @@ IUSE="arpack avx +debug doc +examples hdf5 +lapack mesh_converter metis mpi mump
REQUIRED_USE="
mumps? ( mpi lapack )
p4est? ( mpi )
+ trilinos ( mpi )
"
RDEPEND="
@@ -48,7 +49,7 @@ RDEPEND="
petsc? ( sci-mathematics/petsc[mpi=] )
sparse? ( sci-libs/umfpack )
tbb? ( dev-cpp/tbb )
- trilinos? ( sci-libs/trilinos[mpi=] )
+ trilinos? ( sci-libs/trilinos )
zlib? ( sys-libs/zlib )
"
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/dealii/
@ 2013-07-26 16:14 Nicolas Bock
0 siblings, 0 replies; 53+ messages in thread
From: Nicolas Bock @ 2013-07-26 16:14 UTC (permalink / raw
To: gentoo-commits
commit: 2adad7574ae70d4980fd8163b3ec8a973f2ec15d
Author: Matthias Maier <tamiko <AT> kyomu <DOT> 43-1 <DOT> org>
AuthorDate: Thu Jul 25 22:50:32 2013 +0000
Commit: Nicolas Bock <nicolasbock <AT> gmail <DOT> com>
CommitDate: Thu Jul 25 22:50:32 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=2adad757
Bugfix: Get the dependencies with mpi right. Add REQUIRED_USE constraints
---
sci-libs/dealii/dealii-9999.ebuild | 18 +++++++++++-------
1 file changed, 11 insertions(+), 7 deletions(-)
diff --git a/sci-libs/dealii/dealii-9999.ebuild b/sci-libs/dealii/dealii-9999.ebuild
index 4bacfa0..43e4ebb 100644
--- a/sci-libs/dealii/dealii-9999.ebuild
+++ b/sci-libs/dealii/dealii-9999.ebuild
@@ -28,23 +28,27 @@ LICENSE="LGPL-2.1+"
SLOT="0"
IUSE="arpack avx +debug doc +examples hdf5 +lapack mesh_converter metis mpi mumps netcdf p4est parameter_gui petsc +sparse sse2 static-libs +tbb trilinos +zlib"
# TODO: add slepc use flag once slepc is packaged for gentoo-science
+REQUIRED_USE="
+ mumps? ( mpi lapack )
+ p4est? ( mpi )
+"
RDEPEND="
dev-libs/boost
- arpack? ( sci-libs/arpack[mpi?] )
+ arpack? ( sci-libs/arpack[mpi=] )
doc? ( app-doc/doxygen[dot] dev-lang/perl )
- hdf5? ( sci-libs/hdf5[mpi?] )
+ hdf5? ( sci-libs/hdf5[mpi=] )
lapack? ( virtual/lapack )
- metis? ( >=sci-libs/parmetis-4[mpi?] )
+ metis? ( >=sci-libs/parmetis-4 )
mpi? ( virtual/mpi )
- mumps? ( sci-libs/mumps[mpi?] )
+ mumps? ( sci-libs/mumps[mpi] )
netcdf? ( || ( <sci-libs/netcdf-4.2[cxx] sci-libs/netcdf-cxx ) )
- p4est? ( sci-libs/p4est[mpi?] )
+ p4est? ( sci-libs/p4est[mpi] )
parameter_gui? ( dev-qt/qtgui )
- petsc? ( sci-mathematics/petsc[mpi?] )
+ petsc? ( sci-mathematics/petsc[mpi=] )
sparse? ( sci-libs/umfpack )
tbb? ( dev-cpp/tbb )
- trilinos? ( sci-libs/trilinos )
+ trilinos? ( sci-libs/trilinos[mpi=] )
zlib? ( sys-libs/zlib )
"
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/dealii/
@ 2013-07-26 16:14 Nicolas Bock
0 siblings, 0 replies; 53+ messages in thread
From: Nicolas Bock @ 2013-07-26 16:14 UTC (permalink / raw
To: gentoo-commits
commit: 3226582fe713b9ce93e04497cf1dd268c7239008
Author: Matthias Maier <tamiko <AT> kyomu <DOT> 43-1 <DOT> org>
AuthorDate: Thu Jul 25 20:14:27 2013 +0000
Commit: Nicolas Bock <nicolasbock <AT> gmail <DOT> com>
CommitDate: Thu Jul 25 20:14:27 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=3226582f
Simplify
---
sci-libs/dealii/dealii-9999.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-libs/dealii/dealii-9999.ebuild b/sci-libs/dealii/dealii-9999.ebuild
index 9cc9812..4bacfa0 100644
--- a/sci-libs/dealii/dealii-9999.ebuild
+++ b/sci-libs/dealii/dealii-9999.ebuild
@@ -87,7 +87,7 @@ src_configure() {
$(cmake-utils_use petsc DEAL_II_WITH_PETSC)
$(cmake-utils_use sparse DEAL_II_WITH_UMFPACK)
$(cmake-utils_use sse2 DEAL_II_HAVE_SSE2)
- $(if use static-libs; then echo -DBUILD_SHARED_LIBS=OFF;fi)
+ $(cmake-utils_use !static-libs BUILD_SHARED_LIBS)
$(cmake-utils_use static-libs DEAL_II_PREFER_STATIC_LIBS)
$(cmake-utils_use tbb DEAL_II_WITH_THREADS)
$(cmake-utils_use trilinos DEAL_II_WITH_TRILINOS)
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/dealii/
@ 2013-07-26 16:14 Nicolas Bock
0 siblings, 0 replies; 53+ messages in thread
From: Nicolas Bock @ 2013-07-26 16:14 UTC (permalink / raw
To: gentoo-commits
commit: b7920b669aacd4465b75be38c8ee86d3f35ab797
Author: Matthias Maier <tamiko <AT> kyomu <DOT> 43-1 <DOT> org>
AuthorDate: Thu Jul 25 19:26:49 2013 +0000
Commit: Nicolas Bock <nicolasbock <AT> gmail <DOT> com>
CommitDate: Thu Jul 25 19:26:49 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=b7920b66
use "${BUILD_DIR}" instead of "${WORKDIR}"/${P}_build
---
sci-libs/dealii/dealii-9999.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sci-libs/dealii/dealii-9999.ebuild b/sci-libs/dealii/dealii-9999.ebuild
index 2d4516b..9cc9812 100644
--- a/sci-libs/dealii/dealii-9999.ebuild
+++ b/sci-libs/dealii/dealii-9999.ebuild
@@ -109,11 +109,11 @@ src_install() {
if use doc; then
if [[ ${PV} != "9999" ]] ; then
# copy missing images to the build directory:
- cp -r "${WORKDIR}"/doc/doxygen/deal.II/images "${WORKDIR}"/${P}_build/doc/doxygen/deal.II
+ cp -r "${WORKDIR}"/doc/doxygen/deal.II/images "${BUILD_DIR}"/doc/doxygen/deal.II
# replace links:
sed -i \
's#"http://www.dealii.org/images/steps/developer/\(step-.*\)"#"images/\1"#g' \
- "${WORKDIR}"/${P}_build/doc/doxygen/deal.II/step_*.html || die "sed failed"
+ "${BUILD_DIR}"/doc/doxygen/deal.II/step_*.html || die "sed failed"
fi
fi
cmake-utils_src_install
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/dealii/
@ 2013-07-26 16:14 Nicolas Bock
0 siblings, 0 replies; 53+ messages in thread
From: Nicolas Bock @ 2013-07-26 16:14 UTC (permalink / raw
To: gentoo-commits
commit: bbd6e7a46df17d1607b0820f95eb55d0a93fc495
Author: Matthias Maier <tamiko <AT> kyomu <DOT> 43-1 <DOT> org>
AuthorDate: Thu Jul 25 17:00:09 2013 +0000
Commit: Nicolas Bock <nicolasbock <AT> gmail <DOT> com>
CommitDate: Thu Jul 25 17:00:09 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=bbd6e7a4
Clean up the documentation installation: Only install html files if +doc is set
---
sci-libs/dealii/dealii-9999.ebuild | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/sci-libs/dealii/dealii-9999.ebuild b/sci-libs/dealii/dealii-9999.ebuild
index 9765e3a..2d4516b 100644
--- a/sci-libs/dealii/dealii-9999.ebuild
+++ b/sci-libs/dealii/dealii-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2012 Gentoo Foundation
+# Copyright 2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
@@ -104,12 +104,9 @@ src_configure() {
}
src_install() {
- dodoc LICENSE README
+ dodoc README
- if use !doc; then
- # install some minimalistic bits of the html documentation:
- dohtml doc/authors.html doc/license.html doc/screen.css
- else
+ if use doc; then
if [[ ${PV} != "9999" ]] ; then
# copy missing images to the build directory:
cp -r "${WORKDIR}"/doc/doxygen/deal.II/images "${WORKDIR}"/${P}_build/doc/doxygen/deal.II
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/dealii/
@ 2013-07-26 16:14 Nicolas Bock
0 siblings, 0 replies; 53+ messages in thread
From: Nicolas Bock @ 2013-07-26 16:14 UTC (permalink / raw
To: gentoo-commits
commit: cda6510a8d1174f915bfa07520f055d1ded875f6
Author: Matthias Maier <tamiko <AT> kyomu <DOT> 43-1 <DOT> org>
AuthorDate: Thu Jul 25 16:39:38 2013 +0000
Commit: Nicolas Bock <nicolasbock <AT> gmail <DOT> com>
CommitDate: Thu Jul 25 16:54:36 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=cda6510a
Improve dealii-9999.ebuild to be more consistent with Gentoo's best practices
Specifically:
- Rename use flags thread -> tbb, umfpack -> sparse as match common practice
- Add virtual/pkgconfig to DEPEND
- Remove double occurence of sys-libs/zlib
- Provide a static-libs use flag
---
sci-libs/dealii/dealii-9999.ebuild | 21 +++++++++++++--------
sci-libs/dealii/metadata.xml | 2 +-
2 files changed, 14 insertions(+), 9 deletions(-)
diff --git a/sci-libs/dealii/dealii-9999.ebuild b/sci-libs/dealii/dealii-9999.ebuild
index 9a4f7c8..9765e3a 100644
--- a/sci-libs/dealii/dealii-9999.ebuild
+++ b/sci-libs/dealii/dealii-9999.ebuild
@@ -26,12 +26,11 @@ fi
LICENSE="LGPL-2.1+"
SLOT="0"
-IUSE="arpack avx +debug doc +examples hdf5 +lapack mesh_converter metis mpi mumps netcdf p4est parameter_gui petsc sse2 +threads trilinos +umfpack +zlib"
+IUSE="arpack avx +debug doc +examples hdf5 +lapack mesh_converter metis mpi mumps netcdf p4est parameter_gui petsc +sparse sse2 static-libs +tbb trilinos +zlib"
# TODO: add slepc use flag once slepc is packaged for gentoo-science
-DEPEND="
+RDEPEND="
dev-libs/boost
- sys-libs/zlib
arpack? ( sci-libs/arpack[mpi?] )
doc? ( app-doc/doxygen[dot] dev-lang/perl )
hdf5? ( sci-libs/hdf5[mpi?] )
@@ -43,12 +42,16 @@ DEPEND="
p4est? ( sci-libs/p4est[mpi?] )
parameter_gui? ( dev-qt/qtgui )
petsc? ( sci-mathematics/petsc[mpi?] )
- threads? ( dev-cpp/tbb )
+ sparse? ( sci-libs/umfpack )
+ tbb? ( dev-cpp/tbb )
trilinos? ( sci-libs/trilinos )
- umfpack? ( sci-libs/umfpack )
zlib? ( sys-libs/zlib )
"
-RDEPEND="${DEPEND}"
+
+DEPEND="
+ ${RDEPEND}
+ virtual/pkgconfig
+"
src_configure() {
@@ -82,10 +85,12 @@ src_configure() {
$(cmake-utils_use p4est DEAL_II_WITH_P4EST)
$(cmake-utils_use parameter_gui DEAL_II_COMPONENT_PARAMETER_GUI)
$(cmake-utils_use petsc DEAL_II_WITH_PETSC)
+ $(cmake-utils_use sparse DEAL_II_WITH_UMFPACK)
$(cmake-utils_use sse2 DEAL_II_HAVE_SSE2)
- $(cmake-utils_use threads DEAL_II_WITH_THREADS)
+ $(if use static-libs; then echo -DBUILD_SHARED_LIBS=OFF;fi)
+ $(cmake-utils_use static-libs DEAL_II_PREFER_STATIC_LIBS)
+ $(cmake-utils_use tbb DEAL_II_WITH_THREADS)
$(cmake-utils_use trilinos DEAL_II_WITH_TRILINOS)
- $(cmake-utils_use umfpack DEAL_II_WITH_UMFPACK)
$(cmake-utils_use zlib DEAL_II_WITH_ZLIB)
"-DCMAKE_INSTALL_RPATH_USE_LINK_PATH=OFF"
"-DDEAL_II_COMPONENT_COMPAT_FILES=OFF"
diff --git a/sci-libs/dealii/metadata.xml b/sci-libs/dealii/metadata.xml
index 0567794..65475b5 100644
--- a/sci-libs/dealii/metadata.xml
+++ b/sci-libs/dealii/metadata.xml
@@ -22,7 +22,7 @@
<flag name="p4est">Add support for p4est (<pkg>sci-mathematics/p4est</pkg>)</flag>
<flag name="parameter_gui">Build and install the parameter_gui executable</flag>
<flag name="petsc">Add support for petsc (<pkg>sci-libs/petsc</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="umfpack">Add support for umfpack (<pkg>sci-libs/umfpack</pkg>)</flag>
</use>
</pkgmetadata>
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/dealii/
@ 2013-07-26 16:13 Nicolas Bock
0 siblings, 0 replies; 53+ messages in thread
From: Nicolas Bock @ 2013-07-26 16:13 UTC (permalink / raw
To: gentoo-commits
commit: 0c5d62cedabb94f483c1295b08e0a440d0e82c94
Author: Matthias Maier <tamiko <AT> kyomu <DOT> 43-1 <DOT> org>
AuthorDate: Thu Jul 25 09:08:48 2013 +0000
Commit: Nicolas Bock <nicolasbock <AT> gmail <DOT> com>
CommitDate: Thu Jul 25 09:53:16 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=0c5d62ce
An ebuild for deal.II [1]
This commit introduces an ebuild for the deal.II library.
[1] http://www.dealii.org/
"deal.II is a C++ program library targeted at the computational solution of
partial differential equations using adaptive finite elements. It uses
state-of-the-art programming techniques to offer you a modern interface to the
complex data structures and algorithms required."
---
sci-libs/dealii/dealii-8.0.0.ebuild | 1 +
sci-libs/dealii/dealii-9999.ebuild | 118 ++++++++++++++++++++++++++++++++++++
sci-libs/dealii/metadata.xml | 28 +++++++++
3 files changed, 147 insertions(+)
diff --git a/sci-libs/dealii/dealii-8.0.0.ebuild b/sci-libs/dealii/dealii-8.0.0.ebuild
new file mode 120000
index 0000000..9860d7b
--- /dev/null
+++ b/sci-libs/dealii/dealii-8.0.0.ebuild
@@ -0,0 +1 @@
+dealii-9999.ebuild
\ No newline at end of file
diff --git a/sci-libs/dealii/dealii-9999.ebuild b/sci-libs/dealii/dealii-9999.ebuild
new file mode 100644
index 0000000..9a4f7c8
--- /dev/null
+++ b/sci-libs/dealii/dealii-9999.ebuild
@@ -0,0 +1,118 @@
+# Copyright 2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+if [[ ${PV} == "9999" ]] ; then
+ inherit cmake-utils subversion eutils multilib
+else
+ inherit cmake-utils eutils multilib
+fi
+
+DESCRIPTION="library for solving partial differential equations with the finite element method"
+HOMEPAGE="http://www.dealii.org/"
+
+if [[ ${PV} == "9999" ]] ; then
+ ESVN_REPO_URI="https://svn.dealii.org/trunk/deal.II"
+ ESVN_OPTIONS="--trust-server-cert --non-interactive"
+ KEYWORDS=""
+else
+ SRC_URI="https://dealii.googlecode.com/files/deal.II-${PV}.tar.gz
+ doc? ( https://dealii.googlecode.com/files/deal.offlinedoc-${PV}.tar.gz )"
+ S="${WORKDIR}/deal.II"
+ KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+fi
+
+LICENSE="LGPL-2.1+"
+SLOT="0"
+IUSE="arpack avx +debug doc +examples hdf5 +lapack mesh_converter metis mpi mumps netcdf p4est parameter_gui petsc sse2 +threads trilinos +umfpack +zlib"
+# TODO: add slepc use flag once slepc is packaged for gentoo-science
+
+DEPEND="
+ dev-libs/boost
+ sys-libs/zlib
+ arpack? ( sci-libs/arpack[mpi?] )
+ doc? ( app-doc/doxygen[dot] dev-lang/perl )
+ hdf5? ( sci-libs/hdf5[mpi?] )
+ lapack? ( virtual/lapack )
+ metis? ( >=sci-libs/parmetis-4[mpi?] )
+ mpi? ( virtual/mpi )
+ mumps? ( sci-libs/mumps[mpi?] )
+ netcdf? ( || ( <sci-libs/netcdf-4.2[cxx] sci-libs/netcdf-cxx ) )
+ p4est? ( sci-libs/p4est[mpi?] )
+ parameter_gui? ( dev-qt/qtgui )
+ petsc? ( sci-mathematics/petsc[mpi?] )
+ threads? ( dev-cpp/tbb )
+ trilinos? ( sci-libs/trilinos )
+ umfpack? ( sci-libs/umfpack )
+ zlib? ( sys-libs/zlib )
+"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+
+ if [[ ${PV} == "9999" ]] ; then
+ subversion_wc_info
+ local live_version="-DDEAL_II_PACKAGE_VERSION=99.99.svn${ESVN_WC_REVISION}"
+ fi
+
+ if use debug; then
+ CMAKE_BUILD_TYPE="DebugRelease"
+ else
+ CMAKE_BUILD_TYPE="Release"
+ fi
+
+ local mycmakeargs=(
+ ${live_version}
+ "-DDEAL_II_ALLOW_AUTODETECTION=OFF"
+ "-DDEAL_II_ALLOW_BUNDLED=OFF"
+ "-DDEAL_II_ALLOW_PLATFORM_INTROSPECTION=OFF"
+ $(cmake-utils_use arpack DEAL_II_WITH_ARPACK)
+ $(cmake-utils_use avx DEAL_II_HAVE_AVX)
+ $(cmake-utils_use doc DEAL_II_COMPONENT_DOCUMENTATION)
+ $(cmake-utils_use examples DEAL_II_COMPONENT_EXAMPLES)
+ $(cmake-utils_use hdf5 DEAL_II_WITH_HDF5)
+ $(cmake-utils_use lapack DEAL_II_WITH_LAPACK)
+ $(cmake-utils_use mesh_converter DEAL_II_COMPONENT_MESH_CONVERTER)
+ $(cmake-utils_use metis DEAL_II_WITH_METIS)
+ $(cmake-utils_use mpi DEAL_II_WITH_MPI)
+ $(cmake-utils_use mumps DEAL_II_WITH_MUMPS)
+ $(cmake-utils_use netcdf DEAL_II_WITH_NETCDF)
+ $(cmake-utils_use p4est DEAL_II_WITH_P4EST)
+ $(cmake-utils_use parameter_gui DEAL_II_COMPONENT_PARAMETER_GUI)
+ $(cmake-utils_use petsc DEAL_II_WITH_PETSC)
+ $(cmake-utils_use sse2 DEAL_II_HAVE_SSE2)
+ $(cmake-utils_use threads DEAL_II_WITH_THREADS)
+ $(cmake-utils_use trilinos DEAL_II_WITH_TRILINOS)
+ $(cmake-utils_use umfpack DEAL_II_WITH_UMFPACK)
+ $(cmake-utils_use zlib DEAL_II_WITH_ZLIB)
+ "-DCMAKE_INSTALL_RPATH_USE_LINK_PATH=OFF"
+ "-DDEAL_II_COMPONENT_COMPAT_FILES=OFF"
+ "-DDEAL_II_CMAKE_MACROS_RELDIR=share/${PN}/cmake/macros"
+ "-DDEAL_II_DOCHTML_RELDIR=share/doc/${PF}/html"
+ "-DDEAL_II_DOCREADME_RELDIR=share/doc/${PF}/"
+ "-DDEAL_II_EXAMPLES_RELDIR=share/${PN}/examples"
+ "-DDEAL_II_LIBRARY_RELDIR=$(get_libdir)"
+ )
+ cmake-utils_src_configure
+}
+
+src_install() {
+ dodoc LICENSE README
+
+ if use !doc; then
+ # install some minimalistic bits of the html documentation:
+ dohtml doc/authors.html doc/license.html doc/screen.css
+ else
+ if [[ ${PV} != "9999" ]] ; then
+ # copy missing images to the build directory:
+ cp -r "${WORKDIR}"/doc/doxygen/deal.II/images "${WORKDIR}"/${P}_build/doc/doxygen/deal.II
+ # replace links:
+ sed -i \
+ 's#"http://www.dealii.org/images/steps/developer/\(step-.*\)"#"images/\1"#g' \
+ "${WORKDIR}"/${P}_build/doc/doxygen/deal.II/step_*.html || die "sed failed"
+ fi
+ fi
+ cmake-utils_src_install
+}
diff --git a/sci-libs/dealii/metadata.xml b/sci-libs/dealii/metadata.xml
new file mode 100644
index 0000000..0567794
--- /dev/null
+++ b/sci-libs/dealii/metadata.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci</herd>
+<maintainer>
+ <email>tamiko+GENTOO@kyomu.43-1.org</email>
+ <name>Matthias Maier</name>
+</maintainer>
+<longdescription lang="en">
+ deal.II is a C++ program library targeted at the computational solution
+ of partial differential equations using adaptive finite elements. It uses
+ state-of-the-art programming techniques to offer you a modern interface
+ to the complex data structures and algorithms required.
+</longdescription>
+<use>
+ <flag name="arpack">Adds support for ARPACK (<pkg>sci-libs/arpack</pkg>)</flag>
+ <flag name="avx">Use Advanced Vector Extensions for AVX capable chips</flag>
+ <flag name="debug">Build an additional debug library with extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see <http://www.gentoo.org/proj/en/qa/backtraces.xml></flag>
+ <flag name="mesh_converter">Build and install the mesh_converter executable</flag>
+ <flag name="metis">Add support for metis (<pkg>sci-libs/metis</pkg>)</flag>
+ <flag name="mumps">Add support for mumps (<pkg>sci-libs/mumps</pkg>)</flag>
+ <flag name="p4est">Add support for p4est (<pkg>sci-mathematics/p4est</pkg>)</flag>
+ <flag name="parameter_gui">Build and install the parameter_gui executable</flag>
+ <flag name="petsc">Add support for petsc (<pkg>sci-libs/petsc</pkg>)</flag>
+ <flag name="trilinos">Add support for trilinos (<pkg>sci-libs/trilinos</pkg>)</flag>
+ <flag name="umfpack">Add support for umfpack (<pkg>sci-libs/umfpack</pkg>)</flag>
+</use>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] 53+ messages in thread
end of thread, other threads:[~2019-08-05 6:52 UTC | newest]
Thread overview: 53+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-31 20:19 [gentoo-commits] proj/sci:master commit in: sci-libs/dealii/ Christoph Junghans
-- strict thread matches above, loose matches on Subject: below --
2019-08-05 6:52 Matthias Maier
2019-08-02 1:05 Matthias Maier
2019-05-22 17:33 Matthias Maier
2019-04-25 23:51 Matthias Maier
2018-10-11 21:47 Matthias Maier
2018-05-24 2:26 Matthias Maier
2018-05-24 1:21 Matthias Maier
2018-05-13 20:01 Matthias Maier
2018-05-11 22:16 Matthias Maier
2018-05-11 22:16 Matthias Maier
2018-03-19 18:11 Matthias Maier
2017-12-26 12:22 Matthias Maier
2017-10-07 18:28 Matthias Maier
2017-08-14 16:57 Matthias Maier
2017-06-18 13:04 Matthias Maier
2017-04-11 14:50 Marius Brehler
2017-04-11 14:50 Marius Brehler
2017-04-11 14:50 Marius Brehler
2017-03-16 19:35 Justin Lecher
2016-09-06 0:18 Christoph Junghans
2016-07-12 19:57 Marius Brehler
2016-07-12 19:57 Marius Brehler
2016-04-23 23:21 Christoph Junghans
2016-04-23 23:21 Christoph Junghans
2015-08-27 15:01 Justin Lecher
2015-08-03 12:35 Justin Lecher
2015-08-03 12:35 Justin Lecher
2015-07-10 3:59 Nicolas Bock
2015-06-06 10:23 Justin Lecher
2015-06-06 10:23 Justin Lecher
2015-03-29 10:24 Justin Lecher
2015-01-22 0:09 Christoph Junghans
2015-01-22 0:09 Christoph Junghans
2015-01-15 6:53 Justin Lecher
2015-01-15 6:53 Justin Lecher
2015-01-01 15:26 Andrew Savchenko
2014-12-24 18:54 Christoph Junghans
2014-12-24 18:54 Christoph Junghans
2014-08-25 22:43 Christoph Junghans
2014-03-03 20:37 Sebastien Fabbro
2014-03-03 20:37 Sebastien Fabbro
2014-01-04 12:08 Justin Lecher
2014-01-04 12:08 Justin Lecher
2013-07-26 16:14 Nicolas Bock
2013-07-26 16:14 Nicolas Bock
2013-07-26 16:14 Nicolas Bock
2013-07-26 16:14 Nicolas Bock
2013-07-26 16:14 Nicolas Bock
2013-07-26 16:14 Nicolas Bock
2013-07-26 16:14 Nicolas Bock
2013-07-26 16:14 Nicolas Bock
2013-07-26 16:13 Nicolas Bock
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox