app-emacs/slime: bump to 2.31

Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
Maciej Barć
2024-12-05 23:25:54 +01:00
parent f303323de8
commit f42af8ea56
2 changed files with 77 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST slime-2.30.tar.gz 774034 BLAKE2B ad64caabfbb76418ad197a3114b9cf69befe4f626febaa97d568313af860c6bacef9322f27742451ccf009956cb68d0608c7c716be5f922c99fb1f245be29309 SHA512 88378df3e2ec065b052be06cb5638a42d07bc05a6e3cd3fc6907f629988a5d0fd90be050a85d73c38bf407dea6049a89fe1525e3308eef79f12f82d235b62e22
DIST slime-2.31.tar.gz 767099 BLAKE2B e54cca1a10b0f620f3404cd5401df2880ba31db3da0d320b21b42053c065c0bcc9a8365855d5e91cfb5642aa7c042b9af1f91938fdc0c48e1e1de3aa55ae4008 SHA512 27d7fe0ce1dc7551f6478bf1110c207af98dbdb773d80511de40837c923cc573648e51767f6868248f423c21109849b7902c2089a5bee0c85cf3e6fc1bb8e172

View File

@@ -0,0 +1,76 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit elisp
DESCRIPTION="SLIME, the Superior Lisp Interaction Mode (Extended)"
HOMEPAGE="https://slime.common-lisp.dev/
https://github.com/slime/slime/"
SRC_URI="https://github.com/slime/slime/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="public-domain GPL-2+ GPL-3+ LLGPL-2.1 ZLIB 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}
"
BDEPEND="
>=sys-apps/texinfo-5.1
doc? (
virtual/texi2dvi
)
"
SITEFILE="70${PN}-gentoo.el"
src_prepare() {
default
# Remove xref.lisp (which is non-free) unless USE flag is set
use xref || rm xref.lisp || die
}
src_compile() {
elisp-compile *.el
BYTECOMPFLAGS="${BYTECOMPFLAGS} -L contrib -l slime" \
elisp-compile contrib/*.el lib/*.el
emake -C doc slime.info
if use doc; then
VARTEXFONTS="${T}"/fonts emake -C doc all
fi
}
src_install() {
# Install core
elisp-install ${PN} *.{el,elc,lisp}
# Install contribs
elisp-install ${PN}/contrib/ contrib/*.{el,elc} contrib/swank*
# Install lib
elisp-install ${PN}/lib/ lib/*.{el,elc}
# Install swank
elisp-install ${PN}/swank/ swank/*.lisp
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
# 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
}