summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Grozin <grozin@gentoo.org>2015-12-19 20:50:39 +0600
committerAndrey Grozin <grozin@gentoo.org>2015-12-19 20:50:39 +0600
commitfa34beddff60b37eaf87c4b3dc821d613c9e8a75 (patch)
treefd4e6924431bb1050db6022254ff63871fca012c /sci-mathematics/fricas
parentsci-mathematics/fricas: cleaning 1.2.6 (diff)
downloadgentoo-fa34beddff60b37eaf87c4b3dc821d613c9e8a75.tar.gz
gentoo-fa34beddff60b37eaf87c4b3dc821d613c9e8a75.tar.bz2
gentoo-fa34beddff60b37eaf87c4b3dc821d613c9e8a75.zip
sci-mathematics/fricas: update depend on sbcl to <=1.3.0
Package-Manager: portage-2.2.26
Diffstat (limited to 'sci-mathematics/fricas')
-rw-r--r--sci-mathematics/fricas/fricas-1.2.7-r1.ebuild (renamed from sci-mathematics/fricas/fricas-1.2.7.ebuild)16
1 files changed, 14 insertions, 2 deletions
diff --git a/sci-mathematics/fricas/fricas-1.2.7.ebuild b/sci-mathematics/fricas/fricas-1.2.7-r1.ebuild
index a6701e5bcd73..3601edc82109 100644
--- a/sci-mathematics/fricas/fricas-1.2.7.ebuild
+++ b/sci-mathematics/fricas/fricas-1.2.7-r1.ebuild
@@ -13,6 +13,8 @@ KEYWORDS="~amd64 ~x86"
# Supported lisps, number 0 is the default
LISPS=( sbcl cmucl gcl ecls clisp clozurecl )
+# Version restrictions, . means no restrictions
+REST=( "<=dev-lisp/sbcl-1.3.0" . . . . . )
# command name: . means just ${LISP}
COMS=( . lisp . ecl . ccl )
@@ -25,9 +27,19 @@ RDEPEND="X? ( x11-libs/libXpm x11-libs/libICE )
n=${#LISPS[*]}
for ((n--; n > 0; n--)); do
LISP=${LISPS[$n]}
- RDEPEND="${RDEPEND} ${LISP}? ( dev-lisp/${LISP}:= ) !${LISP}? ("
+ if [ "${REST[$n]}" = "." ]; then
+ DEP="dev-lisp/${LISP}"
+ else
+ DEP="${REST[$n]}"
+ fi
+ RDEPEND="${RDEPEND} ${LISP}? ( ${DEP}:= ) !${LISP}? ("
done
-RDEPEND="${RDEPEND} dev-lisp/${LISPS[0]}:="
+if [ "${REST[0]}" = "." ]; then
+ DEP="dev-lisp/${LISPS[0]}"
+else
+ DEP="${REST[0]}"
+fi
+RDEPEND="${RDEPEND} ${DEP}:="
n=${#LISPS[*]}
for ((n--; n > 0; n--)); do
RDEPEND="${RDEPEND} )"