Gentoo Archives: gentoo-commits

From: Matthias Maier <tamiko@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/arpack/
Date: Sat, 24 Mar 2018 02:25:56
Message-Id: 1521858334.c8cf40cd6eaecf49f5fe851f7612849394ca8dcf.tamiko@gentoo
1 commit: c8cf40cd6eaecf49f5fe851f7612849394ca8dcf
2 Author: Matthias Maier <tamiko <AT> gentoo <DOT> org>
3 AuthorDate: Sat Mar 24 02:02:20 2018 +0000
4 Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org>
5 CommitDate: Sat Mar 24 02:25:34 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8cf40cd
7
8 sci-libs/arpack: Add a live ebuild; ebuild maintenance
9
10 * add a live ebuild
11 * remove unused variable
12
13 Package-Manager: Portage-2.3.24, Repoman-2.3.6
14
15 sci-libs/arpack/arpack-3.4.0.ebuild | 2 --
16 sci-libs/arpack/arpack-3.5.0.ebuild | 2 --
17 .../{arpack-3.4.0.ebuild => arpack-9999.ebuild} | 22 ++++++++++------------
18 3 files changed, 10 insertions(+), 16 deletions(-)
19
20 diff --git a/sci-libs/arpack/arpack-3.4.0.ebuild b/sci-libs/arpack/arpack-3.4.0.ebuild
21 index 13480a59652..3f0d563fe71 100644
22 --- a/sci-libs/arpack/arpack-3.4.0.ebuild
23 +++ b/sci-libs/arpack/arpack-3.4.0.ebuild
24 @@ -5,8 +5,6 @@ EAPI=6
25
26 inherit autotools eutils fortran-2 toolchain-funcs
27
28 -MY_P="${PN}-ng_${PV}"
29 -
30 DESCRIPTION="Arnoldi package library to solve large scale eigenvalue problems"
31 HOMEPAGE="http://www.caam.rice.edu/software/ARPACK/ https://github.com/opencollab/arpack-ng"
32 SRC_URI="
33
34 diff --git a/sci-libs/arpack/arpack-3.5.0.ebuild b/sci-libs/arpack/arpack-3.5.0.ebuild
35 index 13480a59652..3f0d563fe71 100644
36 --- a/sci-libs/arpack/arpack-3.5.0.ebuild
37 +++ b/sci-libs/arpack/arpack-3.5.0.ebuild
38 @@ -5,8 +5,6 @@ EAPI=6
39
40 inherit autotools eutils fortran-2 toolchain-funcs
41
42 -MY_P="${PN}-ng_${PV}"
43 -
44 DESCRIPTION="Arnoldi package library to solve large scale eigenvalue problems"
45 HOMEPAGE="http://www.caam.rice.edu/software/ARPACK/ https://github.com/opencollab/arpack-ng"
46 SRC_URI="
47
48 diff --git a/sci-libs/arpack/arpack-3.4.0.ebuild b/sci-libs/arpack/arpack-9999.ebuild
49 similarity index 68%
50 copy from sci-libs/arpack/arpack-3.4.0.ebuild
51 copy to sci-libs/arpack/arpack-9999.ebuild
52 index 13480a59652..56b384c5343 100644
53 --- a/sci-libs/arpack/arpack-3.4.0.ebuild
54 +++ b/sci-libs/arpack/arpack-9999.ebuild
55 @@ -5,20 +5,21 @@ EAPI=6
56
57 inherit autotools eutils fortran-2 toolchain-funcs
58
59 -MY_P="${PN}-ng_${PV}"
60 +if [[ ${PV} = *9999* ]]; then
61 + inherit git-r3
62 + EGIT_REPO_URI="https://github.com/opencollab/arpack-ng"
63 + KEYWORDS=""
64 +else
65 + SRC_URI="https://github.com/opencollab/${PN}-ng/archive/${PV}.tar.gz -> ${P}.tar.gz"
66 + KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos"
67 + S="${WORKDIR}/${PN}-ng-${PV}"
68 +fi
69
70 DESCRIPTION="Arnoldi package library to solve large scale eigenvalue problems"
71 HOMEPAGE="http://www.caam.rice.edu/software/ARPACK/ https://github.com/opencollab/arpack-ng"
72 -SRC_URI="
73 - https://github.com/opencollab/${PN}-ng/archive/${PV}.tar.gz -> ${P}.tar.gz
74 - doc? (
75 - http://www.caam.rice.edu/software/ARPACK/SRC/ug.ps.gz
76 - http://www.caam.rice.edu/software/ARPACK/DOCS/tutorial.ps.gz )"
77 -
78 LICENSE="BSD"
79 SLOT="0"
80 -KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos"
81 -IUSE="doc examples mpi static-libs"
82 +IUSE="examples mpi static-libs"
83
84 RDEPEND="
85 virtual/blas
86 @@ -27,8 +28,6 @@ RDEPEND="
87 DEPEND="${RDEPEND}
88 virtual/pkgconfig"
89
90 -S="${WORKDIR}/${PN}-ng-${PV}"
91 -
92 src_prepare() {
93 default
94 eautoreconf
95 @@ -46,7 +45,6 @@ src_install() {
96
97 dodoc DOCUMENTS/*.doc
98 newdoc DOCUMENTS/README README.doc
99 - use doc && dodoc "${WORKDIR}"/*.ps
100 if use examples; then
101 insinto /usr/share/doc/${PF}
102 doins -r EXAMPLES