Gentoo Archives: gentoo-commits

From: "Maciej Barć" <xgqt@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emacs/slime/
Date: Sun, 29 Jan 2023 21:22:11
Message-Id: 1675027324.86d0e242ae40560010204fe7c5c0d69ce22b3c47.xgqt@gentoo
1 commit: 86d0e242ae40560010204fe7c5c0d69ce22b3c47
2 Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 29 21:21:01 2023 +0000
4 Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 29 21:22:04 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86d0e242
7
8 app-emacs/slime: bump to 2.28
9
10 Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
11
12 app-emacs/slime/Manifest | 1 +
13 app-emacs/slime/slime-2.28.ebuild | 66 +++++++++++++++++++++++++++++++++++++++
14 2 files changed, 67 insertions(+)
15
16 diff --git a/app-emacs/slime/Manifest b/app-emacs/slime/Manifest
17 index b81896216bc2..02c44abf4c32 100644
18 --- a/app-emacs/slime/Manifest
19 +++ b/app-emacs/slime/Manifest
20 @@ -1 +1,2 @@
21 DIST slime-2.27.tar.gz 824013 BLAKE2B 65bf6022d4c0df7fd7b3c8325ce0e8db1bd7b39961b88ea3bca846c316db2a6442d87974f9399557e9ea1ac7f10ec32d13832df3f433ab3b38cf3059a9529069 SHA512 e1d4723d62bd6c9cd964bfc5ff2d383999d0c965ba9e0742dd21453e8f660dc5c05b2bb8f009ac895dd7445a77b82b5c1dec19ec195368f8cfa59f651001da6e
22 +DIST slime-2.28.tar.gz 826876 BLAKE2B 9e93af7a7f9e1ef1aed7b513a0b83f426186582bcd43dabad5fe962afe77803bf237d92e79ccabb93b419a7f678168e89584b4f5bb8423918abcac8915411283 SHA512 4184765048302ac568ddb89bfc0ac9fd3af4f0e3c8c39e81e27e58c9342f48332ac365edfd876e6e69e8e13db137d3e14c84cf4608158c4528bb34b0d7313991
23
24 diff --git a/app-emacs/slime/slime-2.28.ebuild b/app-emacs/slime/slime-2.28.ebuild
25 new file mode 100644
26 index 000000000000..da4135f52bf4
27 --- /dev/null
28 +++ b/app-emacs/slime/slime-2.28.ebuild
29 @@ -0,0 +1,66 @@
30 +# Copyright 1999-2023 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +inherit elisp
36 +
37 +DESCRIPTION="SLIME, the Superior Lisp Interaction Mode (Extended)"
38 +HOMEPAGE="https://slime.common-lisp.dev/"
39 +SRC_URI="https://github.com/slime/slime/archive/v${PV}.tar.gz -> ${P}.tar.gz"
40 +
41 +LICENSE="public-domain GPL-2+ GPL-3+ LLGPL-2.1 ZLIB xref? ( xref.lisp )"
42 +SLOT="0"
43 +KEYWORDS="~amd64 ~ppc ~sparc ~x86"
44 +IUSE="doc xref"
45 +RESTRICT="test" # tests fail to contact sbcl
46 +
47 +RDEPEND="virtual/commonlisp
48 + dev-lisp/asdf"
49 +DEPEND="${RDEPEND}"
50 +BDEPEND=">=sys-apps/texinfo-5.1
51 + doc? ( virtual/texi2dvi )"
52 +
53 +SITEFILE="70${PN}-gentoo.el"
54 +
55 +src_prepare() {
56 + default
57 + # Remove xref.lisp (which is non-free) unless USE flag is set
58 + use xref || rm xref.lisp || die
59 +}
60 +
61 +src_compile() {
62 + elisp-compile *.el
63 + BYTECOMPFLAGS="${BYTECOMPFLAGS} -L contrib -l slime" \
64 + elisp-compile contrib/*.el lib/*.el
65 +
66 + emake -C doc slime.info
67 + if use doc; then
68 + VARTEXFONTS="${T}"/fonts emake -C doc all
69 + fi
70 +}
71 +
72 +src_install() {
73 + # Install core
74 + elisp-install ${PN} *.{el,elc,lisp}
75 +
76 + # Install contribs
77 + elisp-install ${PN}/contrib/ contrib/*.{el,elc} contrib/swank*
78 +
79 + # Install lib
80 + elisp-install ${PN}/lib/ lib/*.{el,elc}
81 +
82 + # Install swank
83 + elisp-install ${PN}/swank/ swank/*.lisp
84 +
85 + elisp-site-file-install "${FILESDIR}/${SITEFILE}"
86 +
87 + # Install docs
88 + dodoc README.md CONTRIBUTING.md NEWS PROBLEMS
89 + newdoc contrib/README.md README-contrib.md
90 + doinfo doc/slime.info
91 + use doc && dodoc doc/*.pdf
92 +
93 + # Bug #656760
94 + touch "${ED}${SITELISP}/${PN}/lib/.nosearch" || die
95 +}