1 |
commit: 98be053e1ac0cb62a61bb43e139013f52f531f82 |
2 |
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Apr 26 16:07:36 2022 +0000 |
4 |
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Apr 26 16:09:33 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98be053e |
7 |
|
8 |
app-emacs/buttercup: bump to 1.25 |
9 |
|
10 |
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org> |
11 |
|
12 |
app-emacs/buttercup/Manifest | 1 + |
13 |
app-emacs/buttercup/buttercup-1.25.ebuild | 30 ++++++++++++++++++++++++++++++ |
14 |
2 files changed, 31 insertions(+) |
15 |
|
16 |
diff --git a/app-emacs/buttercup/Manifest b/app-emacs/buttercup/Manifest |
17 |
index 07dbcd1e884b..361966f289e9 100644 |
18 |
--- a/app-emacs/buttercup/Manifest |
19 |
+++ b/app-emacs/buttercup/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST buttercup-1.24.tar.gz 85337 BLAKE2B fb40d0899f68aff5f2fdb989b2c0e42005e6667ecfe8a4ca806ddb4139f497f0eed5328ba6407136b757a0f13bc6ec5ee488792da3de1e84edba394a781c410c SHA512 0a436f5e5bcf386a3675ef281ac6c9f0125917058de88a5557d879004bbf7cd4298086aa3fb86f2bd807f46c166b0fb02e248cc485878891293147656525f8ca |
22 |
+DIST buttercup-1.25.tar.gz 86763 BLAKE2B ccf7ba797517710e66b666cc121766d29886e0e1a8fd5ad63cb8b5fa4ee2d2a0d2644cd413c1095f37b1ba60467c012e507230787e1daaca3e869a4072e61bb4 SHA512 1eb45485fb1de638837da4d97f6043a64e97d167c8c130d9c5ba6ff67a5e0bcae272c8247779ab1c9427668468a3b94e91af07426b5465a7c3f9c54433a0433e |
23 |
|
24 |
diff --git a/app-emacs/buttercup/buttercup-1.25.ebuild b/app-emacs/buttercup/buttercup-1.25.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..aaf465a347d8 |
27 |
--- /dev/null |
28 |
+++ b/app-emacs/buttercup/buttercup-1.25.ebuild |
29 |
@@ -0,0 +1,30 @@ |
30 |
+# Copyright 2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+NEED_EMACS="24.3" |
36 |
+ |
37 |
+inherit elisp |
38 |
+ |
39 |
+DESCRIPTION="Behaviour-driven Elisp testing" |
40 |
+HOMEPAGE="https://github.com/jorgenschaefer/emacs-buttercup" |
41 |
+SRC_URI="https://github.com/jorgenschaefer/emacs-${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
42 |
+S="${WORKDIR}"/emacs-${P} |
43 |
+ |
44 |
+LICENSE="GPL-3+" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64 ~x86" |
47 |
+ |
48 |
+DOCS=( docs/{running,writing}-tests.md ) |
49 |
+SITEFILE="50${PN}-gentoo.el" |
50 |
+ |
51 |
+src_test() { |
52 |
+ ${EMACS} ${EMACSFLAGS} -L . -l buttercup \ |
53 |
+ -f buttercup-run-discover || die "tests failed" |
54 |
+} |
55 |
+ |
56 |
+src_install() { |
57 |
+ elisp_src_install |
58 |
+ dobin bin/${PN} |
59 |
+} |