1 |
commit: 516aecf46e713c1ee804401a6437bbbff385fcf6 |
2 |
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Aug 27 00:41:55 2022 +0000 |
4 |
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Aug 27 01:27:01 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=516aecf4 |
7 |
|
8 |
app-emacs/compat: bump to 28.1.2.2 |
9 |
|
10 |
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org> |
11 |
|
12 |
app-emacs/compat/Manifest | 1 + |
13 |
app-emacs/compat/compat-28.1.2.2.ebuild | 41 +++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 42 insertions(+) |
15 |
|
16 |
diff --git a/app-emacs/compat/Manifest b/app-emacs/compat/Manifest |
17 |
index 298a7091b2e5..2333441dd226 100644 |
18 |
--- a/app-emacs/compat/Manifest |
19 |
+++ b/app-emacs/compat/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST compat-28.1.1.3.tar.gz 72597 BLAKE2B 82186713370fed7f97eb057cb330d77c1d758224ad37c0b7fbbd21221b0d2ffd68be805483f3e9577866f02079c83a5686918c87a1ed7c67c9acdd64aa3a560b SHA512 d65e5ce666607cd6d26cf771d6878caeb6641aff0fc924ec901955c1a03b6fe42e3527220448fa92a8d6c3f5bd65e6f915ed4ada1be01a29d7919f916826e48f |
22 |
DIST compat-28.1.2.0.tar.gz 72597 BLAKE2B 82186713370fed7f97eb057cb330d77c1d758224ad37c0b7fbbd21221b0d2ffd68be805483f3e9577866f02079c83a5686918c87a1ed7c67c9acdd64aa3a560b SHA512 d65e5ce666607cd6d26cf771d6878caeb6641aff0fc924ec901955c1a03b6fe42e3527220448fa92a8d6c3f5bd65e6f915ed4ada1be01a29d7919f916826e48f |
23 |
+DIST compat-28.1.2.2.tar.gz 82479 BLAKE2B 154104a3d1cf953f712de357d21736d648289dbdaccb0f9ca5cbd44cb1e41b9b7b4b52394548658b47216f9205f28d2020b015d22b5d0c4df63c79794ddfc56e SHA512 65cafbf4d48815f447e412c4dbd87c5bd3357df5302660a5296582648926f8e3fe96b4b90b53674f18be8affe66af95c8db7e58d7a9dd63d2b57983962e5a53c |
24 |
|
25 |
diff --git a/app-emacs/compat/compat-28.1.2.2.ebuild b/app-emacs/compat/compat-28.1.2.2.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..ef23dab91fee |
28 |
--- /dev/null |
29 |
+++ b/app-emacs/compat/compat-28.1.2.2.ebuild |
30 |
@@ -0,0 +1,41 @@ |
31 |
+# Copyright 1999-2022 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+NEED_EMACS=24 |
37 |
+ |
38 |
+inherit elisp |
39 |
+ |
40 |
+DESCRIPTION="Compatibility libraries for Emacs" |
41 |
+HOMEPAGE="https://git.sr.ht/~pkal/compat/" |
42 |
+SRC_URI="https://git.sr.ht/~pkal/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="GPL-3+" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64 ~x86" |
47 |
+ |
48 |
+BDEPEND="sys-apps/texinfo" |
49 |
+ |
50 |
+ELISP_TEXINFO="${PN}.texi" |
51 |
+ |
52 |
+src_compile() { |
53 |
+ emake compile ${PN}.info |
54 |
+} |
55 |
+ |
56 |
+src_test() { |
57 |
+ local has_json="$("${EMACS}" ${EMACSFLAGS} --eval "(princ (fboundp 'json-parse-string))")" |
58 |
+ if [[ "${has_json}" != t ]] ; then |
59 |
+ local line |
60 |
+ while read line ; do |
61 |
+ ewarn "${line}" |
62 |
+ done <<-EOF |
63 |
+ Your current Emacs version does not support native JSON parsing, |
64 |
+ which is required for running tests of ${CATEGORY}/${PN}. |
65 |
+ Emerge >=app-editors/emacs-27 with USE="json" and use "eselect emacs" |
66 |
+ to select that version. |
67 |
+ EOF |
68 |
+ else |
69 |
+ emake test |
70 |
+ fi |
71 |
+} |