From: | Justin Lecher <jlec@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] proj/sci:master commit in: sci-biology/spm/ |
Date: | Thu, 01 Oct 2015 06:06:47 |
Message-Id: | 1443369909.9c1f6b09c161f4d1b8c643cd8abc036a13689a96.jlec@gentoo |
1 | commit: 9c1f6b09c161f4d1b8c643cd8abc036a13689a96 |
2 | Author: Horea Christian <h.chr <AT> mail <DOT> ru> |
3 | AuthorDate: Sun Sep 27 16:05:09 2015 +0000 |
4 | Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> |
5 | CommitDate: Sun Sep 27 16:05:09 2015 +0000 |
6 | URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=9c1f6b09 |
7 | |
8 | using upstream pckage version |
9 | |
10 | sci-biology/spm/spm-12_p.ebuild | 8 ++++++-- |
11 | 1 file changed, 6 insertions(+), 2 deletions(-) |
12 | |
13 | diff --git a/sci-biology/spm/spm-12_p.ebuild b/sci-biology/spm/spm-12_p.ebuild |
14 | index 27fbeaf..da1b1b0 100644 |
15 | --- a/sci-biology/spm/spm-12_p.ebuild |
16 | +++ b/sci-biology/spm/spm-12_p.ebuild |
17 | @@ -4,9 +4,13 @@ |
18 | |
19 | EAPI=5 |
20 | |
21 | +inherit versionator |
22 | + |
23 | +MY_PV=$(get_major_version) |
24 | + |
25 | DESCRIPTION="Analysis of brain imaging data sequences for Octave or Matlab" |
26 | HOMEPAGE="http://www.fil.ion.ucl.ac.uk/spm/" |
27 | -SRC_URI="http://www.fil.ion.ucl.ac.uk/spm/download/restricted/eldorado/${PN}${PV}.zip" |
28 | +SRC_URI="http://www.fil.ion.ucl.ac.uk/spm/download/restricted/eldorado/${PN}${MY_PV}.zip" |
29 | |
30 | LICENSE="GPL-2+" |
31 | SLOT="0" |
32 | @@ -17,7 +21,7 @@ DEPEND="${RDEPEND} |
33 | app-arch/unzip |
34 | " |
35 | |
36 | -S="${WORKDIR}/${PN}${PV}/src" |
37 | +S="${WORKDIR}/${PN}${MY_PV}/src" |
38 | |
39 | src_prepare() { |
40 | emake distclean PLATFORM=octave |