commit:     1db84bb1647c296200d26c5d7f107f040a82a259
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 20 09:59:51 2024 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Fri Dec 20 11:31:18 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1db84bb1

app-emacs/eldev: sync live 9999 version

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

 app-emacs/eldev/eldev-9999.ebuild | 31 +++++++++++++++++++++----------
 1 file changed, 21 insertions(+), 10 deletions(-)

diff --git a/app-emacs/eldev/eldev-9999.ebuild 
b/app-emacs/eldev/eldev-9999.ebuild
index 413e8c727a11..7251e88d76f6 100644
--- a/app-emacs/eldev/eldev-9999.ebuild
+++ b/app-emacs/eldev/eldev-9999.ebuild
@@ -1,35 +1,46 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-inherit elisp
+inherit edo elisp
 
 DESCRIPTION="Emacs Lisp Development Tool"
-HOMEPAGE="https://github.com/doublep/eldev/";
+HOMEPAGE="https://emacs-eldev.github.io/eldev/
+       https://github.com/emacs-eldev/eldev/";
 
-if [[ ${PV} == *9999* ]] ; then
+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"
+       
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/doctor.el
+"
+
 DOCS=( README.adoc )
 SITEFILE="50${PN}-gentoo.el"
 
 src_test() {
-       ELDEV_LOCAL="${S}" ./bin/${PN} test
+       local -x ELDEV_LOCAL="${S}"
+
+       edo "./bin/${PN}" test
 }
 
 src_install() {
        elisp_src_install
-       dobin bin/${PN}
+
+       exeinto /usr/bin
+       doexe "./bin/${PN}"
 
        # NOTICE: If ELDEV_LOCAL is defined Eldev will use it
        # to load up it's components,
@@ -37,8 +48,8 @@ src_install() {
        # 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}
+       echo "ELDEV_LOCAL=${SITELISP}/${PN}" >> "${T}/99${PN}" || die
+       doenvd "${T}/99${PN}"
 }
 
 pkg_postinst() {

Reply via email to