commit:     3d72d86cc579761ffa475fd0585f07974f3c9026
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 23 21:18:46 2024 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Tue Jan 23 22:06:55 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d72d86c

app-emacs/slime: bump to 2.29

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 app-emacs/slime/Manifest          |  1 +
 app-emacs/slime/slime-2.29.ebuild | 76 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 77 insertions(+)

diff --git a/app-emacs/slime/Manifest b/app-emacs/slime/Manifest
index 06994701923f..f04140dcc4df 100644
--- a/app-emacs/slime/Manifest
+++ b/app-emacs/slime/Manifest
@@ -1 +1,2 @@
 DIST slime-2.28.tar.gz 826876 BLAKE2B 
9e93af7a7f9e1ef1aed7b513a0b83f426186582bcd43dabad5fe962afe77803bf237d92e79ccabb93b419a7f678168e89584b4f5bb8423918abcac8915411283
 SHA512 
4184765048302ac568ddb89bfc0ac9fd3af4f0e3c8c39e81e27e58c9342f48332ac365edfd876e6e69e8e13db137d3e14c84cf4608158c4528bb34b0d7313991
+DIST slime-2.29.tar.gz 828359 BLAKE2B 
07834a9a80e49f0a08f054cf7a4b00e7d1520159633e4d35ca5b386a1a35b4d8c4a24033919bfbc23475cc9f8486003c1be6dadf45c88db9a759582474eed146
 SHA512 
2f9b2f16f802c9a7efcc1c27a7bf6a2b7257336060bb7346fd16719daccd874b9731e2fde57e49bd700b93eb4daef548f615b40133436f7ab6c3ab23886f7377

diff --git a/app-emacs/slime/slime-2.29.ebuild 
b/app-emacs/slime/slime-2.29.ebuild
new file mode 100644
index 000000000000..faeafd09686d
--- /dev/null
+++ b/app-emacs/slime/slime-2.29.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
+}

Reply via email to