app-emacs/erlang-mode: drop old 28.1

Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
Maciej Barć
2026-09-30 18:45:56 +02:00
parent 5ca919af4b
commit 92d0a5eb7e
2 changed files with 0 additions and 46 deletions
-1
View File
@@ -1,2 +1 @@
DIST erlang-28.1.tar.gz 63993104 BLAKE2B b02df23135c00940f8122133cfb581f56d23f380396b980e7f12b98bf3a4d540474b5da184710297b5d00948c44f30a638887bcbe5e93259e3d72fe40e052816 SHA512 98b956bcd00fceb277b5ba335db8d947c4be104b55225c0bddbb8cd145366cc237fbf1a8f477c091dce9ecc6d617a7964198379f7f37fd79e0d24df692c1f6b7
DIST erlang-28.3.tar.gz 64134195 BLAKE2B f9079b89191cdb7ceea6a1b3fc4da1eae78df2875a35dbba6ed37ca8035a11f63561c0666acaab804679124fc9f6272b2991a87855ac1608e8eac8eee2ee4765 SHA512 0120a6d7f1364915db2d0ec8fe184ab64132c94b55a2b0b64c54b88bd19a925295059efca20f1802733bb2d1780372f3b9113829a78b9c0d3e8d4eceb7fde0f3
@@ -1,45 +0,0 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit elisp
DESCRIPTION="A major mode for editing Erlang"
HOMEPAGE="https://www.erlang.org/
https://github.com/erlang/"
if [[ "${PV}" == *9999* ]] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/erlang/otp.git"
S="${WORKDIR}/${P}/lib/tools/emacs"
else
# Distfile is shared with dev-lang/erlang.
SRC_URI="https://github.com/erlang/otp/archive/OTP-${PV}.tar.gz
-> erlang-${PV}.tar.gz"
S="${WORKDIR}/otp-OTP-${PV}/lib/tools/emacs"
KEYWORDS="~amd64 ~x86"
fi
LICENSE="Apache-2.0"
SLOT="0"
RDEPEND="
!dev-lang/erlang[emacs(-)]
"
SITEFILE="50${PN}-gentoo.el"
src_prepare() {
elisp_src_prepare
sed -e "s:/usr/share:${EPREFIX}/usr/share:g" \
"${FILESDIR}/${SITEFILE}" > "${T}/${SITEFILE}" || die
}
src_install() {
elisp-install erlang *.el{,c}
elisp-site-file-install "${T}/${SITEFILE}"
}