diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-10-06 17:57:58 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-10-06 17:57:58 +0100 |
commit | 8368c614e6a1232f34a14cd6495cf2f68933030d (patch) | |
tree | fb445ed1110e0361c9c25136c00c4fb948bb46c4 /app-emacs/buttercup/buttercup-1.32.ebuild | |
parent | 2b03b0d9c5ca3890c219ebd24721133e766e9bb9 (diff) |
gentoo auto-resync : 06:10:2023 - 17:57:58
Diffstat (limited to 'app-emacs/buttercup/buttercup-1.32.ebuild')
-rw-r--r-- | app-emacs/buttercup/buttercup-1.32.ebuild | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/app-emacs/buttercup/buttercup-1.32.ebuild b/app-emacs/buttercup/buttercup-1.32.ebuild new file mode 100644 index 000000000000..96cc1f27a2be --- /dev/null +++ b/app-emacs/buttercup/buttercup-1.32.ebuild @@ -0,0 +1,28 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit elisp + +DESCRIPTION="Behaviour-driven Elisp testing" +HOMEPAGE="https://github.com/jorgenschaefer/emacs-buttercup" +SRC_URI="https://github.com/jorgenschaefer/emacs-${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}"/emacs-${P} + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" + +DOCS=( docs/{running,writing}-tests.md ) +SITEFILE="50${PN}-gentoo.el" + +src_test() { + ${EMACS} ${EMACSFLAGS} -L . -l buttercup \ + -f buttercup-run-discover || die "tests failed" +} + +src_install() { + elisp_src_install + dobin bin/${PN} +} |