commit: 71bb477f72cd934fcfbf7dfec0ecc6ce611abeb4 Author: Bernd Waibel <waebbl <AT> gmail <DOT> com> AuthorDate: Sat Sep 15 07:30:36 2018 +0000 Commit: Horea Christian <horea.christ <AT> gmail <DOT> com> CommitDate: Fri Oct 26 13:20:44 2018 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=71bb477f
sci-biology/spm: fix Manifest having wrong filesize * update to EAPI 7 * update SRC_URI to point to GitHub Package-Manager: Portage-2.3.49, Repoman-2.3.10 Signed-off-by: Horea Christian <horea.christ <AT> yandex.com> sci-biology/spm/spm-12_p6470.ebuild | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/sci-biology/spm/spm-12_p6470.ebuild b/sci-biology/spm/spm-12_p6470.ebuild index 4b03aa133..0f8e8ec54 100644 --- a/sci-biology/spm/spm-12_p6470.ebuild +++ b/sci-biology/spm/spm-12_p6470.ebuild @@ -1,15 +1,13 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=5 - -inherit versionator - -MY_PV=$(get_major_version) +EAPI=7 +MY_PV_MAJ=$(ver_cut 1) +MY_PV_REL=$(ver_cut 3) DESCRIPTION="Analysis of brain imaging data sequences for Octave or Matlab" HOMEPAGE="http://www.fil.ion.ucl.ac.uk/spm/" -SRC_URI="http://www.fil.ion.ucl.ac.uk/spm/download/restricted/eldorado/${PN}${MY_PV}.zip -> ${P}.zip" +SRC_URI="https://github.com/${PN}/${PN}${MY_PV_MAJ}/archive/r${MY_PV_REL}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-2+" SLOT="0" KEYWORDS="~amd64" @@ -19,18 +17,20 @@ DEPEND="${RDEPEND} app-arch/unzip " -S="${WORKDIR}/${PN}${MY_PV}/src" +MY_PN="${PN}${MY_PV_MAJ}-r${MY_PV_REL}" +S="${WORKDIR}/${MY_PN}/src" src_prepare() { + default emake distclean PLATFORM=octave } src_compile() { - emake -j1 PLATFORM=octave + emake PLATFORM=octave } src_install() { emake install PLATFORM=octave insinto "$(octave-config --m-site-dir)/${P}" - doins -r "${WORKDIR}/${PN}${MY_PV}"/* + doins -r "${WORKDIR}/${MY_PN}"/* }