From: "Matthias Maier" <tamiko@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-mathematics/slepc/
Date: Sat, 9 Mar 2019 06:07:20 +0000 (UTC) [thread overview]
Message-ID: <1552111631.adbc744f06cd4ea9f381b0688fe88d88499344d9.tamiko@gentoo> (raw)
commit: adbc744f06cd4ea9f381b0688fe88d88499344d9
Author: Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 9 05:42:40 2019 +0000
Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Sat Mar 9 06:07:11 2019 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=adbc744f
sci-mathematics/slepc: version bump to 3.10.2
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>
sci-mathematics/slepc/slepc-3.10.2.ebuild | 74 +++++++++++++++++++++++++++++++
1 file changed, 74 insertions(+)
diff --git a/sci-mathematics/slepc/slepc-3.10.2.ebuild b/sci-mathematics/slepc/slepc-3.10.2.ebuild
new file mode 100644
index 000000000..2009090c1
--- /dev/null
+++ b/sci-mathematics/slepc/slepc-3.10.2.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit eutils flag-o-matic python-any-r1 toolchain-funcs versionator
+
+DESCRIPTION="Scalable Library for Eigenvalue Problem Computations"
+HOMEPAGE="http://slepc.upv.es/"
+SRC_URI="http://slepc.upv.es/download/distrib/${P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="complex-scalars doc mpi"
+
+PETSC_PV="$(get_version_component_range 1-2 ${PV})"
+RDEPEND="
+ =sci-mathematics/petsc-${PETSC_PV}*:=[mpi=,complex-scalars=]
+ sci-libs/arpack[mpi=]
+ mpi? ( virtual/mpi )
+"
+
+DEPEND="${RDEPEND}
+ ${PYTHON_DEPS}
+ virtual/pkgconfig
+ dev-util/cmake
+"
+
+MAKEOPTS="${MAKEOPTS} -j1 V=1"
+
+src_prepare() {
+ default
+
+ sed -i -e 's%/usr/bin/env python%/usr/bin/env python2%' configure || die
+}
+
+src_configure() {
+ # *sigh*
+ addpredict "${PETSC_DIR}"/.nagged
+
+ # Make sure that the environment is set up correctly:
+ unset PETSC_DIR
+ unset PETSC_ARCH
+ unset SLEPC_DIR
+ source "${EPREFIX}"/etc/env.d/99petsc
+ export PETSC_DIR
+
+ # configure is a custom python script and doesn't want to have default
+ # configure arguments that we set with econf
+ ./configure \
+ --prefix="${EPREFIX}/usr/$(get_libdir)/slepc" \
+ --with-arpack=1 \
+ --with-arpack-dir="${EPREFIX}/usr/$(get_libdir)" \
+ --with-arpack-flags="$(usex mpi "-lparpack,-larpack" "-larpack")"
+
+}
+
+src_install() {
+ emake SLEPC_DESTDIR="${D}/usr/$(get_libdir)/slepc" install
+
+ # add PETSC_DIR to environmental variables
+ cat >> 99slepc <<- EOF
+ SLEPC_DIR=${EPREFIX}/usr/$(get_libdir)/slepc
+ EOF
+ doenvd 99slepc
+
+ if use doc ; then
+ dodoc docs/slepc.pdf
+ dohtml -r docs/*.html docs/manualpages
+ fi
+}
next reply other threads:[~2019-03-09 6:07 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-09 6:07 Matthias Maier [this message]
-- strict thread matches above, loose matches on Subject: below --
2019-08-05 6:52 [gentoo-commits] proj/sci:master commit in: sci-mathematics/slepc/ Matthias Maier
2019-07-12 11:19 Matthias Maier
2019-05-14 3:58 Matthias Maier
2018-10-01 17:36 Matthias Maier
2018-04-23 1:22 Matthias Maier
2018-03-19 3:40 Matthias Maier
2017-06-30 14:47 Matthias Maier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1552111631.adbc744f06cd4ea9f381b0688fe88d88499344d9.tamiko@gentoo \
--to=tamiko@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox