summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Grozin <grozin@gentoo.org>2010-01-24 12:35:28 +0000
committerAndrey Grozin <grozin@gentoo.org>2010-01-24 12:35:28 +0000
commit99b468cf05ebef95e5dda6544d975ee0c30d8753 (patch)
tree877f82a1f6916fe226aa3cda4cba421fac5b56c4 /sci-mathematics/fricas
parent[sci-chemistry/wxmacmolplt] Version bump per bug #292977 (diff)
downloadhistorical-99b468cf05ebef95e5dda6544d975ee0c30d8753.tar.gz
historical-99b468cf05ebef95e5dda6544d975ee0c30d8753.tar.bz2
historical-99b468cf05ebef95e5dda6544d975ee0c30d8753.zip
Version bump
Package-Manager: portage-2.2_rc61/cvs/Linux i686
Diffstat (limited to 'sci-mathematics/fricas')
-rw-r--r--sci-mathematics/fricas/ChangeLog7
-rw-r--r--sci-mathematics/fricas/Manifest4
-rw-r--r--sci-mathematics/fricas/fricas-1.0.9.ebuild97
3 files changed, 106 insertions, 2 deletions
diff --git a/sci-mathematics/fricas/ChangeLog b/sci-mathematics/fricas/ChangeLog
index d57438fa223f..eb31da15dce6 100644
--- a/sci-mathematics/fricas/ChangeLog
+++ b/sci-mathematics/fricas/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-mathematics/fricas
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/fricas/ChangeLog,v 1.4 2010/01/10 11:49:17 grozin Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/fricas/ChangeLog,v 1.5 2010/01/24 12:35:28 grozin Exp $
+
+*fricas-1.0.9 (24 Jan 2010)
+
+ 24 Jan 2010; Andrey Grozin <grozin@gentoo.org> +fricas-1.0.9.ebuild:
+ Version bump
10 Jan 2010; Andrey Grozin <grozin@gentoo.org> fricas-1.0.8.ebuild:
~amd64 added, closing bug #300132, thanks to Helmut Jarausch
diff --git a/sci-mathematics/fricas/Manifest b/sci-mathematics/fricas/Manifest
index 6ec4ff222208..3d39d8b4fb16 100644
--- a/sci-mathematics/fricas/Manifest
+++ b/sci-mathematics/fricas/Manifest
@@ -1,5 +1,7 @@
AUX 64fricas-gentoo.el 101 RMD160 67342002028207ab3fcf4ce119469332a6b39697 SHA1 7a27ebc202b4bf0c2f0f7d5903c71dd2683286c5 SHA256 b41c5e5323b2e2f38f04856fdff293c110bbc6016cab84f7af29772ef3366b2a
DIST fricas-1.0.8-full.tar.bz2 9047376 RMD160 60effe1eb39a83eacb0a742649ace6f2abe1c9c3 SHA1 6a3e6acb8908d5b8e01efb5a4a5fae25798038d8 SHA256 7bf8e2c40ffedfdbe89b1aaecc5ad77fb6f9c140c1fa639773f0be9be19c5b5a
+DIST fricas-1.0.9-full.tar.bz2 9088217 RMD160 86c1f8dcbacce9075bc13f46cbc2d19bb79d361f SHA1 9d88a37bd010845de19c818883554dbde221e716 SHA256 6a2890d9652f81f08cf5815c379219a2b96988534314b28a1b4615e15ce55ee2
EBUILD fricas-1.0.8.ebuild 2398 RMD160 1f1e241e1b50e68766f92e163162539f3e48c82a SHA1 511976c470b41028398d2fcb7a7c46d4cec16fa0 SHA256 1e06a97f531b2b5c4403b13d31c9a2b2b5cd64950d0d99242b7041db459af856
-MISC ChangeLog 795 RMD160 8c77bdbc76dfeadc2e6d33143ac9eeda65802405 SHA1 be1051bb1b974997c87e7437fad5e7f78cfe814a SHA256 1dab4e4707744c5542a04cf193689c46de3eef329ecf9ce2df99131a24775f87
+EBUILD fricas-1.0.9.ebuild 2398 RMD160 9845a06a9e2343b810d5d4ef5c367bedb777d4fd SHA1 e5b600896f2c766d588a789dc94d1266e69e79af SHA256 3aa202ae53f8e09a6becd0979971214b16b47374d079b7581336a48a6152b9e1
+MISC ChangeLog 911 RMD160 57ee4d15528ed3c495e41a5fdaf27f1bb6ebd3c6 SHA1 29863c4b6b49922213aae93d0092e81e7dc816b6 SHA256 a93b8c8f2068852365cf6ccb7bbe2271e4ae24ec6fe96c6c4ab46d3e1174a5a8
MISC metadata.xml 933 RMD160 56216e081a01cbdd6a9db7096afc0af3a8ec6861 SHA1 89f3ed16f42d324177025ca2116a79413e06b1b4 SHA256 b97ab549155d90db3996450671ad96928bc262ccd9f288061db3e4533b77401d
diff --git a/sci-mathematics/fricas/fricas-1.0.9.ebuild b/sci-mathematics/fricas/fricas-1.0.9.ebuild
new file mode 100644
index 000000000000..6b3340280638
--- /dev/null
+++ b/sci-mathematics/fricas/fricas-1.0.9.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/fricas/fricas-1.0.9.ebuild,v 1.1 2010/01/24 12:35:28 grozin Exp $
+EAPI=2
+inherit multilib elisp-common
+
+DESCRIPTION="FriCAS is a fork of Axiom computer algebra system"
+HOMEPAGE="http://${PN}.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}-full.tar.bz2"
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+# Supported lisps, number 0 is the default
+LISPS=( sbcl cmucl gcl ecl clisp clozurecl )
+# . means just dev-lisp/${LISP}; foo-x.y.z means >=dev-lisp/foo-x.y.z
+DEPS=( . . . ecls-9 . . )
+# command name: . means just ${LISP}
+COMS=( . lisp . . . ccl )
+
+IUSE="${LISPS[*]} X emacs"
+RDEPEND="X? ( x11-libs/libXpm x11-libs/libICE )
+ emacs? ( virtual/emacs )"
+
+# Generating lisp deps
+n=${#LISPS[*]}
+for ((n--; n > 0; n--)); do
+ LISP=${LISPS[$n]}
+ DEP=${DEPS[$n]}
+ if [ "${DEP}" = "." ]; then
+ DEP="dev-lisp/${LISP}"
+ else
+ DEP=">=dev-lisp/${DEP}"
+ fi
+ RDEPEND="${RDEPEND} ${LISP}? ( ${DEP} ) !${LISP}? ("
+done
+RDEPEND="${RDEPEND} dev-lisp/${LISPS[0]}"
+n=${#LISPS[*]}
+for ((n--; n > 0; n--)); do
+ RDEPEND="${RDEPEND} )"
+done
+
+DEPEND="${RDEPEND}"
+
+# necessary for clisp and gcl
+RESTRICT="strip"
+
+src_configure() {
+ local LISP n
+ LISP=sbcl
+ n=${#LISPS[*]}
+ for ((n--; n > 0; n--)); do
+ if use ${LISPS[$n]}; then
+ LISP=${COMS[$n]}
+ if [ "${LISP}" = "." ]; then
+ LISP=${LISPS[$n]}
+ fi
+ fi
+ done
+ einfo "Using lisp: ${LISP}"
+
+ # aldor is not yet in portage
+ econf --disable-aldor --with-lisp=${LISP} $(use_with X x)
+}
+
+src_compile() {
+ # bug #300132
+ emake -j1 || die "emake failed"
+}
+
+src_test() {
+ emake -j1 all-input
+}
+
+src_install() {
+ emake -j1 DESTDIR="${D}" install || die 'emake install failed'
+ dodoc README FAQ || die "dodoc failed"
+
+ if use emacs; then
+ sed -e "s|(setq load-path (cons (quote \"/usr/$(get_libdir)/fricas/emacs\") load-path)) ||" \
+ -i "${D}"/usr/bin/efricas \
+ || die "sed efricas failed"
+ elisp-install ${PN} "${D}"/usr/$(get_libdir)/${PN}/emacs/*.el
+ elisp-site-file-install "${FILESDIR}"/64${PN}-gentoo.el
+ else
+ rm "${D}"/usr/bin/efricas || die "rm efricas failed"
+ fi
+ rm -r "${D}"/usr/$(get_libdir)/${PN}/emacs || die "rm -r emacs failed"
+}
+
+pkg_postinst() {
+ use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+}