diff options
author | 2024-12-05 23:25:54 +0100 | |
---|---|---|
committer | 2024-12-06 01:42:58 +0100 | |
commit | f42af8ea56fac72af3ab28619974c749fbf6495f (patch) | |
tree | 47aa4f940aee9ac3a9d11e7d7340476eae3c01e5 /app-emacs | |
parent | dev-dotnet/gentoo-dotnet-maintainer-tools: drop old 2.9999 (diff) | |
download | gentoo-f42af8ea56fac72af3ab28619974c749fbf6495f.tar.gz gentoo-f42af8ea56fac72af3ab28619974c749fbf6495f.tar.bz2 gentoo-f42af8ea56fac72af3ab28619974c749fbf6495f.zip |
app-emacs/slime: bump to 2.31
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs')
-rw-r--r-- | app-emacs/slime/Manifest | 1 | ||||
-rw-r--r-- | app-emacs/slime/slime-2.31.ebuild | 76 |
2 files changed, 77 insertions, 0 deletions
diff --git a/app-emacs/slime/Manifest b/app-emacs/slime/Manifest index a9f4baca1c4b..71158af055a6 100644 --- a/app-emacs/slime/Manifest +++ b/app-emacs/slime/Manifest @@ -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 diff --git a/app-emacs/slime/slime-2.31.ebuild b/app-emacs/slime/slime-2.31.ebuild new file mode 100644 index 000000000000..faeafd09686d --- /dev/null +++ b/app-emacs/slime/slime-2.31.ebuild @@ -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 +} |