commit:     c8cf40cd6eaecf49f5fe851f7612849394ca8dcf
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 24 02:02:20 2018 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Sat Mar 24 02:25:34 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8cf40cd

sci-libs/arpack: Add a live ebuild; ebuild maintenance

 * add a live ebuild
 * remove unused variable

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 sci-libs/arpack/arpack-3.4.0.ebuild                |  2 --
 sci-libs/arpack/arpack-3.5.0.ebuild                |  2 --
 .../{arpack-3.4.0.ebuild => arpack-9999.ebuild}    | 22 ++++++++++------------
 3 files changed, 10 insertions(+), 16 deletions(-)

diff --git a/sci-libs/arpack/arpack-3.4.0.ebuild 
b/sci-libs/arpack/arpack-3.4.0.ebuild
index 13480a59652..3f0d563fe71 100644
--- a/sci-libs/arpack/arpack-3.4.0.ebuild
+++ b/sci-libs/arpack/arpack-3.4.0.ebuild
@@ -5,8 +5,6 @@ EAPI=6
 
 inherit autotools eutils fortran-2 toolchain-funcs
 
-MY_P="${PN}-ng_${PV}"
-
 DESCRIPTION="Arnoldi package library to solve large scale eigenvalue problems"
 HOMEPAGE="http://www.caam.rice.edu/software/ARPACK/ 
https://github.com/opencollab/arpack-ng";
 SRC_URI="

diff --git a/sci-libs/arpack/arpack-3.5.0.ebuild 
b/sci-libs/arpack/arpack-3.5.0.ebuild
index 13480a59652..3f0d563fe71 100644
--- a/sci-libs/arpack/arpack-3.5.0.ebuild
+++ b/sci-libs/arpack/arpack-3.5.0.ebuild
@@ -5,8 +5,6 @@ EAPI=6
 
 inherit autotools eutils fortran-2 toolchain-funcs
 
-MY_P="${PN}-ng_${PV}"
-
 DESCRIPTION="Arnoldi package library to solve large scale eigenvalue problems"
 HOMEPAGE="http://www.caam.rice.edu/software/ARPACK/ 
https://github.com/opencollab/arpack-ng";
 SRC_URI="

diff --git a/sci-libs/arpack/arpack-3.4.0.ebuild 
b/sci-libs/arpack/arpack-9999.ebuild
similarity index 68%
copy from sci-libs/arpack/arpack-3.4.0.ebuild
copy to sci-libs/arpack/arpack-9999.ebuild
index 13480a59652..56b384c5343 100644
--- a/sci-libs/arpack/arpack-3.4.0.ebuild
+++ b/sci-libs/arpack/arpack-9999.ebuild
@@ -5,20 +5,21 @@ EAPI=6
 
 inherit autotools eutils fortran-2 toolchain-funcs
 
-MY_P="${PN}-ng_${PV}"
+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 ~x86-fbsd ~amd64-linux 
~x86-linux ~ppc-macos"
+       S="${WORKDIR}/${PN}-ng-${PV}"
+fi
 
 DESCRIPTION="Arnoldi package library to solve large scale eigenvalue problems"
 HOMEPAGE="http://www.caam.rice.edu/software/ARPACK/ 
https://github.com/opencollab/arpack-ng";
-SRC_URI="
-       https://github.com/opencollab/${PN}-ng/archive/${PV}.tar.gz -> 
${P}.tar.gz
-       doc? (
-               http://www.caam.rice.edu/software/ARPACK/SRC/ug.ps.gz
-               http://www.caam.rice.edu/software/ARPACK/DOCS/tutorial.ps.gz )"
-
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux 
~ppc-macos"
-IUSE="doc examples mpi static-libs"
+IUSE="examples mpi static-libs"
 
 RDEPEND="
        virtual/blas
@@ -27,8 +28,6 @@ RDEPEND="
 DEPEND="${RDEPEND}
        virtual/pkgconfig"
 
-S="${WORKDIR}/${PN}-ng-${PV}"
-
 src_prepare() {
        default
        eautoreconf
@@ -46,7 +45,6 @@ src_install() {
 
        dodoc DOCUMENTS/*.doc
        newdoc DOCUMENTS/README README.doc
-       use doc && dodoc "${WORKDIR}"/*.ps
        if use examples; then
                insinto /usr/share/doc/${PF}
                doins -r EXAMPLES

Reply via email to