commit:     9f25ff6dfa6b7631f53b8e1e5a8144f07f1cc15f
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Mon Aug  5 05:53:15 2019 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Mon Aug  5 06:51:26 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f25ff6d

sci-mathematics/slepc: port to EAPI 7

Package-Manager: Portage-2.3.70, Repoman-2.3.16
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

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

diff --git a/sci-mathematics/slepc/slepc-3.11.1.ebuild 
b/sci-mathematics/slepc/slepc-3.11.1.ebuild
index cfd41a75da8..52212cabfd5 100644
--- a/sci-mathematics/slepc/slepc-3.11.1.ebuild
+++ b/sci-mathematics/slepc/slepc-3.11.1.ebuild
@@ -1,11 +1,11 @@
 # Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
 PYTHON_COMPAT=( python2_7 )
 
-inherit eutils flag-o-matic python-any-r1 toolchain-funcs versionator
+inherit eutils flag-o-matic python-any-r1 toolchain-funcs
 
 DESCRIPTION="Scalable Library for Eigenvalue Problem Computations"
 HOMEPAGE="http://slepc.upv.es/";
@@ -16,9 +16,8 @@ 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-mathematics/petsc-$(ver_cut 1-2)*:=[mpi=,complex-scalars=]
        sci-libs/arpack[mpi=]
        mpi? ( virtual/mpi )
 "
@@ -29,7 +28,7 @@ DEPEND="${RDEPEND}
        dev-util/cmake
 "
 
-MAKEOPTS="${MAKEOPTS} -j1 V=1"
+MAKEOPTS="${MAKEOPTS} V=1"
 
 src_prepare() {
        default
@@ -70,6 +69,7 @@ src_install() {
 
        if use doc ; then
                dodoc docs/slepc.pdf
-               dohtml -r docs/*.html docs/manualpages
+               docinto html
+               dodoc -r docs/*.html docs/manualpages
        fi
 }

Reply via email to