diff options
Diffstat (limited to 'app-emacs/slime')
-rw-r--r-- | app-emacs/slime/Manifest | 2 | ||||
-rw-r--r-- | app-emacs/slime/slime-2.31.ebuild | 76 |
2 files changed, 78 insertions, 0 deletions
diff --git a/app-emacs/slime/Manifest b/app-emacs/slime/Manifest index 6b6c2cadb34d..90a009bf8fa5 100644 --- a/app-emacs/slime/Manifest +++ b/app-emacs/slime/Manifest @@ -1,4 +1,6 @@ AUX 70slime-gentoo.el 526 BLAKE2B 6bfd25cf1ef661ac1510d6862d8eea832d1de11d173d7a4c1fc6f12c204c13b641382a23b196c21ad6a4825b620c69244764db65e94060e4b636c5b6702e871c SHA512 94c84b4a91cad91f553c22cc9d61cb6a77aa0dd723571770159237e7d3e6f2ec0e3dc0a3e139a99bd820da67d019891db1e84d384fb96614f086b54e9bd5769e DIST slime-2.30.tar.gz 774034 BLAKE2B ad64caabfbb76418ad197a3114b9cf69befe4f626febaa97d568313af860c6bacef9322f27742451ccf009956cb68d0608c7c716be5f922c99fb1f245be29309 SHA512 88378df3e2ec065b052be06cb5638a42d07bc05a6e3cd3fc6907f629988a5d0fd90be050a85d73c38bf407dea6049a89fe1525e3308eef79f12f82d235b62e22 +DIST slime-2.31.tar.gz 767099 BLAKE2B e54cca1a10b0f620f3404cd5401df2880ba31db3da0d320b21b42053c065c0bcc9a8365855d5e91cfb5642aa7c042b9af1f91938fdc0c48e1e1de3aa55ae4008 SHA512 27d7fe0ce1dc7551f6478bf1110c207af98dbdb773d80511de40837c923cc573648e51767f6868248f423c21109849b7902c2089a5bee0c85cf3e6fc1bb8e172 EBUILD slime-2.30.ebuild 1594 BLAKE2B 16118714a1b38b96fff533c3c9064fc9251de773c1e8b163e900970cdea271a7d8acbeb0871b4eba7d4a5e3c79f48277de98c503e4894d15583dd5c6cd4d94da SHA512 27deff1afe12c0dd82e2e7bef1e3bdfb3a497f88909c5c98bcbcf5f5e913cb348931a7d96df40a8a27edae94e509d2d0d2b6892a65f1ea581be746d052d73303 +EBUILD slime-2.31.ebuild 1597 BLAKE2B 0f5f892c670edbdab57962a140cdcef638ddb8e9050141c0c588b81a66ef7d5626d3a3797aef1b662757fbbf03be3dd8b4d6b1238d0405b417529e0c55afc803 SHA512 6b01e840b052632849d32931f8c2cd7335d5079c27f60197a830696e9f10eea90f9a445af03042ccdc668134bd8a8dc914e694dcb04c2cb45f97bc24463f0392 MISC metadata.xml 1682 BLAKE2B d8f201e0feeac9cb37096887edb806e4623d9f3941f8e1396925d8c20e9d860e0c65eae943d786919865a0278c18cefe09d9d2186e4956001b3e66b6d93f294d SHA512 fe1f25388ab56b6c64a5e624ea8ec11e88bbac53195775f88cb6d8131a15969340d6eff0fb463a7b2ea1834f0fc14de34773589c1cf65ad3a964cd3bfa104142 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 +} |