commit: 03b08c189687c9b9d4c33ec8edf4b18cb6520238 Author: Maciej Barć <xgqt <AT> gentoo <DOT> org> AuthorDate: Sat Mar 15 17:12:14 2025 +0000 Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org> CommitDate: Sat Mar 15 19:55:32 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03b08c18
app-emacs/eldev: bump to 1.11.1 Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org> app-emacs/eldev/Manifest | 1 + app-emacs/eldev/eldev-1.11.1.ebuild | 62 +++++++++++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+) diff --git a/app-emacs/eldev/Manifest b/app-emacs/eldev/Manifest index 5bfcadf1ed07..ef51a4c31b29 100644 --- a/app-emacs/eldev/Manifest +++ b/app-emacs/eldev/Manifest @@ -1 +1,2 @@ +DIST eldev-1.11.1.gh.tar.gz 320443 BLAKE2B 662f66dbcba8b90aba31059d53b438da365a2c2a672ca8234723588185e6b9c92aa3fe7145e1a4590ee8e9126b9eb25068857969858623f2bbf00bb1eb8aa656 SHA512 b7521288a14aa91efdd9560563c51851d6348dc9134a047abdf93808883652cbc110d0293439c4d337b0def54c064fdd3fa3cbe6c19d6bd19020c83e8d7bd3d2 DIST eldev-1.11.gh.tar.gz 318724 BLAKE2B a3818e244cdbd6a07a10cb962cb4b219380dc7efd8b8e563e4c455c3fcdb4351318f702b2cd5eec82ddb120702492ac864a87539eb5ed58a02d192ce20475bfb SHA512 9415c524484963b10d78e4b510174a3e836c5a4b8ff835ad18c27ec34e0e45b756810876267b32153111e8309571de00f8d9034a9c8a1f016d7950371dc094d0 diff --git a/app-emacs/eldev/eldev-1.11.1.ebuild b/app-emacs/eldev/eldev-1.11.1.ebuild new file mode 100644 index 000000000000..d22118625b0c --- /dev/null +++ b/app-emacs/eldev/eldev-1.11.1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2025 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)." +}