diff options
author | Maciej Barć <xgqt@gentoo.org> | 2022-12-23 12:57:15 +0100 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2022-12-23 16:05:33 +0100 |
commit | b4b63f1305a736c2349720f598557d2bae3e2a15 (patch) | |
tree | 9d0150265d75d6afe5255f40d944951869479ef5 /app-emacs | |
parent | net-im/signal-desktop-bin: remove old version (diff) | |
download | gentoo-b4b63f1305a736c2349720f598557d2bae3e2a15.tar.gz gentoo-b4b63f1305a736c2349720f598557d2bae3e2a15.tar.bz2 gentoo-b4b63f1305a736c2349720f598557d2bae3e2a15.zip |
app-emacs/racket-mode: bump to 1_p20221216
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs')
-rw-r--r-- | app-emacs/racket-mode/Manifest | 1 | ||||
-rw-r--r-- | app-emacs/racket-mode/racket-mode-1_p20221216.ebuild | 58 |
2 files changed, 59 insertions, 0 deletions
diff --git a/app-emacs/racket-mode/Manifest b/app-emacs/racket-mode/Manifest index cb2215442296..d335e4c21a0c 100644 --- a/app-emacs/racket-mode/Manifest +++ b/app-emacs/racket-mode/Manifest @@ -2,3 +2,4 @@ DIST racket-mode-0_p20220505.tar.gz 305491 BLAKE2B ca6a6ee6ae9f95f397959d9f0fa97 DIST racket-mode-0_p20220804.tar.gz 308183 BLAKE2B 23ef01773f7bf0a8e44c74217d29d4e6093ce963a8d71a6f6d5227f5a23ab62023dbfa4a3ada97f4d886abdb0b48454344509bdd7cc17a2210bd23a7ca72051a SHA512 9ed5ecb0a38a5421f7103471167339e2a92e78e912ec3416975c91fb0e2526f79cfd38cdf63b60371d7ef5c4ad7087320ef6270eab15eefed80a87aad6a3f626 DIST racket-mode-0_p20220830.tar.gz 308654 BLAKE2B 85f82181fe994c48369c27ae762d1a0c336b155bc28ee8a4a5a52853e57d23f58c47e34e76b4fb103f9f5115bd856d635dac63f0b1955f7baa24e850e7ea7404 SHA512 6b94b839d9f25d4d07fd73e0a291862014d70501e9db2f154d37ef88f449140543344d4ee0072be0f7bf1c8994d82cf2794d512fd30216336ece2be31db4dc5c DIST racket-mode-1_p20221122.tar.gz 322401 BLAKE2B 8ae447616485d7e9deafe50044d0b0cf73ab93a628b2a536ba67604f7ee9ac7b13beb844c2b25de86c2da4d0f13ad1c92f8fb1be96236cbee7e8efe7607da94a SHA512 e4870cb00e1137cbacedda986ccc61f01a8e86c65d1a87b895a268460583f8671c256f07b2fbd1ede36dcf0d0c2770da00f39692a43b5ccba02f21aafe9a1602 +DIST racket-mode-1_p20221216.tar.gz 322994 BLAKE2B 6a221162f27621dfece9679ab6dfcf4930f55bba366421fbda029a7c808ed919051a4a2728892c75cacd87179c80043b6427ac83b4adfd9371342a4c70a037e0 SHA512 dcb06ea327fac75831ad037768f74b446fa0286f5c90ffcf5d7e279780a64b8e1beaf34c4e220ed8c2ef4ea174998c9502e7188ae365a07762c6bee3566c1e64 diff --git a/app-emacs/racket-mode/racket-mode-1_p20221216.ebuild b/app-emacs/racket-mode/racket-mode-1_p20221216.ebuild new file mode 100644 index 000000000000..f077fe90ed27 --- /dev/null +++ b/app-emacs/racket-mode/racket-mode-1_p20221216.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +H=b2fdf248682364d2a9b8f7e97dd98ed02454d7bb +NEED_EMACS=25.1 + +inherit elisp + +DESCRIPTION="Emacs modes for Racket: edit, REPL, check-syntax, debug, profile, and more" +HOMEPAGE="https://github.com/greghendershott/racket-mode/" +SRC_URI="https://github.com/greghendershott/${PN}/archive/${H}.tar.gz + -> ${P}.tar.gz" +S="${WORKDIR}"/${PN}-${H} + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="dev-scheme/racket:=[-minimal]" +BDEPEND="${RDEPEND}" + +PATCHES=( "${FILESDIR}"/${PN}-rkt-source-dir.patch ) + +DOCS=( CONTRIBUTING.org README.org THANKS.org ) + +ELISP_TEXINFO="doc/racket-mode.texi" +SITEFILE="50${PN}-gentoo.el" + +src_prepare() { + elisp_src_prepare + + sed "s|@SITEETC@|${SITEETC}/${PN}|" -i racket-util.el || die +} + +src_compile() { + elisp_src_compile + + # Equivalent to compiling from Emacs with "racket-mode-start-faster", + # because this is installed globally we have to compile it now. + ebegin "Compiling Racket source files" + find "${S}"/racket -type f -name "*.rkt" -exec raco make -v {} + + eend $? "failed to compile Racket source files" || die +} + +src_test() { + # Set "PLTUSERHOME" to a safe temp directory to prevent writing to ~. + PLTUSERHOME="${T}"/racket-mode/test-racket emake test-racket +} + +src_install() { + elisp_src_install + + # Install Racket files + insinto "${SITEETC}/${PN}" + doins -r racket +} |