commit:     8c33c5c09a5ac81ef76b28e51de66b1f7766e7a2
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Mon May  6 16:43:07 2024 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Mon May  6 18:00:14 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c33c5c0

app-emacs/eldev: bump to 1.10

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 app-emacs/eldev/Manifest          |  1 +
 app-emacs/eldev/eldev-1.10.ebuild | 59 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 60 insertions(+)

diff --git a/app-emacs/eldev/Manifest b/app-emacs/eldev/Manifest
index 8d32dd0a6323..72c67b884f58 100644
--- a/app-emacs/eldev/Manifest
+++ b/app-emacs/eldev/Manifest
@@ -1 +1,2 @@
+DIST eldev-1.10.tar.gz 306364 BLAKE2B 
82d8ef2c8c4268aa77b81cdc4344c359a92f02657b2f9e02ff43b3d8e1ffb8ebee93a6cfb906b05473e9ba86b54eeb2e274e42113049220fc3f61c7e706492e5
 SHA512 
d46c2091c126251b381235df76f566f06034546302ee7425c5a28d55d7d4e212d326019983267f4474e6b3170547e24fb01c9a40425a2d35cf2615aa01ea9263
 DIST eldev-1.9.1.tar.gz 301188 BLAKE2B 
ce57bee48dda505113df269504fdcad1847e80b2df9e3f7916d7960ee7212a7cb44165b373f0e6c54c0d04f7990f46132afdf6d64ae1b93a9433353cf5058a81
 SHA512 
f059f49e920ea518b23cbd0a8d49d0e86c9fdb5d759bb42d44a620b95dd7eb007e1457de904c9a5149b9c76ef7737ba2942de4cf7a6be2becb2a6152e08bea26

diff --git a/app-emacs/eldev/eldev-1.10.ebuild 
b/app-emacs/eldev/eldev-1.10.ebuild
new file mode 100644
index 000000000000..c7b3f8685f75
--- /dev/null
+++ b/app-emacs/eldev/eldev-1.10.ebuild
@@ -0,0 +1,59 @@
+# 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
+
+       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)."
+}

Reply via email to