sci-mathematics/slepc: port to EAPI 7
authorMatthias Maier <tamiko@gentoo.org>
Mon, 5 Aug 2019 05:53:15 +0000 (00:53 -0500)
committerMatthias Maier <tamiko@gentoo.org>
Mon, 5 Aug 2019 06:51:26 +0000 (01:51 -0500)
Package-Manager: Portage-2.3.70, Repoman-2.3.16
Signed-off-by: Matthias Maier <tamiko@gentoo.org>
sci-mathematics/slepc/slepc-3.11.1.ebuild

index cfd41a75da89eb3729a647b2b677c2c00fc879ee..52212cabfd52646cc15f5f7b392f959dc6104251 100644 (file)
@@ -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
 }