summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChema Alonso Josa <nimiux@gentoo.org>2018-05-30 20:16:52 +0200
committerChema Alonso Josa <nimiux@gentoo.org>2018-05-30 20:17:24 +0200
commite1f56b2942d174feaa0f6d85c6518f940c2a218f (patch)
tree01a64fcead255b1a24d01689104bfdab299efdc9 /app-emacs
parentdev-python/zope-interface: arm stable wrt bug #654442 (diff)
downloadgentoo-e1f56b2942d174feaa0f6d85c6518f940c2a218f.tar.gz
gentoo-e1f56b2942d174feaa0f6d85c6518f940c2a218f.tar.bz2
gentoo-e1f56b2942d174feaa0f6d85c6518f940c2a218f.zip
app-emacs/slime: Add nosearch file to site-lisp directory
Closes: https://bugs.gentoo.org/656760 Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'app-emacs')
-rw-r--r--app-emacs/slime/slime-2.20-r1.ebuild74
1 files changed, 74 insertions, 0 deletions
diff --git a/app-emacs/slime/slime-2.20-r1.ebuild b/app-emacs/slime/slime-2.20-r1.ebuild
new file mode 100644
index 000000000000..8c79ae0d45c3
--- /dev/null
+++ b/app-emacs/slime/slime-2.20-r1.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit elisp
+
+DESCRIPTION="SLIME, the Superior Lisp Interaction Mode (Extended)"
+HOMEPAGE="http://common-lisp.net/project/slime/"
+SRC_URI="https://github.com/slime/slime/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2 xref? ( xref.lisp )"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE="doc xref"
+RESTRICT=test # tests fail to contact sbcl
+
+RDEPEND="virtual/commonlisp
+ dev-lisp/asdf"
+DEPEND="${RDEPEND}
+ >=sys-apps/texinfo-5.1
+ doc? ( virtual/texi2dvi )"
+
+CLPACKAGE=swank
+CLSYSTEMS=swank
+SITEFILE=70${PN}-gentoo.el
+
+PATCHES=(
+ # Should be fixed in >=app-emacs/slime-2.20
+ "${FILESDIR}/${PN}-2.20-fix-doc-build.patch"
+)
+
+src_prepare() {
+ default
+ # Remove xref.lisp (which is non-free) unless USE flag is set
+ use xref || rm -f xref.lisp
+}
+
+src_compile() {
+ elisp-compile *.el || die
+ BYTECOMPFLAGS="${BYTECOMPFLAGS} -L contrib -l slime" \
+ elisp-compile contrib/*.el lib/*.el || die
+
+ emake -C doc slime.info || die
+ if use doc ; then
+ VARTEXFONTS="${T}"/fonts \
+ emake -C doc all
+ fi
+}
+
+src_install() {
+ # Install core
+ elisp-install ${PN} *.{el,elc,lisp} || die "Cannot install SLIME core"
+
+ # Install contribs
+ elisp-install ${PN}/contrib/ contrib/*.{el,elc,lisp,scm,goo} \
+ || die "Cannot install contribs"
+
+ # Install lib
+ elisp-install ${PN}/lib/ lib/*.{el,elc} || die "Cannot install libs"
+
+ # Install swank
+ elisp-install ${PN}/swank/ swank/*.lisp || die "Cannot install swank"
+
+ elisp-site-file-install "${FILESDIR}"/${SITEFILE} || die "Cannon install site file"
+ # Install docs
+ dodoc README.md CONTRIBUTING.md NEWS PROBLEMS
+ newdoc contrib/README.md README-contrib.md
+ doinfo doc/slime.info
+ use doc && dodoc doc/*.pdf
+
+ # Bug #656760
+ touch "${ED}${SITELISP}/${PN}/lib/.nosearch" || die
+}