summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2022-04-15 23:59:32 +0200
committerMaciej Barć <xgqt@gentoo.org>2022-04-15 23:59:32 +0200
commit1c8201f6cdbf9533d2740cd876040db69a466353 (patch)
treec645cfc144f541ef46aab864d65dc34757406325 /app-emacs/racket-mode
parentwww-client/microsoft-edge: remove old (diff)
downloadgentoo-1c8201f6cdbf9533d2740cd876040db69a466353.tar.gz
gentoo-1c8201f6cdbf9533d2740cd876040db69a466353.tar.bz2
gentoo-1c8201f6cdbf9533d2740cd876040db69a466353.zip
app-emacs/racket-mode: bump to 20220411
2022.04.11 snapshot Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs/racket-mode')
-rw-r--r--app-emacs/racket-mode/Manifest1
-rw-r--r--app-emacs/racket-mode/racket-mode-20220411.ebuild48
2 files changed, 49 insertions, 0 deletions
diff --git a/app-emacs/racket-mode/Manifest b/app-emacs/racket-mode/Manifest
index 4c33d7f36f77..a1cfeb37f7b6 100644
--- a/app-emacs/racket-mode/Manifest
+++ b/app-emacs/racket-mode/Manifest
@@ -1,3 +1,4 @@
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
+DIST racket-mode-20220411.tar.gz 303095 BLAKE2B 7fed011b915e86f6d40d6a9f8640ea2b066c201cf28e20a941fae841e96bf3649f3cf0ad7847091984a7cf490e9b98142617e47038dea70c44999510144dda3a SHA512 ec17ade728390f8f8b783703ca319ee15502afa7f82e86d9aa8b60361ecc65af21990cf89532b38bfc211887c00b5aa4c820dc0e66a1b1a1a9aacbc08673d35d
diff --git a/app-emacs/racket-mode/racket-mode-20220411.ebuild b/app-emacs/racket-mode/racket-mode-20220411.ebuild
new file mode 100644
index 000000000000..46f695097f04
--- /dev/null
+++ b/app-emacs/racket-mode/racket-mode-20220411.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+H=e7efbb52fdf2219532230a199153d8a33889c26f
+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
+}