commit:     5edac211f24e814452510178f79a800ba4f02e51
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 19 08:44:28 2025 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Wed Feb 19 08:48:58 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5edac211

app-emacs/buttercup: bump to 1.37

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 app-emacs/buttercup/Manifest              |  1 +
 app-emacs/buttercup/buttercup-1.37.ebuild | 38 +++++++++++++++++++++++++++++++
 2 files changed, 39 insertions(+)

diff --git a/app-emacs/buttercup/Manifest b/app-emacs/buttercup/Manifest
index ff85630e4c43..0c3a48272a9a 100644
--- a/app-emacs/buttercup/Manifest
+++ b/app-emacs/buttercup/Manifest
@@ -1 +1,2 @@
 DIST buttercup-1.36.tar.gz 94614 BLAKE2B 
1c76424188eb09df0b5f46f5c97b8633d11bd324a587cf968de2314f8639b66fc06cb2cee727f4cbc91b3fabeca41f2cfdb5f3ff87d6d2318fffaa3fabfc9280
 SHA512 
bc7d8d90537687b8d97927f14ac7c401ac9b538b315da6ae418c7af801d1f9461f4b2d9185102e6621240189dda4a8b547cd84332e38bc56458889dab6ec0f66
+DIST buttercup-1.37.gh.tar.gz 95022 BLAKE2B 
2b3ca9e0da4749b30f98f06cd0b75a9ebce93e780d5451c500d1a4a2a042534f3bdc60249402e41dc9c8641b006ee482f4c5d79fe07d7e58c644c964af4b5f08
 SHA512 
97db746d3a3b0d1fc63e8ba92079ef40901359a2ec9206e3c75b6b3b31464191724a9f2dee3bc8cb4b3147b5c41269ee563194f89954e16c261423dcf66c21dd

diff --git a/app-emacs/buttercup/buttercup-1.37.ebuild 
b/app-emacs/buttercup/buttercup-1.37.ebuild
new file mode 100644
index 000000000000..a870f68c3e74
--- /dev/null
+++ b/app-emacs/buttercup/buttercup-1.37.ebuild
@@ -0,0 +1,38 @@
+# Copyright 2022-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit elisp edo
+
+DESCRIPTION="Behaviour-driven Elisp testing"
+HOMEPAGE="https://github.com/jorgenschaefer/emacs-buttercup";
+
+if [[ "${PV}" == *9999* ]] ; then
+       inherit git-r3
+
+       EGIT_REPO_URI="https://github.com/jorgenschaefer/emacs-${PN}.git";
+else
+       
SRC_URI="https://github.com/jorgenschaefer/emacs-${PN}/archive/v${PV}.tar.gz
+               -> ${P}.gh.tar.gz"
+       S="${WORKDIR}/emacs-${P}"
+
+       KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc 
~x86"
+fi
+
+LICENSE="GPL-3+"
+SLOT="0"
+
+DOCS=( docs/{running,writing}-tests.md  )
+SITEFILE="50${PN}-gentoo.el"
+
+src_test() {
+       edo ${EMACS} ${EMACSFLAGS} -L . -l buttercup -f buttercup-run-discover
+}
+
+src_install() {
+       elisp_src_install
+
+       exeinto /usr/bin
+       doexe "bin/${PN}"
+}

Reply via email to