summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2020-06-15 00:13:34 +0200
committerDavid Seifert <soap@gentoo.org>2020-06-15 00:13:34 +0200
commit4bef1d27b62f8a81283537d10ac6040e40395199 (patch)
treed251e4f14c1caff722b744e6b44794a98899cada /sci-libs/arpack
parentsci-libs/arpack: Conditionally add -fallow-argument-mismatch (diff)
downloadgentoo-4bef1d27b62f8a81283537d10ac6040e40395199.tar.gz
gentoo-4bef1d27b62f8a81283537d10ac6040e40395199.tar.bz2
gentoo-4bef1d27b62f8a81283537d10ac6040e40395199.zip
sci-libs/arpack: [QA] Fix multiple violations
Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sci-libs/arpack')
-rw-r--r--sci-libs/arpack/arpack-3.4.0.ebuild9
-rw-r--r--sci-libs/arpack/arpack-3.5.0.ebuild9
-rw-r--r--sci-libs/arpack/arpack-9999.ebuild12
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 69fc2492c91d..dfec8e3b0d4c 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 9d7769d63926..aced391f4b38 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 e295ad66c2cd..eac5961625d4 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