[gentoo-commits] proj/sci:master commit in: sci-mathematics/slepc/

2019-08-05 Thread Matthias Maier
commit: 08b9ff19f7cc09585c640b206701d8c4767ca88f
Author: Matthias Maier  gentoo  org>
AuthorDate: Mon Aug  5 06:45:47 2019 +
Commit: Matthias Maier  gentoo  org>
CommitDate: Mon Aug  5 06:45:47 2019 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=08b9ff19

sci-mathematics/slepc: merge into ::gentoo and remove from overlay.

Signed-off-by: Matthias Maier  gentoo.org>

 sci-mathematics/slepc/metadata.xml| 15 ---
 sci-mathematics/slepc/slepc-3.10.2.ebuild | 74 ---
 sci-mathematics/slepc/slepc-3.11.1.ebuild | 74 ---
 3 files changed, 163 deletions(-)

diff --git a/sci-mathematics/slepc/metadata.xml 
b/sci-mathematics/slepc/metadata.xml
deleted file mode 100644
index 046ec6c8f..0
--- a/sci-mathematics/slepc/metadata.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-
-http://www.gentoo.org/dtd/metadata.dtd;>
-
-   
-   tam...@gentoo.org
-   Matthias Maier
-   
-   
-   sci-mathemat...@gentoo.org
-   Gentoo Mathematics Project
-   
-   
-   Make scalars complex
-   
-

diff --git a/sci-mathematics/slepc/slepc-3.10.2.ebuild 
b/sci-mathematics/slepc/slepc-3.10.2.ebuild
deleted file mode 100644
index 2009090c1..0
--- a/sci-mathematics/slepc/slepc-3.10.2.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# 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
-}

diff --git a/sci-mathematics/slepc/slepc-3.11.1.ebuild 
b/sci-mathematics/slepc/slepc-3.11.1.ebuild
deleted file mode 100644
index 19000343d..0
--- a/sci-mathematics/slepc/slepc-3.11.1.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# 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 \

[gentoo-commits] proj/sci:master commit in: sci-mathematics/slepc/

2019-07-12 Thread Matthias Maier
commit: 47cb9d9136d6bdf7595de93c033f2b1be00dde0f
Author: Matthias Maier  gentoo  org>
AuthorDate: Fri Jul 12 10:57:26 2019 +
Commit: Matthias Maier  gentoo  org>
CommitDate: Fri Jul 12 10:57:26 2019 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=47cb9d91

sci-mathematics/slepc: drop old

Package-Manager: Portage-2.3.68, Repoman-2.3.16
Signed-off-by: Matthias Maier  gentoo.org>

 sci-mathematics/slepc/slepc-3.10.0.ebuild | 74 ---
 sci-mathematics/slepc/slepc-3.8.2.ebuild  | 74 ---
 sci-mathematics/slepc/slepc-3.9.0.ebuild  | 74 ---
 3 files changed, 222 deletions(-)

diff --git a/sci-mathematics/slepc/slepc-3.10.0.ebuild 
b/sci-mathematics/slepc/slepc-3.10.0.ebuild
deleted file mode 100644
index 5bd6c4b95..0
--- a/sci-mathematics/slepc/slepc-3.10.0.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# 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
-}

diff --git a/sci-mathematics/slepc/slepc-3.8.2.ebuild 
b/sci-mathematics/slepc/slepc-3.8.2.ebuild
deleted file mode 100644
index 5bd6c4b95..0
--- a/sci-mathematics/slepc/slepc-3.8.2.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# 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
-   

[gentoo-commits] proj/sci:master commit in: sci-mathematics/slepc/

2019-05-13 Thread Matthias Maier
commit: f9a2276a49e057e726bcca92f722ea84802bf637
Author: Matthias Maier  gentoo  org>
AuthorDate: Tue May 14 03:39:57 2019 +
Commit: Matthias Maier  gentoo  org>
CommitDate: Tue May 14 03:58:44 2019 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=f9a2276a

sci-mathematics/slepc: version bump to 3.11.1

Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Matthias Maier  gentoo.org>

 sci-mathematics/slepc/slepc-3.11.1.ebuild | 74 +++
 1 file changed, 74 insertions(+)

diff --git a/sci-mathematics/slepc/slepc-3.11.1.ebuild 
b/sci-mathematics/slepc/slepc-3.11.1.ebuild
new file mode 100644
index 0..19000343d
--- /dev/null
+++ b/sci-mathematics/slepc/slepc-3.11.1.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 DESTDIR="${ED}" 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
+}



[gentoo-commits] proj/sci:master commit in: sci-mathematics/slepc/

2019-03-08 Thread Matthias Maier
commit: adbc744f06cd4ea9f381b0688fe88d88499344d9
Author: Matthias Maier  gentoo  org>
AuthorDate: Sat Mar  9 05:42:40 2019 +
Commit: Matthias Maier  gentoo  org>
CommitDate: Sat Mar  9 06:07:11 2019 +
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  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 0..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
+}



[gentoo-commits] proj/sci:master commit in: sci-mathematics/slepc/

2018-10-01 Thread Matthias Maier
commit: cf8e0b1160481866570c3babf725d3dc4798b4e6
Author: Matthias Maier  gentoo  org>
AuthorDate: Mon Oct  1 16:06:44 2018 +
Commit: Matthias Maier  gentoo  org>
CommitDate: Mon Oct  1 16:06:44 2018 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=cf8e0b11

sci-mathematics/slepc: version bump to 3.10.0

Package-Manager: Portage-2.3.49, Repoman-2.3.10

 sci-mathematics/slepc/{slepc-3.7.4.ebuild => slepc-3.10.0.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-mathematics/slepc/slepc-3.7.4.ebuild 
b/sci-mathematics/slepc/slepc-3.10.0.ebuild
similarity index 97%
rename from sci-mathematics/slepc/slepc-3.7.4.ebuild
rename to sci-mathematics/slepc/slepc-3.10.0.ebuild
index aa5b6e2a8..eb250a909 100644
--- a/sci-mathematics/slepc/slepc-3.7.4.ebuild
+++ b/sci-mathematics/slepc/slepc-3.10.0.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



[gentoo-commits] proj/sci:master commit in: sci-mathematics/slepc/

2018-04-22 Thread Matthias Maier
commit: 782d0502b55a578a251c98f9221a86e3a37e614a
Author: Matthias Maier  gentoo  org>
AuthorDate: Mon Apr 23 00:31:39 2018 +
Commit: Matthias Maier  gentoo  org>
CommitDate: Mon Apr 23 00:31:39 2018 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=782d0502

sci-mathematics/slepc: version bump to 3.9.0

Package-Manager: Portage-2.3.31, Repoman-2.3.9

 sci-mathematics/slepc/slepc-3.9.0.ebuild | 74 
 1 file changed, 74 insertions(+)

diff --git a/sci-mathematics/slepc/slepc-3.9.0.ebuild 
b/sci-mathematics/slepc/slepc-3.9.0.ebuild
new file mode 100644
index 0..eb250a909
--- /dev/null
+++ b/sci-mathematics/slepc/slepc-3.9.0.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2018 Gentoo Foundation
+# 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="~x86 ~amd64"
+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
+}



[gentoo-commits] proj/sci:master commit in: sci-mathematics/slepc/

2018-03-18 Thread Matthias Maier
commit: 0ada0c5cde6f8b3d69ec41d431a1a64b5b41ed33
Author: Matthias Maier  gentoo  org>
AuthorDate: Mon Mar 19 03:31:54 2018 +
Commit: Matthias Maier  gentoo  org>
CommitDate: Mon Mar 19 03:31:54 2018 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=0ada0c5c

sci-mathematics/slepc: version bump to 3.8.2

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 sci-mathematics/slepc/slepc-3.8.2.ebuild | 74 
 1 file changed, 74 insertions(+)

diff --git a/sci-mathematics/slepc/slepc-3.8.2.ebuild 
b/sci-mathematics/slepc/slepc-3.8.2.ebuild
new file mode 100644
index 0..eb250a909
--- /dev/null
+++ b/sci-mathematics/slepc/slepc-3.8.2.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2018 Gentoo Foundation
+# 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="~x86 ~amd64"
+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
+}



[gentoo-commits] proj/sci:master commit in: sci-mathematics/slepc/

2017-06-30 Thread Matthias Maier
commit: 6d15f25c84d1ff9e392e0a57ee4442bdfab04cbb
Author: Matthias Maier  gentoo  org>
AuthorDate: Fri Jun 30 14:14:03 2017 +
Commit: Matthias Maier  gentoo  org>
CommitDate: Fri Jun 30 14:14:03 2017 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=6d15f25c

sci-mathematics/slepc: fix SRC_URI

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 sci-mathematics/slepc/slepc-3.7.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-mathematics/slepc/slepc-3.7.4.ebuild 
b/sci-mathematics/slepc/slepc-3.7.4.ebuild
index 858afddfb..aa5b6e2a8 100644
--- a/sci-mathematics/slepc/slepc-3.7.4.ebuild
+++ b/sci-mathematics/slepc/slepc-3.7.4.ebuild
@@ -9,7 +9,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/download.php?filename=${P}.tar.gz -> 
${P}.tar.gz"
+SRC_URI="http://slepc.upv.es/download/distrib/${P}.tar.gz;
 
 LICENSE="LGPL-3"
 SLOT="0"