From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 962A5158041 for ; Wed, 13 Mar 2024 16:40:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BDFFCE29B6; Wed, 13 Mar 2024 16:40:25 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A1D3EE29B5 for ; Wed, 13 Mar 2024 16:40:25 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EAF5433BF3B for ; Wed, 13 Mar 2024 16:40:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 24958151E for ; Wed, 13 Mar 2024 16:40:22 +0000 (UTC) From: "Maciej Barć" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Maciej Barć" Message-ID: <1710348013.3e5fdfae7c52cc2403246062572e447495974bfc.xgqt@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-emacs/eldev/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-emacs/eldev/Manifest app-emacs/eldev/eldev-1.9.ebuild X-VCS-Directories: app-emacs/eldev/ X-VCS-Committer: xgqt X-VCS-Committer-Name: Maciej Barć X-VCS-Revision: 3e5fdfae7c52cc2403246062572e447495974bfc X-VCS-Branch: master Date: Wed, 13 Mar 2024 16:40:22 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 16159c89-7e9d-49f8-8393-4eba18c8ee73 X-Archives-Hash: 19604683d2a16c40c14c86bc8a878d8a commit: 3e5fdfae7c52cc2403246062572e447495974bfc Author: Maciej Barć gentoo org> AuthorDate: Wed Mar 13 14:40:12 2024 +0000 Commit: Maciej Barć gentoo org> CommitDate: Wed Mar 13 16:40:13 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e5fdfae app-emacs/eldev: bump to 1.9 Signed-off-by: Maciej Barć gentoo.org> app-emacs/eldev/Manifest | 1 + app-emacs/eldev/eldev-1.9.ebuild | 59 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+) diff --git a/app-emacs/eldev/Manifest b/app-emacs/eldev/Manifest index e186dae3767c..11bd007406a1 100644 --- a/app-emacs/eldev/Manifest +++ b/app-emacs/eldev/Manifest @@ -1 +1,2 @@ DIST eldev-1.8.2.tar.gz 298578 BLAKE2B 579c72d61e15863a81b8a060da0c78900785a2b58f6a4825d19eebb85467ff838f2777bab05dc4ff2b04367d3fe58e4e71cbce09c4bbcc1c0ad5700cc12edc6d SHA512 c5ae360311d4b23648ecfb86e40a23abd4575480b971d86579f61b2c5a2873a9db211fe044cc33a47cb31bc215890a1c0b73c54700a92fcd1eb299a22733f71a +DIST eldev-1.9.tar.gz 300721 BLAKE2B dac07c0f7fba1a8637ca9c2e26ebef26fefa88bc6d709a313818233e8c00e2c53acdd2ba37baba2d8e07aa49634a590790faf58edcefafe910793125d7ab7aed SHA512 c3b64cf457ffc0aaa21c34c48379736c98a94773ffd830cd9d79e840638340201f08899f09363912985f54b248130946d4ce6175891fd298548e6538ca9ee142 diff --git a/app-emacs/eldev/eldev-1.9.ebuild b/app-emacs/eldev/eldev-1.9.ebuild new file mode 100644 index 000000000000..c7b3f8685f75 --- /dev/null +++ b/app-emacs/eldev/eldev-1.9.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)." +}