app-emacs/buttercup - 1.40 (gentoo)

Search

Install

Install this version:

emerge -a =app-emacs/buttercup-1.40

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =app-emacs/buttercup-1.40

Or alternatively:

emerge --autounmask-write -a =app-emacs/buttercup-1.40

Package Information

Description:
Behaviour-driven Elisp testing
Homepage:
https://github.com/jorgenschaefer/emacs-buttercup/
License:
GPL-3+

Ebuild Details

Version EAPI Keywords Slot
1.40 8 ~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 0
View Raw Ebuild
# 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}"
}

Inherited Eclasses

edo

Manifest for 1.40

Type File Size Source URLs
DIST buttercup-1.40.gh.tar.gz 95884 bytes https://github.com/jorgenschaefer/emacs-buttercup/archive/v1.40.tar.gz