diff --git a/app-emacs/buttercup/Manifest b/app-emacs/buttercup/Manifest index c8a60821fb04f..b14fd38eff97d 100644 --- a/app-emacs/buttercup/Manifest +++ b/app-emacs/buttercup/Manifest @@ -1 +1,2 @@ DIST buttercup-1.40.gh.tar.gz 95884 BLAKE2B c86af956ebdb1d21642d02bf36da329d2180ecc620bda1cc890124785fe57f11f841f9f2b9a38c70393c5d4cd705f9a0e5f046b66ba85c8f634ba3b251173f32 SHA512 63947338701b26a33f7667f5cc05aa41a283d0f1e9af0dc58b5e3860adfd7e81ff52a0ae54aee3d117501afe66096a52684930235054f85b6ac0c9dbba1421a3 +DIST buttercup-1.41.gh.tar.gz 95823 BLAKE2B 337b4c1872908ec8eefa13f5224266e51c3f80a306f89aef674ac0369e44c028613f757bfcbfb3448ddc25cd522241bca7435b370e3f1d655f36d46e22748043 SHA512 7621fdff44711743e1882de3fdfa4b9b19156b34b8f9156ef1eca105cb816871427d79fb2f858f775722665009ff84363aff0afed45b3b1a1dc88e12665faf9d diff --git a/app-emacs/buttercup/buttercup-1.41.ebuild b/app-emacs/buttercup/buttercup-1.41.ebuild new file mode 100644 index 0000000000000..3b815a023e85e --- /dev/null +++ b/app-emacs/buttercup/buttercup-1.41.ebuild @@ -0,0 +1,34 @@ +# Copyright 2022-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=9 + +inherit elisp + +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}" +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 + dobin "bin/${PN}" +}