aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Maier <tamiko@gentoo.org>2015-01-15 00:50:33 +0100
committerJustin Lecher <jlec@gentoo.org>2015-01-15 07:52:56 +0100
commite9c888a873563ea5b1fe98e3ea2d3c501453fc10 (patch)
tree24c24635ed0c51cd4cf9b800dbc21a0d1182a2e8 /sci-libs
parentsci-libs/libspatialindex: add myself to metadata.xml (diff)
downloadsci-e9c888a873563ea5b1fe98e3ea2d3c501453fc10.tar.gz
sci-e9c888a873563ea5b1fe98e3ea2d3c501453fc10.tar.bz2
sci-e9c888a873563ea5b1fe98e3ea2d3c501453fc10.zip
sci-libs/dealii - version bump; update live build
Package-Manager: portage-2.2.15
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/dealii/ChangeLog8
-rw-r--r--sci-libs/dealii/Manifest2
l---------sci-libs/dealii/dealii-8.2.0.ebuild2
-rw-r--r--sci-libs/dealii/dealii-8.2.1.ebuild127
-rw-r--r--sci-libs/dealii/dealii-9999.ebuild7
5 files changed, 139 insertions, 7 deletions
diff --git a/sci-libs/dealii/ChangeLog b/sci-libs/dealii/ChangeLog
index 40e7c6894..47c62f19b 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/Manifest b/sci-libs/dealii/Manifest
index 2d20fdf0c..bb7faf0be 100644
--- a/sci-libs/dealii/Manifest
+++ b/sci-libs/dealii/Manifest
@@ -2,3 +2,5 @@ DIST dealii-8.1.0-offline_documentation.tar.gz 96865280 SHA256 c39f309ff5296a05d
DIST dealii-8.1.0.tar.gz 13353502 SHA256 d666bbda2a17b41b80221d7029468246f2658051b8c00d9c5907cd6434c4df99 SHA512 9d6e913e7a8c54f386839d031f2931a74e8ac6e7db8693c201a11ec6ca34962626a42a57b727297c9f3d8b9efebddb4f2397c27bbee4212e726ce2714f1c3f70 WHIRLPOOL 8cd7aeb47c28bc473bb24d1632f6074de893b20d995d6077c80b88834693b8f9ad1aee181b7abda55a5567efa6c6d169da4c6061cd939b63351330f7e4b767c5
DIST dealii-8.2.0-offline_documentation.tar.gz 100812912 SHA256 90097f935731c418b4ab134063a186735cc9437f6a780bd3a640f093078082d6 SHA512 cb1b871a86d79cbaeba833c21ccfb80b362d0c7860397e94ca0dea62240ea18b70f28cc362a2c61021189ef08eea9fa0adf013d5c172e6551f0a5aacd8134fd7 WHIRLPOOL 0aba8d8ff27b4135e4b453049dd7d095634c559d89d6dd9dc24d5e77ca94955474df5ae490dbce83e7861c2e2d0760470998b14b266856e85b5462edd78a628a
DIST dealii-8.2.0.tar.gz 13666090 SHA256 a6f136c59a6b1c0789ea1692b7429a56e4fc3272a6e5079c08cdb3f5e24f982c SHA512 040056258f2c00d0ebae044011e851ab120432298dccda63a4853653c8c0839b7562e71a7ac37513d71f4eff319f57a61ed7189c564a9ba2936870266ac0470f WHIRLPOOL bcb1e0f478bb7baaa492b78e1d0062d84faef275cd0e82b1889867d6f6e49658fd6da5ec2ead8038f224562877166f778408e4462bb262038de4e2c7e95fe6ec
+DIST dealii-8.2.1-offline_documentation.tar.gz 98861605 SHA256 4622e8ef96c5105dc9cf6e35c54a6fd072956235320646c4f53b5def7748b2fd SHA512 721d963991d53f2c23010f6c398cddd9e058385375a3a77245fbe95b10dbfe1a452d1c2ead2cb8d8a0174b0b2262ed40832f100a545af49dc923d19f42e8e283 WHIRLPOOL 5a1d070d8336c9d9a3a582a73457fa1831f737ecd5def1787bcbffef30f718eef03c57c58ea80e79d6735b73d6f8c83d498a366f002fa5078ef51c71af74b2f9
+DIST dealii-8.2.1.tar.gz 13667634 SHA256 d75674e45fe63cd9fa294460fe45228904d51a68f744dbb99cd7b60720f3b2a0 SHA512 9cd3ed9a4330aa7464ecfe92677fcddae0aadcca7885c898eb8a746caa30fff587ccf5614cec61ffb6b27280c94b423d6370661a1791c601d7abce163502daeb WHIRLPOOL d7b86adcf7dc5dddf63aac4d37be6512aff9889279eb58f9d79cbc5d0c467a1ba50892a08495057f20a3352767f88a42bff7d82f9ba2b5567b02511cb806b7f5
diff --git a/sci-libs/dealii/dealii-8.2.0.ebuild b/sci-libs/dealii/dealii-8.2.0.ebuild
index 9860d7b9f..e7cf68128 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-8.2.1.ebuild b/sci-libs/dealii/dealii-8.2.1.ebuild
new file mode 100644
index 000000000..2aff61972
--- /dev/null
+++ b/sci-libs/dealii/dealii-8.2.1.ebuild
@@ -0,0 +1,127 @@
+# 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 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
+"
+
+# 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-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 )"
+
+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 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)
+ $(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 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_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
index 09a86833f..5894b447e 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}"