summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2023-12-10 19:37:13 +0100
committerMaciej Barć <xgqt@gentoo.org>2023-12-10 20:16:34 +0100
commit708120454cdd14a37f91ea2005c22ac7c16f2538 (patch)
tree9d2e2fa2af121f8b6b1bab59765befd4312c9b4d /app-emacs
parentapp-emacs/avy-embark-collect: bump to 1.0 (diff)
downloadgentoo-708120454cdd14a37f91ea2005c22ac7c16f2538.tar.gz
gentoo-708120454cdd14a37f91ea2005c22ac7c16f2538.tar.bz2
gentoo-708120454cdd14a37f91ea2005c22ac7c16f2538.zip
app-emacs/buttercup: bump to 1.33
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs')
-rw-r--r--app-emacs/buttercup/Manifest1
-rw-r--r--app-emacs/buttercup/buttercup-1.33.ebuild28
2 files changed, 29 insertions, 0 deletions
diff --git a/app-emacs/buttercup/Manifest b/app-emacs/buttercup/Manifest
index cb0aadcbf89d..e3eac82fc132 100644
--- a/app-emacs/buttercup/Manifest
+++ b/app-emacs/buttercup/Manifest
@@ -1,2 +1,3 @@
DIST buttercup-1.31.tar.gz 91816 BLAKE2B 2a2569a3750b4ebf7ffdf7a0812be322b1f71b3579e35e55de5097a221ab342808349b8cc0e5f958b855aca709fe0b1e83efd005895c52e8dcf59a25960c05e9 SHA512 b7a779b610295d4ce24e537c4a3b4fd8b23c2fa8bcbd3ca622fe96681cf294dcc9eaea082441f23efa75a13c54cc768c63bcff1e0bb8bd7d1971c75c10c21e5e
DIST buttercup-1.32.tar.gz 91941 BLAKE2B d957351054ae9f67ad0e37b8526c269b1fb7fd8fcd81c74d8a74a488158fc766a75aaf641f670e8ceedb8916bf28449c00f492c0fe7dd276070053d4a5bf1d4a SHA512 9b4dd181d37197ceaabcd322109d5df993e1c45dcbcde51a713e6f26053fbedabdd437a5cfef2e9ae8c28fde03d4e8a61f2e93cea1e65be6434a60cc650e68ae
+DIST buttercup-1.33.tar.gz 91925 BLAKE2B d17788f34b001fffa6322d0d3d1f397a32708c1906e993581ef299e6e3897fce90bea186e1cedde4c86c63083e0cc53d016a8c3bd431e7f18a36e70d0ecbd061 SHA512 95fb4031663ed0fa7a023c924ce8bf4b077ace65f0680a7a8ecfdfa5359b30e6d42b27ad857ed1b24ea405c7a49c7b182d337e2bf1c37d971bebba98b37f4f12
diff --git a/app-emacs/buttercup/buttercup-1.33.ebuild b/app-emacs/buttercup/buttercup-1.33.ebuild
new file mode 100644
index 000000000000..c7925cd2ca34
--- /dev/null
+++ b/app-emacs/buttercup/buttercup-1.33.ebuild
@@ -0,0 +1,28 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit elisp
+
+DESCRIPTION="Behaviour-driven Elisp testing"
+HOMEPAGE="https://github.com/jorgenschaefer/emacs-buttercup"
+SRC_URI="https://github.com/jorgenschaefer/emacs-${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}"/emacs-${P}
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+DOCS=( docs/{running,writing}-tests.md )
+SITEFILE="50${PN}-gentoo.el"
+
+src_test() {
+ ${EMACS} ${EMACSFLAGS} -L . -l buttercup \
+ -f buttercup-run-discover || die "tests failed"
+}
+
+src_install() {
+ elisp_src_install
+ dobin bin/${PN}
+}