diff --git a/app-emacs/buttercup/Manifest b/app-emacs/buttercup/Manifest index c7ae37e4d261c..cd2180358ff43 100644 --- a/app-emacs/buttercup/Manifest +++ b/app-emacs/buttercup/Manifest @@ -1 +1,2 @@ DIST buttercup-1.38.gh.tar.gz 95260 BLAKE2B 1973f47741496c450e3535c8c35229288bd3a5d7643b3a178161e13522d2ee5eeadafa3aa010eeb0835c2c0b5179f77ee718946ed7d2094ee077bada374d10e5 SHA512 fbce8628ed5a7a6cb04bbf95229c09093e72559ea47b9c2d7706f2f3f73643e391e2b7d6b66bcf15c866e82de0d322fa5f13f67f0ddb778b369b3b0021ab5eb4 +DIST buttercup-1.39.gh.tar.gz 95847 BLAKE2B f1127c33a987167841132e7060aadecb66944237a8d45874cd3288a810936c961dc46031404eb5d9bb3bbd22a6a2ef90615b648e270ae2cec1fb76798a27edc5 SHA512 a6a81e0a7a30f76c6fb59f6f47b43316e270507d4e5487d00616bf02c8f5f78b9327ea1e2435f38d66cca629b6d3d0e3aca385962fdd590877e3dd4e0ad90478 diff --git a/app-emacs/buttercup/buttercup-1.39.ebuild b/app-emacs/buttercup/buttercup-1.39.ebuild new file mode 100644 index 0000000000000..2542afb62b018 --- /dev/null +++ b/app-emacs/buttercup/buttercup-1.39.ebuild @@ -0,0 +1,36 @@ +# Copyright 2022-2026 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}" +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}" +}