diff options
author | Maciej Barć <xgqt@gentoo.org> | 2024-03-30 21:31:17 +0100 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2024-03-31 00:09:26 +0100 |
commit | 92d02749d412047c2ad5a3808d2e3a341a465d99 (patch) | |
tree | 643c2f8f91a51e2c8774d1db7ab91bbd6c531a21 /app-emacs/buttercup | |
parent | app-emacs/uxntal-mode: bump to 0.3 (diff) | |
download | gentoo-92d02749d412047c2ad5a3808d2e3a341a465d99.tar.gz gentoo-92d02749d412047c2ad5a3808d2e3a341a465d99.tar.bz2 gentoo-92d02749d412047c2ad5a3808d2e3a341a465d99.zip |
app-emacs/buttercup: bump to 1.35
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs/buttercup')
-rw-r--r-- | app-emacs/buttercup/Manifest | 1 | ||||
-rw-r--r-- | app-emacs/buttercup/buttercup-1.35.ebuild | 38 |
2 files changed, 39 insertions, 0 deletions
diff --git a/app-emacs/buttercup/Manifest b/app-emacs/buttercup/Manifest index c9c11d4c5328..4ce2ae40f10d 100644 --- a/app-emacs/buttercup/Manifest +++ b/app-emacs/buttercup/Manifest @@ -1,2 +1,3 @@ DIST buttercup-1.33.tar.gz 91925 BLAKE2B d17788f34b001fffa6322d0d3d1f397a32708c1906e993581ef299e6e3897fce90bea186e1cedde4c86c63083e0cc53d016a8c3bd431e7f18a36e70d0ecbd061 SHA512 95fb4031663ed0fa7a023c924ce8bf4b077ace65f0680a7a8ecfdfa5359b30e6d42b27ad857ed1b24ea405c7a49c7b182d337e2bf1c37d971bebba98b37f4f12 DIST buttercup-1.34.tar.gz 92551 BLAKE2B 51335027d4ee799e80563355eee1dbadddf2bf92e5790eb7afb2fbfd5a53fdc17ab09eec75b5e6712faac4f03e29c6493914f848a584f594710d9c5a379e4361 SHA512 8aa788b5937ecb89d7a8e486d28df78cb582024c438d6e5ec9ad582b17351b116bca87771a0e8d7386e8357d39f6ca8b109612258e55ca16497f4189eddb7a99 +DIST buttercup-1.35.tar.gz 93375 BLAKE2B 7bedd4a8576f900934e3a39cdb5a58e85e6b9ec682cc1030495d50d686880ef14d73afbd49340856c3b3279548babf7297ba787f1a17bfd3dee81bd8a72f2f4a SHA512 416edb974999e2eac38040ce72c241ab961cc63f40068711b0436e4f3ca49025955d5ee2d93168770da0f251269652e36c1c9c0436f6ee6133c6ca859dbfe487 diff --git a/app-emacs/buttercup/buttercup-1.35.ebuild b/app-emacs/buttercup/buttercup-1.35.ebuild new file mode 100644 index 000000000000..413b4cf227ab --- /dev/null +++ b/app-emacs/buttercup/buttercup-1.35.ebuild @@ -0,0 +1,38 @@ +# Copyright 2022-2024 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" + +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() { + ${EMACS} ${EMACSFLAGS} -L . -l buttercup \ + -f buttercup-run-discover || die "tests failed" +} + +src_install() { + elisp_src_install + + dobin "bin/${PN}" +} |