app-emacs/eldev: bump to 1.11.2

Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
Maciej Barć
2026-06-12 19:23:36 +02:00
parent 8407a2d9ab
commit ec475e4e10
2 changed files with 60 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST eldev-1.11.1.gh.tar.gz 320443 BLAKE2B 662f66dbcba8b90aba31059d53b438da365a2c2a672ca8234723588185e6b9c92aa3fe7145e1a4590ee8e9126b9eb25068857969858623f2bbf00bb1eb8aa656 SHA512 b7521288a14aa91efdd9560563c51851d6348dc9134a047abdf93808883652cbc110d0293439c4d337b0def54c064fdd3fa3cbe6c19d6bd19020c83e8d7bd3d2
DIST eldev-1.11.2.gh.tar.gz 320924 BLAKE2B 4f97fc64fa02e90a371249c6252936172b4ee2a891df9a8a1cc44e4c8f8e11cf3f84e34e98b598803b5bc522713b6223319506fc9ad585833e1e90cc348d181f SHA512 0f921d8a516017521cd47e0ca54fc3905d1ee49e403ebb103af380dd2fb216241c1e8b6e71e8587603fda6df7aad0a3de8630e8800f4809a1d7fa995f30a10d3

View File

@@ -0,0 +1,59 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit edo elisp
DESCRIPTION="Emacs Lisp Development Tool"
HOMEPAGE="https://emacs-eldev.github.io/eldev/
https://github.com/emacs-eldev/eldev/"
if [[ "${PV}" == *9999* ]] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/doublep/${PN}"
else
SRC_URI="https://github.com/emacs-eldev/${PN}/archive/refs/tags/${PV}.tar.gz
-> ${P}.gh.tar.gz"
KEYWORDS="~amd64 ~arm ~ppc64 ~riscv ~x86"
fi
LICENSE="GPL-3+"
SLOT="0"
ELISP_REMOVE="
test/backtrace.el
test/doctor.el
"
DOCS=( README.adoc )
SITEFILE="50${PN}-gentoo.el"
src_test() {
local -x ELDEV_LOCAL="${S}"
edo "./bin/${PN}" test
}
src_install() {
elisp_src_install
exeinto /usr/bin
doexe "./bin/${PN}"
# NOTICE: If ELDEV_LOCAL is defined Eldev will use it
# to load up it's components,
# if it is not it will bootstrap itself from network
# always check if it uses installed Emacs Lisp files.
# Also, do not forget to run `env-update` & reopen your shell.
# https://github.com/doublep/eldev#influential-environment-variables
echo "ELDEV_LOCAL=${SITELISP}/${PN}" >> "${T}/99${PN}" || die
doenvd "${T}/99${PN}"
}
pkg_postinst() {
elisp_pkg_postinst
ewarn "Remember to run \`env-update && source /etc/profile\` if you plan"
ewarn "to use Eldev in a shell before logging out (or restarting"
ewarn "your login manager)."
}