app-emacs/buttercup: bump to 1.36

Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
Maciej Barć
2024-09-07 00:45:21 +02:00
parent e9bdecc6d3
commit f76b5e37c2
2 changed files with 39 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST buttercup-1.35.tar.gz 93375 BLAKE2B 7bedd4a8576f900934e3a39cdb5a58e85e6b9ec682cc1030495d50d686880ef14d73afbd49340856c3b3279548babf7297ba787f1a17bfd3dee81bd8a72f2f4a SHA512 416edb974999e2eac38040ce72c241ab961cc63f40068711b0436e4f3ca49025955d5ee2d93168770da0f251269652e36c1c9c0436f6ee6133c6ca859dbfe487
DIST buttercup-1.36.tar.gz 94614 BLAKE2B 1c76424188eb09df0b5f46f5c97b8633d11bd324a587cf968de2314f8639b66fc06cb2cee727f4cbc91b3fabeca41f2cfdb5f3ff87d6d2318fffaa3fabfc9280 SHA512 bc7d8d90537687b8d97927f14ac7c401ac9b538b315da6ae418c7af801d1f9461f4b2d9185102e6621240189dda4a8b547cd84332e38bc56458889dab6ec0f66

View File

@@ -0,0 +1,38 @@
# Copyright 2022-2024 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}.tar.gz"
S="${WORKDIR}/emacs-${P}"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~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}"
}