From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 23C7E1384B4 for ; Sat, 19 Dec 2015 14:56:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A893721C064; Sat, 19 Dec 2015 14:56:30 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4CC7521C064 for ; Sat, 19 Dec 2015 14:56:30 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2EA6F340139 for ; Sat, 19 Dec 2015 14:56:29 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 17499B05 for ; Sat, 19 Dec 2015 14:56:27 +0000 (UTC) From: "Andrey Grozin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrey Grozin" Message-ID: <1450536639.fa34beddff60b37eaf87c4b3dc821d613c9e8a75.grozin@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/fricas/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-mathematics/fricas/fricas-1.2.7-r1.ebuild sci-mathematics/fricas/fricas-1.2.7.ebuild X-VCS-Directories: sci-mathematics/fricas/ X-VCS-Committer: grozin X-VCS-Committer-Name: Andrey Grozin X-VCS-Revision: fa34beddff60b37eaf87c4b3dc821d613c9e8a75 X-VCS-Branch: master Date: Sat, 19 Dec 2015 14:56:27 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 0e647d01-0011-4cb8-9641-1d08cde5839c X-Archives-Hash: 158bda200142d3fa8c7cecee2d2537ea commit: fa34beddff60b37eaf87c4b3dc821d613c9e8a75 Author: Andrey Grozin gentoo org> AuthorDate: Sat Dec 19 14:50:39 2015 +0000 Commit: Andrey Grozin gentoo org> CommitDate: Sat Dec 19 14:50:39 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa34bedd sci-mathematics/fricas: update depend on sbcl to <=1.3.0 Package-Manager: portage-2.2.26 .../{fricas-1.2.7.ebuild => fricas-1.2.7-r1.ebuild} | 16 ++++++++++++++-- 1 file 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 similarity index 84% rename from sci-mathematics/fricas/fricas-1.2.7.ebuild rename to sci-mathematics/fricas/fricas-1.2.7-r1.ebuild index a6701e5..3601edc 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} )"