Diff arpack-3.8.0 with a arpack-9999

/usr/portage/sci-libs/arpack/arpack-9999.ebuild 2021-07-02 10:39:00.000000000 +0300
5 5

  
6 6
inherit autotools fortran-2 toolchain-funcs
7 7

  
8
if [[ ${PV} == *9999 ]]; then
9
	inherit git-r3
10
	EGIT_REPO_URI="https://github.com/opencollab/arpack-ng"
11
else
12
	SRC_URI="https://github.com/opencollab/${PN}-ng/archive/${PV}.tar.gz -> ${P}.tar.gz"
13
	KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
14
	S="${WORKDIR}/${PN}-ng-${PV}"
15
fi
16

  
8 17
DESCRIPTION="Arnoldi package library to solve large scale eigenvalue problems"
9 18
HOMEPAGE="http://www.caam.rice.edu/software/ARPACK/ https://github.com/opencollab/arpack-ng"
10
SRC_URI="
11
	https://github.com/opencollab/${PN}-ng/archive/${PV}.tar.gz -> ${P}.tar.gz
12
	doc? (
13
		http://www.caam.rice.edu/software/ARPACK/SRC/ug.ps.gz
14
		http://www.caam.rice.edu/software/ARPACK/DOCS/tutorial.ps.gz )"
15

  
16 19
LICENSE="BSD"
17 20
SLOT="0"
18
KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
19
IUSE="doc examples mpi"
21
IUSE="examples mpi"
20 22

  
21 23
RDEPEND="
22 24
	virtual/blas
......
25 27
DEPEND="${RDEPEND}"
26 28
BDEPEND="virtual/pkgconfig"
27 29

  
28
S="${WORKDIR}/${PN}-ng-${PV}"
29

  
30 30
src_prepare() {
31 31
	default
32 32
	eautoreconf
......
45 45

  
46 46
	dodoc DOCUMENTS/*.doc
47 47
	newdoc DOCUMENTS/README README.doc
48
	use doc && dodoc "${WORKDIR}"/*.ps
49 48
	if use examples; then
50 49
		dodoc -r EXAMPLES
51 50
		if use mpi; then
Thank you!