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/treemacs/
Date: Mon, 27 Feb 2023 00:05:40
Message-Id: 1677456327.58407ede38ac6bfc6219475dc8ed8df0c9a1a653.xgqt@gentoo
1 commit: 58407ede38ac6bfc6219475dc8ed8df0c9a1a653
2 Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 26 23:58:48 2023 +0000
4 Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 27 00:05:27 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58407ede
7
8 app-emacs/treemacs: enable python 3.11
9
10 Closes: https://bugs.gentoo.org/896538
11 Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
12
13 app-emacs/treemacs/treemacs-2.10-r2.ebuild | 7 ++++---
14 app-emacs/treemacs/treemacs-2.9.5-r2.ebuild | 7 ++++---
15 app-emacs/treemacs/treemacs-3.0-r1.ebuild | 7 ++++---
16 3 files changed, 12 insertions(+), 9 deletions(-)
17
18 diff --git a/app-emacs/treemacs/treemacs-2.10-r2.ebuild b/app-emacs/treemacs/treemacs-2.10-r2.ebuild
19 index 21707f71d5e4..de552c5b30b2 100644
20 --- a/app-emacs/treemacs/treemacs-2.10-r2.ebuild
21 +++ b/app-emacs/treemacs/treemacs-2.10-r2.ebuild
22 @@ -5,7 +5,7 @@ EAPI=8
23
24 NEED_EMACS=26.1
25 DISTUTILS_USE_PEP517=no
26 -PYTHON_COMPAT=( python3_{9..10} )
27 +PYTHON_COMPAT=( python3_{9..11} )
28
29 inherit elisp distutils-r1
30
31 @@ -34,14 +34,14 @@ BDEPEND="
32 test? ( app-emacs/buttercup )
33 "
34
35 -DOCS=( Changelog.org Extensions.org README.org screenshots )
36 +BYTECOMPFLAGS="-L . -L src/elisp"
37 PATCHES=(
38 "${FILESDIR}"/${PN}-2.9.5-tests.patch
39 "${FILESDIR}"/${PN}-async-scripts.patch
40 "${FILESDIR}"/${PN}-icons-icon-directory.patch
41 )
42
43 -BYTECOMPFLAGS="-L . -L src/elisp"
44 +DOCS=( Changelog.org Extensions.org README.org screenshots )
45 SITEFILE="50${PN}-gentoo.el"
46
47 src_prepare() {
48 @@ -58,6 +58,7 @@ python_compile() {
49
50 src_compile() {
51 distutils-r1_src_compile
52 +
53 elisp-compile src/elisp/*.el
54 }
55
56
57 diff --git a/app-emacs/treemacs/treemacs-2.9.5-r2.ebuild b/app-emacs/treemacs/treemacs-2.9.5-r2.ebuild
58 index 847fece21ce8..1c2b01c56dc4 100644
59 --- a/app-emacs/treemacs/treemacs-2.9.5-r2.ebuild
60 +++ b/app-emacs/treemacs/treemacs-2.9.5-r2.ebuild
61 @@ -5,7 +5,7 @@ EAPI=8
62
63 NEED_EMACS=26.1
64 DISTUTILS_USE_PEP517=no
65 -PYTHON_COMPAT=( python3_{9..10} )
66 +PYTHON_COMPAT=( python3_{9..11} )
67
68 inherit elisp distutils-r1
69
70 @@ -34,14 +34,14 @@ BDEPEND="
71 test? ( app-emacs/buttercup )
72 "
73
74 -DOCS=( Changelog.org Extensions.org README.org screenshots )
75 +BYTECOMPFLAGS="-L . -L src/elisp"
76 PATCHES=(
77 "${FILESDIR}"/${PN}-async-scripts.patch
78 "${FILESDIR}"/${PN}-icons-icon-directory.patch
79 "${FILESDIR}"/${P}-tests.patch
80 )
81
82 -BYTECOMPFLAGS="-L . -L src/elisp"
83 +DOCS=( Changelog.org Extensions.org README.org screenshots )
84 SITEFILE="50${PN}-gentoo.el"
85
86 src_prepare() {
87 @@ -58,6 +58,7 @@ python_compile() {
88
89 src_compile() {
90 distutils-r1_src_compile
91 +
92 elisp-compile src/elisp/*.el
93 }
94
95
96 diff --git a/app-emacs/treemacs/treemacs-3.0-r1.ebuild b/app-emacs/treemacs/treemacs-3.0-r1.ebuild
97 index 5b225323539c..2a86b46185ac 100644
98 --- a/app-emacs/treemacs/treemacs-3.0-r1.ebuild
99 +++ b/app-emacs/treemacs/treemacs-3.0-r1.ebuild
100 @@ -5,7 +5,7 @@ EAPI=8
101
102 NEED_EMACS=26.1
103 DISTUTILS_USE_PEP517=no
104 -PYTHON_COMPAT=( python3_{9..10} )
105 +PYTHON_COMPAT=( python3_{9..11} )
106
107 inherit elisp distutils-r1
108
109 @@ -34,7 +34,7 @@ BDEPEND="
110 test? ( app-emacs/buttercup )
111 "
112
113 -DOCS=( Changelog.org Extensions.org README.org screenshots )
114 +BYTECOMPFLAGS="-L . -L src/elisp"
115 PATCHES=(
116 "${FILESDIR}"/${PN}-2.9.5-tests.patch
117 "${FILESDIR}"/${PN}-async-scripts.patch
118 @@ -42,7 +42,7 @@ PATCHES=(
119 "${FILESDIR}"/${P}-tests.patch
120 )
121
122 -BYTECOMPFLAGS="-L . -L src/elisp"
123 +DOCS=( Changelog.org Extensions.org README.org screenshots )
124 SITEFILE="50${PN}-gentoo.el"
125
126 src_prepare() {
127 @@ -59,6 +59,7 @@ python_compile() {
128
129 src_compile() {
130 distutils-r1_src_compile
131 +
132 elisp-compile src/elisp/*.el
133 }