summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2023-10-06 11:26:50 +0200
committerMaciej Barć <xgqt@gentoo.org>2023-10-06 17:20:47 +0200
commit1d7fac923cf98e7e2aacf719d3e313341b530f3f (patch)
tree4daff057b1478b789d74d667f610995617a50671
parentapp-emacs/swift-mode: bump to 9.1.0 (diff)
downloadgentoo-1d7fac923cf98e7e2aacf719d3e313341b530f3f.tar.gz
gentoo-1d7fac923cf98e7e2aacf719d3e313341b530f3f.tar.bz2
gentoo-1d7fac923cf98e7e2aacf719d3e313341b530f3f.zip
app-emacs/buttercup: bump to 1.32
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
-rw-r--r--app-emacs/buttercup/Manifest1
-rw-r--r--app-emacs/buttercup/buttercup-1.32.ebuild28
2 files changed, 29 insertions, 0 deletions
diff --git a/app-emacs/buttercup/Manifest b/app-emacs/buttercup/Manifest
index 8ccae56f1c7d..cb0aadcbf89d 100644
--- a/app-emacs/buttercup/Manifest
+++ b/app-emacs/buttercup/Manifest
@@ -1 +1,2 @@
DIST buttercup-1.31.tar.gz 91816 BLAKE2B 2a2569a3750b4ebf7ffdf7a0812be322b1f71b3579e35e55de5097a221ab342808349b8cc0e5f958b855aca709fe0b1e83efd005895c52e8dcf59a25960c05e9 SHA512 b7a779b610295d4ce24e537c4a3b4fd8b23c2fa8bcbd3ca622fe96681cf294dcc9eaea082441f23efa75a13c54cc768c63bcff1e0bb8bd7d1971c75c10c21e5e
+DIST buttercup-1.32.tar.gz 91941 BLAKE2B d957351054ae9f67ad0e37b8526c269b1fb7fd8fcd81c74d8a74a488158fc766a75aaf641f670e8ceedb8916bf28449c00f492c0fe7dd276070053d4a5bf1d4a SHA512 9b4dd181d37197ceaabcd322109d5df993e1c45dcbcde51a713e6f26053fbedabdd437a5cfef2e9ae8c28fde03d4e8a61f2e93cea1e65be6434a60cc650e68ae
diff --git a/app-emacs/buttercup/buttercup-1.32.ebuild b/app-emacs/buttercup/buttercup-1.32.ebuild
new file mode 100644
index 000000000000..96cc1f27a2be
--- /dev/null
+++ b/app-emacs/buttercup/buttercup-1.32.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="~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}
+}