diff options
author | Maciej Barć <xgqt@gentoo.org> | 2022-03-16 13:12:07 +0100 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2022-03-16 14:22:14 +0100 |
commit | 1949f1eb1c88a2e5de911ae50c5d71b9046d52a8 (patch) | |
tree | 6d9fa3e211b5c3e23a9366193791a7faab53b84c /app-emacs | |
parent | app-emacs/racket-mode: drop old 20220129 (diff) | |
download | gentoo-1949f1eb1c88a2e5de911ae50c5d71b9046d52a8.tar.gz gentoo-1949f1eb1c88a2e5de911ae50c5d71b9046d52a8.tar.bz2 gentoo-1949f1eb1c88a2e5de911ae50c5d71b9046d52a8.zip |
app-emacs/racket-mode: bump to 20220310
2022.03.10 snapshot
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-20220310.ebuild | 48 |
2 files changed, 49 insertions, 0 deletions
diff --git a/app-emacs/racket-mode/Manifest b/app-emacs/racket-mode/Manifest index 392436bb1ffa..4c33d7f36f77 100644 --- a/app-emacs/racket-mode/Manifest +++ b/app-emacs/racket-mode/Manifest @@ -1,2 +1,3 @@ DIST racket-mode-20220208.tar.gz 298473 BLAKE2B 6fcadfe7040efbc3a5e06ffec7abd05958add51a22fb68d5c7d57e052aa7998b9dd0f60816e94e6b80f967108c161a989a98d5516699fc7a6b0f6576a40423cf SHA512 ec6ff476ca23a1d50aa7355df269175b7994a7f57c58d00c27b9161e1fc9a23cfda833aea73b45379cde58a7a3f49a78b40e63724b7c229bc81a37c873b5fc29 DIST racket-mode-20220219.tar.gz 298876 BLAKE2B b3dfbcd9b436648da1ecacf4b7434c3e1b6dea9bc904c2f1911be34bc6b1846684c349f38cd418b09e66f426866b805ca6bd0c98724e69740ad841ae482e62ea SHA512 94879fe9aed106d0210ca359a5d3d857eec098b4442256a489356db0c5b3493b44ee9a0dd6eff0a0d3d2f3c752632e91b1c0ef8705b7b305e3c75fbae42e826a +DIST racket-mode-20220310.tar.gz 300827 BLAKE2B 952cf83a7ddb128b1fe2ede233ed357f0d542682043c36b6c7aa47733579aa09cc00b16c663889bcf00e4099c0aeffd68c9b59a733f692330dfb0acbfeeb9c8f SHA512 a06b22487666af902cae3688429ccf9ce58138568cc76ddcefe4a30dac23cb51a986e0615e143b256fba8b462ebea2fe024649a09dfe7f096553d2a3fc501659 diff --git a/app-emacs/racket-mode/racket-mode-20220310.ebuild b/app-emacs/racket-mode/racket-mode-20220310.ebuild new file mode 100644 index 000000000000..411ee79988d6 --- /dev/null +++ b/app-emacs/racket-mode/racket-mode-20220310.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +H=e321d8ecfb1bc94c3772ef4d20df0ddf9c9c9d76 +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}" + +DOCS=( CONTRIBUTING.md README.md THANKS.md ) +ELISP_TEXINFO="doc/racket-mode.texi" +SITEFILE="50${PN}-gentoo.el" + +src_compile() { + elisp_src_compile + + # Equivalent to compiling from Emacs with "racket-mode-start-faster", + # as this is installed globally we 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 dir to evade 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 +} |