1 |
commit: 3a7b3f9a96ef7d2d775149a7667a33faf9aa5bb3 |
2 |
Author: Chema Alonso Josa <nimiux <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jun 2 08:15:06 2018 +0000 |
4 |
Commit: José María Alonso <nimiux <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jun 2 08:15:06 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/lisp.git/commit/?id=3a7b3f9a |
7 |
|
8 |
app-emacs/slime: Bump version to 2.21 |
9 |
|
10 |
app-emacs/slime/slime-2.21.ebuild | 69 +++++++++++++++++++++++++++++++++++++++ |
11 |
1 file changed, 69 insertions(+) |
12 |
|
13 |
diff --git a/app-emacs/slime/slime-2.21.ebuild b/app-emacs/slime/slime-2.21.ebuild |
14 |
new file mode 100644 |
15 |
index 00000000..aa82b550 |
16 |
--- /dev/null |
17 |
+++ b/app-emacs/slime/slime-2.21.ebuild |
18 |
@@ -0,0 +1,69 @@ |
19 |
+# Copyright 1999-2018 Gentoo Foundation |
20 |
+# Distributed under the terms of the GNU General Public License v2 |
21 |
+ |
22 |
+EAPI=6 |
23 |
+ |
24 |
+inherit elisp |
25 |
+ |
26 |
+DESCRIPTION="SLIME, the Superior Lisp Interaction Mode (Extended)" |
27 |
+HOMEPAGE="http://common-lisp.net/project/slime/" |
28 |
+SRC_URI="https://github.com/slime/slime/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
29 |
+ |
30 |
+LICENSE="GPL-2 xref? ( xref.lisp )" |
31 |
+SLOT="0" |
32 |
+KEYWORDS="~amd64 ~ppc ~sparc ~x86" |
33 |
+IUSE="doc xref" |
34 |
+RESTRICT=test # tests fail to contact sbcl |
35 |
+ |
36 |
+RDEPEND="virtual/commonlisp |
37 |
+ dev-lisp/asdf" |
38 |
+DEPEND="${RDEPEND} |
39 |
+ >=sys-apps/texinfo-5.1 |
40 |
+ doc? ( virtual/texi2dvi )" |
41 |
+ |
42 |
+CLPACKAGE=swank |
43 |
+CLSYSTEMS=swank |
44 |
+SITEFILE=70${PN}-gentoo.el |
45 |
+ |
46 |
+src_prepare() { |
47 |
+ default |
48 |
+ # Remove xref.lisp (which is non-free) unless USE flag is set |
49 |
+ use xref || rm -f xref.lisp |
50 |
+} |
51 |
+ |
52 |
+src_compile() { |
53 |
+ elisp-compile *.el || die |
54 |
+ BYTECOMPFLAGS="${BYTECOMPFLAGS} -L contrib -l slime" \ |
55 |
+ elisp-compile contrib/*.el lib/*.el || die |
56 |
+ |
57 |
+ emake -C doc slime.info || die |
58 |
+ if use doc ; then |
59 |
+ VARTEXFONTS="${T}"/fonts \ |
60 |
+ emake -C doc all |
61 |
+ fi |
62 |
+} |
63 |
+ |
64 |
+src_install() { |
65 |
+ # Install core |
66 |
+ elisp-install ${PN} *.{el,elc,lisp} || die "Cannot install SLIME core" |
67 |
+ |
68 |
+ # Install contribs |
69 |
+ elisp-install ${PN}/contrib/ contrib/*.{el,elc,lisp,scm,goo} \ |
70 |
+ || die "Cannot install contribs" |
71 |
+ |
72 |
+ # Install lib |
73 |
+ elisp-install ${PN}/lib/ lib/*.{el,elc} || die "Cannot install libs" |
74 |
+ |
75 |
+ # Install swank |
76 |
+ elisp-install ${PN}/swank/ swank/*.lisp || die "Cannot install swank" |
77 |
+ |
78 |
+ elisp-site-file-install "${FILESDIR}"/${SITEFILE} || die "Cannon install site file" |
79 |
+ # Install docs |
80 |
+ dodoc README.md CONTRIBUTING.md NEWS PROBLEMS |
81 |
+ newdoc contrib/README.md README-contrib.md |
82 |
+ doinfo doc/slime.info |
83 |
+ use doc && dodoc doc/*.pdf |
84 |
+ |
85 |
+ # Bug #656760 |
86 |
+ touch "${ED}${SITELISP}/${PN}/lib/.nosearch" || die |
87 |
+} |