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