commit:     1bf419aa532658ab7609094154a9c35eab6241c6
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 18 01:19:47 2023 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sat Nov 18 01:31:43 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1bf419aa

app-emacs/eldev: bump to 1.8.1

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

 app-emacs/eldev/Manifest           |  1 +
 app-emacs/eldev/eldev-1.8.1.ebuild | 50 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 51 insertions(+)

diff --git a/app-emacs/eldev/Manifest b/app-emacs/eldev/Manifest
index ddce2bb46f3a..f34d473a3693 100644
--- a/app-emacs/eldev/Manifest
+++ b/app-emacs/eldev/Manifest
@@ -1,2 +1,3 @@
 DIST eldev-1.6.tar.gz 283833 BLAKE2B 
c9111b97ef0ca8a70d60909f5ecacf6628e571e547a83a78aee478964bd8194b93a3c5c2fc83278a5e5e5c9909492699abe9edc1b8e113d2dafeb4af64b000b7
 SHA512 
855c63e173fa3ed8294eeabb08effb621e1b13d672ce035559f9eaa2dc5fa095302cc52b76fd3716312f0e5922b2774d3ccad741b764d67155f8d73c032acbe7
 DIST eldev-1.7.tar.gz 291763 BLAKE2B 
3fabe4d6d596fe66ead62603c377817a0c2c991bd18e677dc37e2d55e48b37ce7fdae295587fdaad21e06be0f68c78f78f673a94b539f0aefad5bb3c7840c7c1
 SHA512 
5582d6af4d11cba7b685e3a1bbe2e4b2ca0af65d82fac42de0badd099f5bfe7458d4ca174834b1d0e450e10cdf5f7c409fff18027e5ce74c48c488e25a8a854a
+DIST eldev-1.8.1.tar.gz 297931 BLAKE2B 
ac19db5284ee782aac5cc876b754cc0c7dec4c150787f34ccec6bf2953c4cca8bd10ace4be0c9817802e3813001db661704cb9c68935f3a344d03cba09dc73d8
 SHA512 
c1a0eff02f64508493a0271bf5321969f2e629d4ce4609a4ed4bc6fe7df32e093bc2f4ee6bd28667d845a65830f270165bb69737a045316b689e45b16c14cc45

diff --git a/app-emacs/eldev/eldev-1.8.1.ebuild 
b/app-emacs/eldev/eldev-1.8.1.ebuild
new file mode 100644
index 000000000000..413e8c727a11
--- /dev/null
+++ b/app-emacs/eldev/eldev-1.8.1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit elisp
+
+DESCRIPTION="Emacs Lisp Development Tool"
+HOMEPAGE="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"
+
+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)."
+}

Reply via email to