1 |
commit: aac12d280747deda246a63b5a09bac3b5d6c6b5a |
2 |
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed May 4 09:53:57 2022 +0000 |
4 |
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed May 4 12:45:43 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aac12d28 |
7 |
|
8 |
app-emacs/anaphora: new package; add version 1.0.4 |
9 |
|
10 |
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org> |
11 |
|
12 |
app-emacs/anaphora/Manifest | 1 + |
13 |
app-emacs/anaphora/anaphora-1.0.4.ebuild | 22 ++++++++++++++++++++++ |
14 |
app-emacs/anaphora/files/50anaphora-gentoo.el | 1 + |
15 |
app-emacs/anaphora/metadata.xml | 19 +++++++++++++++++++ |
16 |
4 files changed, 43 insertions(+) |
17 |
|
18 |
diff --git a/app-emacs/anaphora/Manifest b/app-emacs/anaphora/Manifest |
19 |
new file mode 100644 |
20 |
index 000000000000..0cd25f16c880 |
21 |
--- /dev/null |
22 |
+++ b/app-emacs/anaphora/Manifest |
23 |
@@ -0,0 +1 @@ |
24 |
+DIST anaphora-1.0.4.tar.gz 9215 BLAKE2B 634cbf68b63bf815755eace47441b40571f9a0a466f552d908358b110e12b75b8256efba915762c53f3280092b12483f6eec6257d78845bd4bef9537d1157f2e SHA512 1cfdb9f91c8fee4598dbc01701cf6cf84296cf18ae244f061c82a753f47f4904fccf8fbc0299e87408e17b4e41df65455f56be393d003c16cf8932f1e9f86d5e |
25 |
|
26 |
diff --git a/app-emacs/anaphora/anaphora-1.0.4.ebuild b/app-emacs/anaphora/anaphora-1.0.4.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..7dc6bcc3fb98 |
29 |
--- /dev/null |
30 |
+++ b/app-emacs/anaphora/anaphora-1.0.4.ebuild |
31 |
@@ -0,0 +1,22 @@ |
32 |
+# Copyright 1999-2022 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=8 |
36 |
+ |
37 |
+inherit elisp |
38 |
+ |
39 |
+DESCRIPTION="Anaphoric expressions for Emacs Lisp, providing implicit temporary variables" |
40 |
+HOMEPAGE="https://github.com/rolandwalker/anaphora/" |
41 |
+SRC_URI="https://github.com/rolandwalker/${PN}/archive/v${PV}.tar.gz |
42 |
+ -> ${P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="public-domain" |
45 |
+KEYWORDS="~amd64 ~x86" |
46 |
+SLOT="0" |
47 |
+ |
48 |
+DOCS=( README.markdown ) |
49 |
+SITEFILE="50${PN}-gentoo.el" |
50 |
+ |
51 |
+src_test() { |
52 |
+ emake test-batch |
53 |
+} |
54 |
|
55 |
diff --git a/app-emacs/anaphora/files/50anaphora-gentoo.el b/app-emacs/anaphora/files/50anaphora-gentoo.el |
56 |
new file mode 100644 |
57 |
index 000000000000..431f7e90ae73 |
58 |
--- /dev/null |
59 |
+++ b/app-emacs/anaphora/files/50anaphora-gentoo.el |
60 |
@@ -0,0 +1 @@ |
61 |
+(add-to-list 'load-path "@SITELISP@") |
62 |
|
63 |
diff --git a/app-emacs/anaphora/metadata.xml b/app-emacs/anaphora/metadata.xml |
64 |
new file mode 100644 |
65 |
index 000000000000..bc649256f86a |
66 |
--- /dev/null |
67 |
+++ b/app-emacs/anaphora/metadata.xml |
68 |
@@ -0,0 +1,19 @@ |
69 |
+<?xml version="1.0" encoding="UTF-8"?> |
70 |
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> |
71 |
+ |
72 |
+<pkgmetadata> |
73 |
+ <maintainer type="project"> |
74 |
+ <email>gnu-emacs@g.o</email> |
75 |
+ <name>Gentoo GNU Emacs project</name> |
76 |
+ </maintainer> |
77 |
+ <upstream> |
78 |
+ <bugs-to>https://github.com/rolandwalker/anaphora/issues/</bugs-to> |
79 |
+ <remote-id type="github">rolandwalker/anaphora</remote-id> |
80 |
+ </upstream> |
81 |
+ <longdescription> |
82 |
+ Anaphoric expressions implicitly create one or more temporary variables |
83 |
+ which can be referred to during the expression. This technique can improve |
84 |
+ clarity in certain cases. It also enables recursion for anonymous |
85 |
+ functions. |
86 |
+ </longdescription> |
87 |
+</pkgmetadata> |