1 |
commit: aec12d977748a1f156ae6ef500cdbd85feab7211 |
2 |
Author: Andrey Grozin <grozin <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Dec 19 14:47:25 2015 +0000 |
4 |
Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Dec 19 14:47:25 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aec12d97 |
7 |
|
8 |
sci-mathematics/fricas: cleaning 1.2.6 |
9 |
|
10 |
Package-Manager: portage-2.2.26 |
11 |
|
12 |
sci-mathematics/fricas/Manifest | 1 - |
13 |
sci-mathematics/fricas/fricas-1.2.6.ebuild | 90 ------------------------------ |
14 |
2 files changed, 91 deletions(-) |
15 |
|
16 |
diff --git a/sci-mathematics/fricas/Manifest b/sci-mathematics/fricas/Manifest |
17 |
index 45171bf..bf6cc81 100644 |
18 |
--- a/sci-mathematics/fricas/Manifest |
19 |
+++ b/sci-mathematics/fricas/Manifest |
20 |
@@ -1,2 +1 @@ |
21 |
-DIST fricas-1.2.6-full.tar.bz2 10196018 SHA256 725b62d9139a345a3bc0eb0d29bd0e0764de475792918165c3bcd293d3c292ae SHA512 6c98844b6815bd6bfbe50881179b746aa38af48e3992179e3746bd175ef2a0940d9855e79b66b1b5e34d9fc9fe1b8f3578483847b18d7cc2781f7f72b65fb2ac WHIRLPOOL de221add1c68da205d8689834ccb52a0ea468af253ccae70ce7c25156b0ece810dcc50a9db99549ed461a10dcaea13f503c1f0838141262dd6c6d524a217be61 |
22 |
DIST fricas-1.2.7-full.tar.bz2 10289500 SHA256 f23d892c17fca850726ab6f1f03061bbced6c487d2eed23e86037672b7473e1b SHA512 1e6e34dc0e4b535bf937ebdefb5099629b2893e6db0dba8b84f259e2a3b7244692ab704dd04aa24f257089661f6747d8f367d0f58bb8cebd652469cb58c72897 WHIRLPOOL 41934d03203b6b6ca51ab0f54d3c7087de67366bba5794785360cbb61fc7cb18a6d4b489c176d75815bdb7b68b4aba31d0724bb5be94f1bfa6cb01e930af7991 |
23 |
|
24 |
diff --git a/sci-mathematics/fricas/fricas-1.2.6.ebuild b/sci-mathematics/fricas/fricas-1.2.6.ebuild |
25 |
deleted file mode 100644 |
26 |
index a6701e5..0000000 |
27 |
--- a/sci-mathematics/fricas/fricas-1.2.6.ebuild |
28 |
+++ /dev/null |
29 |
@@ -1,90 +0,0 @@ |
30 |
-# Copyright 1999-2015 Gentoo Foundation |
31 |
-# Distributed under the terms of the GNU General Public License v2 |
32 |
-# $Id$ |
33 |
-EAPI=5 |
34 |
-inherit multilib elisp-common |
35 |
- |
36 |
-DESCRIPTION="FriCAS is a fork of Axiom computer algebra system" |
37 |
-HOMEPAGE="http://${PN}.sourceforge.net/" |
38 |
-SRC_URI="mirror://sourceforge/${PN}/${P}-full.tar.bz2" |
39 |
-LICENSE="BSD-2" |
40 |
-SLOT="0" |
41 |
-KEYWORDS="~amd64 ~x86" |
42 |
- |
43 |
-# Supported lisps, number 0 is the default |
44 |
-LISPS=( sbcl cmucl gcl ecls clisp clozurecl ) |
45 |
-# command name: . means just ${LISP} |
46 |
-COMS=( . lisp . ecl . ccl ) |
47 |
- |
48 |
-IUSE="${LISPS[*]} X emacs gmp" |
49 |
-RDEPEND="X? ( x11-libs/libXpm x11-libs/libICE ) |
50 |
- emacs? ( virtual/emacs ) |
51 |
- gmp? ( dev-libs/gmp )" |
52 |
- |
53 |
-# Generating lisp deps |
54 |
-n=${#LISPS[*]} |
55 |
-for ((n--; n > 0; n--)); do |
56 |
- LISP=${LISPS[$n]} |
57 |
- RDEPEND="${RDEPEND} ${LISP}? ( dev-lisp/${LISP}:= ) !${LISP}? (" |
58 |
-done |
59 |
-RDEPEND="${RDEPEND} dev-lisp/${LISPS[0]}:=" |
60 |
-n=${#LISPS[*]} |
61 |
-for ((n--; n > 0; n--)); do |
62 |
- RDEPEND="${RDEPEND} )" |
63 |
-done |
64 |
- |
65 |
-DEPEND="${RDEPEND}" |
66 |
- |
67 |
-# necessary for clisp and gcl |
68 |
-RESTRICT="strip" |
69 |
- |
70 |
-src_configure() { |
71 |
- local LISP n |
72 |
- LISP=sbcl |
73 |
- n=${#LISPS[*]} |
74 |
- for ((n--; n > 0; n--)); do |
75 |
- if use ${LISPS[$n]}; then |
76 |
- LISP=${COMS[$n]} |
77 |
- if [ "${LISP}" = "." ]; then |
78 |
- LISP=${LISPS[$n]} |
79 |
- fi |
80 |
- fi |
81 |
- done |
82 |
- einfo "Using lisp: ${LISP}" |
83 |
- |
84 |
- # aldor is not yet in portage |
85 |
- econf --disable-aldor --with-lisp=${LISP} $(use_with X x) $(use_with gmp) |
86 |
-} |
87 |
- |
88 |
-src_compile() { |
89 |
- # bug #300132 |
90 |
- emake -j1 |
91 |
-} |
92 |
- |
93 |
-src_test() { |
94 |
- emake -j1 all-input |
95 |
-} |
96 |
- |
97 |
-src_install() { |
98 |
- emake -j1 DESTDIR="${D}" install |
99 |
- dodoc README FAQ |
100 |
- |
101 |
- if use emacs; then |
102 |
- sed -e "s|(setq load-path (cons (quote \"/usr/$(get_libdir)/fricas/emacs\") load-path)) ||" \ |
103 |
- -i "${D}"/usr/bin/efricas \ |
104 |
- || die "sed efricas failed" |
105 |
- elisp-install ${PN} "${D}"/usr/$(get_libdir)/${PN}/emacs/*.el |
106 |
- elisp-site-file-install "${FILESDIR}"/64${PN}-gentoo.el |
107 |
- else |
108 |
- rm "${D}"/usr/bin/efricas || die "rm efricas failed" |
109 |
- fi |
110 |
- rm -r "${D}"/usr/$(get_libdir)/${PN}/emacs || die "rm -r emacs failed" |
111 |
-} |
112 |
- |
113 |
-pkg_postinst() { |
114 |
- use emacs && elisp-site-regen |
115 |
-} |
116 |
- |
117 |
-pkg_postrm() { |
118 |
- use emacs && elisp-site-regen |
119 |
-} |