Gentoo Archives: gentoo-commits

From: "Maciej Barć" <xgqt@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emacs/helm/files/, app-emacs/helm/
Date: Sat, 01 Oct 2022 14:24:26
Message-Id: 1664633387.ea00025d5c959514a745e3ed988803b879be4040.xgqt@gentoo
1 commit: ea00025d5c959514a745e3ed988803b879be4040
2 Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 1 14:09:47 2022 +0000
4 Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 1 14:09:47 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea00025d
7
8 app-emacs/helm: bump to 3.8.8
9
10 Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
11
12 app-emacs/helm/Manifest | 1 +
13 .../helm/files/helm-3.8.8-no-autoload-check.patch | 24 ++++++++++++++
14 app-emacs/helm/helm-3.8.8.ebuild | 37 ++++++++++++++++++++++
15 3 files changed, 62 insertions(+)
16
17 diff --git a/app-emacs/helm/Manifest b/app-emacs/helm/Manifest
18 index 9d7e3fa55c69..bf481af47eea 100644
19 --- a/app-emacs/helm/Manifest
20 +++ b/app-emacs/helm/Manifest
21 @@ -1,3 +1,4 @@
22 DIST helm-3.8.5.tar.gz 2349290 BLAKE2B 84f0c15c2a9f492246defdf9496e8dcc5265b0c60b50ccaaa3b9f6731285a667da919da7fec80d77a4fd11bc83d9f4ae4c0910e31423b58afbdf00d51b070295 SHA512 af727553c29c9fa0ba6eb6a73b25d62855ea4413eebc57baf3ed94be6a0240e4c558193c898430dc21132ba5e32ead584514910bf98b3b8d82adf7828f953652
23 DIST helm-3.8.6.tar.gz 2356253 BLAKE2B 62b9af26888526f54726468e04677c401c5e828e588cb6f2c005b9ce9d84935c184b536a97a82e4e6c08c3523a10a32f9348d243d2545c17c9480ad004d92d10 SHA512 71342f347aa5cf8bd3e1990c8633d908e6a5fe66e051554aa2f554fba5d63b2623fe2b6b07540473b481986b1d5d27cb2d8b06f127e727aa8d373bc045d0a602
24 DIST helm-3.8.7.tar.gz 2358726 BLAKE2B a76c7c6658997f4d5114e383e1ca728df923b0216c66c9d4c2f9d1d656d06990299ebc79f4ad9c50da1dd133f8111c947e6f238324fbe91c5af5a1ab02aa1c7f SHA512 d7356e407d1ef463e62e7d0f2c3b0f90d150744fa020638740226a3e04e043be0e551effd2c17cd2e8c0d82d70351cb5268a89eca2c9ef6355fcce65a445f9bc
25 +DIST helm-3.8.8.tar.gz 2362007 BLAKE2B 80f854bc38e51de62aa6d9a35cdeff4ac4c193908dc19361ad10ad419585d30a2fd94be1d4d410b69634012e4c01045d4dd2f55c5b4ac8da960d7f7b8d4eed08 SHA512 a1fca373d2c64771aabb3ba396e0d65b3434f0a413bab1e61761c16e9dcf274ceb94e258ef90f4ddd2b150a09606255ea61186d2e4e69ad2600fc40369c693c7
26
27 diff --git a/app-emacs/helm/files/helm-3.8.8-no-autoload-check.patch b/app-emacs/helm/files/helm-3.8.8-no-autoload-check.patch
28 new file mode 100644
29 index 000000000000..01ef1a169686
30 --- /dev/null
31 +++ b/app-emacs/helm/files/helm-3.8.8-no-autoload-check.patch
32 @@ -0,0 +1,24 @@
33 +https://bugs.gentoo.org/800177
34 +
35 +--- a/emacs-helm.sh
36 ++++ b/emacs-helm.sh
37 +@@ -137,19 +137,6 @@ LOAD_PATH=$($EMACS -q -batch --eval "(prin1 load-path)")
38 +
39 + cd "${0%/*}" || exit 1
40 +
41 +-# Check if autoload file exists.
42 +-# It may be in a different directory if emacs-helm.sh is a symlink.
43 +-TRUENAME=$(find "${0%/*}" -path "$0" -printf "%l")
44 +-if [ -n "$TRUENAME" ]; then
45 +- AUTO_FILE="${TRUENAME%/*}/helm-autoloads.el"
46 +-else
47 +- AUTO_FILE="helm-autoloads.el"
48 +-fi
49 +-if [ ! -e "$AUTO_FILE" ]; then
50 +- echo No autoloads found, please run make first to generate autoload file
51 +- exit 1
52 +-fi
53 +-
54 +
55 + cat > $CONF_FILE <<EOF
56 + (setq initial-scratch-message (concat initial-scratch-message
57
58 diff --git a/app-emacs/helm/helm-3.8.8.ebuild b/app-emacs/helm/helm-3.8.8.ebuild
59 new file mode 100644
60 index 000000000000..a99c12c1de3c
61 --- /dev/null
62 +++ b/app-emacs/helm/helm-3.8.8.ebuild
63 @@ -0,0 +1,37 @@
64 +# Copyright 2019-2022 Gentoo Authors
65 +# Distributed under the terms of the GNU General Public License v2
66 +
67 +EAPI=8
68 +
69 +inherit elisp
70 +
71 +DESCRIPTION="Emacs incremental completion and selection narrowing framework"
72 +HOMEPAGE="https://emacs-helm.github.io/helm/
73 + https://github.com/emacs-helm/helm/"
74 +SRC_URI="https://github.com/emacs-helm/${PN}/archive/v${PV}.tar.gz
75 + -> ${P}.tar.gz"
76 +
77 +LICENSE="GPL-3+"
78 +SLOT="0"
79 +KEYWORDS="~amd64 ~x86"
80 +
81 +RDEPEND="
82 + app-emacs/async
83 + app-emacs/popup
84 +"
85 +BDEPEND="${RDEPEND}"
86 +
87 +PATCHES=( "${FILESDIR}"/${P}-no-autoload-check.patch )
88 +SITEFILE="50${PN}-gentoo.el"
89 +
90 +src_compile() {
91 + elisp-compile *.el
92 + elisp-make-autoload-file
93 +}
94 +
95 +src_install() {
96 + elisp_src_install
97 +
98 + exeinto /usr/bin/
99 + doexe emacs-helm.sh
100 +}