commit: 160e028efd4fb88f62dadac6f1811f18f3c433a9 Author: Maciej Barć <xgqt <AT> gentoo <DOT> org> AuthorDate: Sat Jan 27 19:34:07 2024 +0000 Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org> CommitDate: Sat Jan 27 21:26:10 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=160e028e
app-emacs/eldev: bump to 1.8.2 Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org> app-emacs/eldev/Manifest | 1 + app-emacs/eldev/eldev-1.8.2.ebuild | 55 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+) diff --git a/app-emacs/eldev/Manifest b/app-emacs/eldev/Manifest index f2641a61c6fe..989f13ec1a97 100644 --- a/app-emacs/eldev/Manifest +++ b/app-emacs/eldev/Manifest @@ -1 +1,2 @@ DIST eldev-1.8.1.tar.gz 297931 BLAKE2B ac19db5284ee782aac5cc876b754cc0c7dec4c150787f34ccec6bf2953c4cca8bd10ace4be0c9817802e3813001db661704cb9c68935f3a344d03cba09dc73d8 SHA512 c1a0eff02f64508493a0271bf5321969f2e629d4ce4609a4ed4bc6fe7df32e093bc2f4ee6bd28667d845a65830f270165bb69737a045316b689e45b16c14cc45 +DIST eldev-1.8.2.tar.gz 298578 BLAKE2B 579c72d61e15863a81b8a060da0c78900785a2b58f6a4825d19eebb85467ff838f2777bab05dc4ff2b04367d3fe58e4e71cbce09c4bbcc1c0ad5700cc12edc6d SHA512 c5ae360311d4b23648ecfb86e40a23abd4575480b971d86579f61b2c5a2873a9db211fe044cc33a47cb31bc215890a1c0b73c54700a92fcd1eb299a22733f71a diff --git a/app-emacs/eldev/eldev-1.8.2.ebuild b/app-emacs/eldev/eldev-1.8.2.ebuild new file mode 100644 index 000000000000..59a685fd0787 --- /dev/null +++ b/app-emacs/eldev/eldev-1.8.2.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit elisp + +DESCRIPTION="Emacs Lisp Development Tool" +HOMEPAGE="https://emacs-eldev.github.io/eldev/ + https://github.com/doublep/eldev/" + +if [[ "${PV}" == *9999* ]] ; then + inherit git-r3 + + EGIT_REPO_URI="https://github.com/doublep/${PN}.git" +else + SRC_URI="https://github.com/doublep/${PN}/archive/${PV}.tar.gz + -> ${P}.tar.gz" + + KEYWORDS="~amd64 ~arm ~ppc64 ~riscv ~x86" +fi + +LICENSE="GPL-3+" +SLOT="0" + +ELISP_REMOVE="test/doctor.el" + +DOCS=( README.adoc ) +SITEFILE="50${PN}-gentoo.el" + +src_test() { + ELDEV_LOCAL="${S}" "./bin/${PN}" test +} + +src_install() { + elisp_src_install + dobin "./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)." +}
