Gentoo Archives: gentoo-commits

From: Andrey Grozin <grozin@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/fricas/
Date: Sat, 19 Dec 2015 14:56:36
Message-Id: 1450536639.fa34beddff60b37eaf87c4b3dc821d613c9e8a75.grozin@gentoo
1 commit: fa34beddff60b37eaf87c4b3dc821d613c9e8a75
2 Author: Andrey Grozin <grozin <AT> gentoo <DOT> org>
3 AuthorDate: Sat Dec 19 14:50:39 2015 +0000
4 Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org>
5 CommitDate: Sat Dec 19 14:50:39 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa34bedd
7
8 sci-mathematics/fricas: update depend on sbcl to <=1.3.0
9
10 Package-Manager: portage-2.2.26
11
12 .../{fricas-1.2.7.ebuild => fricas-1.2.7-r1.ebuild} | 16 ++++++++++++++--
13 1 file changed, 14 insertions(+), 2 deletions(-)
14
15 diff --git a/sci-mathematics/fricas/fricas-1.2.7.ebuild b/sci-mathematics/fricas/fricas-1.2.7-r1.ebuild
16 similarity index 84%
17 rename from sci-mathematics/fricas/fricas-1.2.7.ebuild
18 rename to sci-mathematics/fricas/fricas-1.2.7-r1.ebuild
19 index a6701e5..3601edc 100644
20 --- a/sci-mathematics/fricas/fricas-1.2.7.ebuild
21 +++ b/sci-mathematics/fricas/fricas-1.2.7-r1.ebuild
22 @@ -13,6 +13,8 @@ KEYWORDS="~amd64 ~x86"
23
24 # Supported lisps, number 0 is the default
25 LISPS=( sbcl cmucl gcl ecls clisp clozurecl )
26 +# Version restrictions, . means no restrictions
27 +REST=( "<=dev-lisp/sbcl-1.3.0" . . . . . )
28 # command name: . means just ${LISP}
29 COMS=( . lisp . ecl . ccl )
30
31 @@ -25,9 +27,19 @@ RDEPEND="X? ( x11-libs/libXpm x11-libs/libICE )
32 n=${#LISPS[*]}
33 for ((n--; n > 0; n--)); do
34 LISP=${LISPS[$n]}
35 - RDEPEND="${RDEPEND} ${LISP}? ( dev-lisp/${LISP}:= ) !${LISP}? ("
36 + if [ "${REST[$n]}" = "." ]; then
37 + DEP="dev-lisp/${LISP}"
38 + else
39 + DEP="${REST[$n]}"
40 + fi
41 + RDEPEND="${RDEPEND} ${LISP}? ( ${DEP}:= ) !${LISP}? ("
42 done
43 -RDEPEND="${RDEPEND} dev-lisp/${LISPS[0]}:="
44 +if [ "${REST[0]}" = "." ]; then
45 + DEP="dev-lisp/${LISPS[0]}"
46 +else
47 + DEP="${REST[0]}"
48 +fi
49 +RDEPEND="${RDEPEND} ${DEP}:="
50 n=${#LISPS[*]}
51 for ((n--; n > 0; n--)); do
52 RDEPEND="${RDEPEND} )"