diff options
author | Chema Alonso Josa <nimiux@gentoo.org> | 2018-06-02 10:36:11 +0200 |
---|---|---|
committer | Chema Alonso Josa <nimiux@gentoo.org> | 2018-06-02 10:36:11 +0200 |
commit | 2aed0714ed116599557290c7273741c77b1b6cda (patch) | |
tree | 714d0376fdee12bf2171ee36c3cf79fe775b9119 /app-emacs | |
parent | a4739e97f648709b4a3f15d21c2f441ee3f06c6e (diff) | |
download | gentoo-2aed0714ed116599557290c7273741c77b1b6cda.tar.gz gentoo-2aed0714ed116599557290c7273741c77b1b6cda.tar.xz |
app-emacs/slime: Bump version to 2.21
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'app-emacs')
-rw-r--r-- | app-emacs/slime/Manifest | 1 | ||||
-rw-r--r-- | app-emacs/slime/slime-2.21.ebuild | 69 |
2 files changed, 70 insertions, 0 deletions
diff --git a/app-emacs/slime/Manifest b/app-emacs/slime/Manifest index a7012659020..be179622f43 100644 --- a/app-emacs/slime/Manifest +++ b/app-emacs/slime/Manifest @@ -1,2 +1,3 @@ DIST slime-2.15.tar.gz 1072190 BLAKE2B 7623d2d109486e35cb94a3bd8a6b72008c28fbc0bac5bdbcde5fcde19b2ebc74d488a6ff67f026922ea716e67ac732cc72f7b984cc4c2574f57323db93de300c SHA512 15f943981e35995b225b168a3d1c2099f7205c2ff359fa209f164464caf05f9fab4d24906442d94ddeb4222f7116d09a832c7377baf95fbe02d6a98a721fd611 DIST slime-2.20.tar.gz 803127 BLAKE2B 9a6e50d50da4c9f8f2226ec919cf7f2068ae93a0bac0301233c2d75f12e94e3345998093880d7836fab07d8541da86de928308cfe571ee5811da6de9bfa11b31 SHA512 994dbffb54ee1ab4ca529771451724c83ff83992a6d495e06cdca5cd94f0c098e48d7914489278e3015f18ea094d58c469e57301492087a33087562f69506b46 +DIST slime-2.21.tar.gz 810610 BLAKE2B d5126e60fb04af2c712426dc9b701cfcabb04a16ab4df6ee138c9f77280fa892e608a04f1af1154b42f7063cc85464146e9a9b10f2a223b5d8015ed49eb1ee1c SHA512 6cc0d865bda2b1a4d806564e4e7d0c9cff739aba16d21ffd47c6a7353e45d332506014ba54f6a0fcfbc97d4c2d3d864f02c2d144cd4d8d06b9b19dafa8f8be3c diff --git a/app-emacs/slime/slime-2.21.ebuild b/app-emacs/slime/slime-2.21.ebuild new file mode 100644 index 00000000000..aa82b5505f3 --- /dev/null +++ b/app-emacs/slime/slime-2.21.ebuild @@ -0,0 +1,69 @@ +# 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 + +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 +} |