commit:     4bef1d27b62f8a81283537d10ac6040e40395199
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 14 22:13:34 2020 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Jun 14 22:13:34 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4bef1d27

sci-libs/arpack: [QA] Fix multiple violations

Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 sci-libs/arpack/arpack-3.4.0.ebuild |  9 ++++-----
 sci-libs/arpack/arpack-3.5.0.ebuild |  9 ++++-----
 sci-libs/arpack/arpack-9999.ebuild  | 12 +++++-------
 3 files changed, 13 insertions(+), 17 deletions(-)

diff --git a/sci-libs/arpack/arpack-3.4.0.ebuild 
b/sci-libs/arpack/arpack-3.4.0.ebuild
index 69fc2492c91..dfec8e3b0d4 100644
--- a/sci-libs/arpack/arpack-3.4.0.ebuild
+++ b/sci-libs/arpack/arpack-3.4.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit autotools eutils flag-o-matic fortran-2 toolchain-funcs
+inherit autotools flag-o-matic fortran-2 toolchain-funcs
 
 DESCRIPTION="Arnoldi package library to solve large scale eigenvalue problems"
 HOMEPAGE="http://www.caam.rice.edu/software/ARPACK/ 
https://github.com/opencollab/arpack-ng";
@@ -22,8 +22,8 @@ RDEPEND="
        virtual/blas
        virtual/lapack
        mpi? ( virtual/mpi[fortran] )"
-DEPEND="${RDEPEND}
-       virtual/pkgconfig"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
 
 S="${WORKDIR}/${PN}-ng-${PV}"
 
@@ -50,10 +50,9 @@ src_install() {
        newdoc DOCUMENTS/README README.doc
        use doc && dodoc "${WORKDIR}"/*.ps
        if use examples; then
-               docinto /usr/share/doc/${PF}
                dodoc -r EXAMPLES
                if use mpi; then
-                       docinto /usr/share/doc/${PF}/EXAMPLES/PARPACK
+                       docinto EXAMPLES/PARPACK
                        dodoc -r PARPACK/EXAMPLES/MPI
                fi
        fi

diff --git a/sci-libs/arpack/arpack-3.5.0.ebuild 
b/sci-libs/arpack/arpack-3.5.0.ebuild
index 9d7769d6392..aced391f4b3 100644
--- a/sci-libs/arpack/arpack-3.5.0.ebuild
+++ b/sci-libs/arpack/arpack-3.5.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit autotools eutils flag-o-matic fortran-2 toolchain-funcs
+inherit autotools flag-o-matic fortran-2 toolchain-funcs
 
 DESCRIPTION="Arnoldi package library to solve large scale eigenvalue problems"
 HOMEPAGE="http://www.caam.rice.edu/software/ARPACK/ 
https://github.com/opencollab/arpack-ng";
@@ -22,8 +22,8 @@ RDEPEND="
        virtual/blas
        virtual/lapack
        mpi? ( virtual/mpi[fortran] )"
-DEPEND="${RDEPEND}
-       virtual/pkgconfig"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
 
 S="${WORKDIR}/${PN}-ng-${PV}"
 
@@ -50,10 +50,9 @@ src_install() {
        newdoc DOCUMENTS/README README.doc
        use doc && dodoc "${WORKDIR}"/*.ps
        if use examples; then
-               docinto /usr/share/doc/${PF}
                dodoc -r EXAMPLES
                if use mpi; then
-                       docinto /usr/share/doc/${PF}/EXAMPLES/PARPACK
+                       docinto EXAMPLES/PARPACK
                        dodoc -r PARPACK/EXAMPLES/MPI
                fi
        fi

diff --git a/sci-libs/arpack/arpack-9999.ebuild 
b/sci-libs/arpack/arpack-9999.ebuild
index e295ad66c2c..eac5961625d 100644
--- a/sci-libs/arpack/arpack-9999.ebuild
+++ b/sci-libs/arpack/arpack-9999.ebuild
@@ -3,12 +3,11 @@
 
 EAPI=7
 
-inherit autotools eutils fortran-2 toolchain-funcs
+inherit autotools fortran-2 toolchain-funcs
 
-if [[ ${PV} = *9999* ]]; then
+if [[ ${PV} == *9999 ]]; then
        inherit git-r3
        EGIT_REPO_URI="https://github.com/opencollab/arpack-ng";
-       KEYWORDS=""
 else
        SRC_URI="https://github.com/opencollab/${PN}-ng/archive/${PV}.tar.gz -> 
${P}.tar.gz"
        KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux 
~ppc-macos"
@@ -25,8 +24,8 @@ RDEPEND="
        virtual/blas
        virtual/lapack
        mpi? ( virtual/mpi[fortran] )"
-DEPEND="${RDEPEND}
-       virtual/pkgconfig"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
 
 src_prepare() {
        default
@@ -47,10 +46,9 @@ src_install() {
        dodoc DOCUMENTS/*.doc
        newdoc DOCUMENTS/README README.doc
        if use examples; then
-               docinto /usr/share/doc/${PF}
                dodoc -r EXAMPLES
                if use mpi; then
-                       docinto /usr/share/doc/${PF}/EXAMPLES/PARPACK
+                       docinto EXAMPLES/PARPACK
                        dodoc -r PARPACK/EXAMPLES/MPI
                fi
        fi

Reply via email to