app-emacs/racket-mode: drop old 1_p20250122

Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
Maciej Barć
2025-10-03 22:15:09 +02:00
parent 0e72c47edc
commit 8dbe06adcd
2 changed files with 0 additions and 78 deletions

View File

@@ -1,2 +1 @@
DIST racket-mode-1_p20250122.tar.gz 399114 BLAKE2B a5b3246921ed17afcd042edb720b32fc2957500ae732d6b4fe69fdda6a94c03fc11efae67265ec3e4512db8bab00bebd817d3cbd25c9d2ee59501084226fba96 SHA512 ac5f8b78a3ee3475f3bd85f945527709a3939aa9d69ee12264438a92432eb7c81d1429758138943ba566e7f3d4e2f8102796e4fd71a98cb1caa64be7cacc279e
DIST racket-mode-1_p20250522.gh.tar.gz 399650 BLAKE2B 83d95afbd608564c0a2a2c879ff074c0051f481ec6c718c154e2646defef83b0cc5f989a6026572a3f86783b1cc692fe0ae67ab76b0ec90969d5908b6f6b59de SHA512 0d9173bfbafb825b9cccff8aec03db4d092a6573bb2e7d7ba9fc4ed58234b6c24c0705fed1c64acb46e39bb4a767722255ef60e0ecfb8233c01b138c85a71916

View File

@@ -1,77 +0,0 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit elisp
DESCRIPTION="Emacs modes for Racket: edit, REPL, check-syntax, debug, profile, and more"
HOMEPAGE="https://www.racket-mode.com/
https://github.com/greghendershott/racket-mode/"
if [[ "${PV}" == *9999* ]] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/greghendershott/${PN}.git"
else
[[ "${PV}" == *_p20250122 ]] && \
COMMIT="142c36c13de9f9e5e02cef965fb6517235699dd4"
SRC_URI="https://github.com/greghendershott/${PN}/archive/${COMMIT}.tar.gz
-> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${COMMIT}"
KEYWORDS="amd64 ~x86"
fi
LICENSE="GPL-3+"
SLOT="0"
RDEPEND="
dev-scheme/racket:=[-minimal]
"
BDEPEND="
${RDEPEND}
"
ELISP_REMOVE="
test/racket/hash-lang-test.rkt
"
PATCHES=(
"${FILESDIR}/${PN}-rkt-source-dir.patch"
)
DOCS=( CONTRIBUTING.org README.org THANKS.org )
ELISP_TEXINFO="doc/${PN}.texi"
SITEFILE="50${PN}-gentoo.el"
src_prepare() {
elisp_src_prepare
sed "s|@SITEETC@|${SITEETC}/${PN}|" -i "${S}/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 "~".
local -x PLTUSERHOME="${T}/racket-mode/test-racket"
emake test-racket
}
src_install() {
elisp_src_install
# Install Racket files to "${SITEETC}".
insinto "${SITEETC}/${PN}"
doins -r racket
}