1 |
commit: bd293596c0a0247a1d589a7d2ebc7a5c7a062346 |
2 |
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon May 9 12:25:06 2022 +0000 |
4 |
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon May 9 12:31:50 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd293596 |
7 |
|
8 |
app-emacs/treemacs: bump to 2.10 |
9 |
|
10 |
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org> |
11 |
|
12 |
app-emacs/treemacs/Manifest | 1 + |
13 |
app-emacs/treemacs/treemacs-2.10.ebuild | 61 +++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 62 insertions(+) |
15 |
|
16 |
diff --git a/app-emacs/treemacs/Manifest b/app-emacs/treemacs/Manifest |
17 |
index 6ce00e3b55f9..e3daff3ffdcf 100644 |
18 |
--- a/app-emacs/treemacs/Manifest |
19 |
+++ b/app-emacs/treemacs/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
+DIST treemacs-2.10.tar.gz 4137468 BLAKE2B 0f832d02f8b0f96f7000c57b1842319155face5cb50c44ff4286f7f28dd74b38739079de9c387dbddbf93af37a5c750c45a598100ed5053674a565b4ec34f0c6 SHA512 9326a3f66c1b38eb7ef39e90900c2ef71d20c6c3478213f61c144ca4face562dccf00d6d400315c264627468a0c3319a24f0ec6cddb795b54e1b7f3c235d1c71 |
22 |
DIST treemacs-2.9.5.tar.gz 4134227 BLAKE2B 1fbdb278e9524fdb14cbc7699bc787ab694b00d37a91ec3e91e106079bc02f6b8b39207608873d45c70fd6355a22553bf1a0636a948b79df77adfe0b4a3f799f SHA512 adc026d7ad459418fae531c5a1a7df7f9308e63dec82240c1c5e278eb00fdf8d6dff1ee2112ea73d5a05c4266efe24623bb84f8819a6f07fbb4fde6e644ca9ad |
23 |
|
24 |
diff --git a/app-emacs/treemacs/treemacs-2.10.ebuild b/app-emacs/treemacs/treemacs-2.10.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..ea3b8ab8544a |
27 |
--- /dev/null |
28 |
+++ b/app-emacs/treemacs/treemacs-2.10.ebuild |
29 |
@@ -0,0 +1,61 @@ |
30 |
+# Copyright 1999-2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+NEED_EMACS=26.1 |
36 |
+ |
37 |
+inherit elisp |
38 |
+ |
39 |
+DESCRIPTION="Tree style project file explorer" |
40 |
+HOMEPAGE="https://github.com/Alexander-Miller/treemacs/" |
41 |
+SRC_URI="https://github.com/Alexander-Miller/${PN}/archive/${PV}.tar.gz |
42 |
+ -> ${P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="GPL-3+" |
45 |
+KEYWORDS="~amd64" |
46 |
+SLOT="0" |
47 |
+IUSE="test" |
48 |
+RESTRICT="!test? ( test )" |
49 |
+ |
50 |
+RDEPEND=" |
51 |
+ app-emacs/ace-window |
52 |
+ app-emacs/cfrs |
53 |
+ app-emacs/dash |
54 |
+ app-emacs/ht |
55 |
+ app-emacs/hydra |
56 |
+ app-emacs/pfuture |
57 |
+ app-emacs/s |
58 |
+" |
59 |
+BDEPEND=" |
60 |
+ ${RDEPEND} |
61 |
+ test? ( app-emacs/buttercup ) |
62 |
+" |
63 |
+ |
64 |
+DOCS=( Changelog.org Extensions.org README.org screenshots ) |
65 |
+PATCHES=( "${FILESDIR}"/${PN}-icons-icon-directory.patch ) |
66 |
+ |
67 |
+BYTECOMPFLAGS="-L . -L src/elisp" |
68 |
+SITEFILE="50${PN}-gentoo.el" |
69 |
+ |
70 |
+src_prepare() { |
71 |
+ elisp_src_prepare |
72 |
+ |
73 |
+ sed "s|@SITEETC@|${SITEETC}/${PN}|" -i src/elisp/${PN}-icons.el || die |
74 |
+} |
75 |
+ |
76 |
+src_compile() { |
77 |
+ elisp-compile src/elisp/*.el |
78 |
+} |
79 |
+ |
80 |
+src_test() { |
81 |
+ buttercup ${BYTECOMPFLAGS} -L test --traceback full || die |
82 |
+} |
83 |
+ |
84 |
+src_install() { |
85 |
+ elisp-install ${PN} src/elisp/*.el{,c} |
86 |
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}" |
87 |
+ |
88 |
+ insinto ${SITEETC}/${PN} |
89 |
+ doins -r icons |
90 |
+} |