Gentoo Archives: gentoo-commits

From: "Maciej Barć" <xgqt@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emacs/buttercup/files/, app-emacs/buttercup/
Date: Tue, 26 Apr 2022 16:09:43
Message-Id: 1650989372.eae5247d919f96fc90d518b9923f8c1cef5dd5a0.xgqt@gentoo
1 commit: eae5247d919f96fc90d518b9923f8c1cef5dd5a0
2 Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
3 AuthorDate: Tue Apr 26 15:59:07 2022 +0000
4 Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
5 CommitDate: Tue Apr 26 16:09:32 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eae5247d
7
8 app-emacs/buttercup: remove elisp autoload file; minor fixes
9
10 Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
11
12 .../{buttercup-1.24.ebuild => buttercup-1.24-r1.ebuild} | 12 ++++--------
13 app-emacs/buttercup/files/50buttercup-gentoo.el | 1 -
14 2 files changed, 4 insertions(+), 9 deletions(-)
15
16 diff --git a/app-emacs/buttercup/buttercup-1.24.ebuild b/app-emacs/buttercup/buttercup-1.24-r1.ebuild
17 similarity index 69%
18 rename from app-emacs/buttercup/buttercup-1.24.ebuild
19 rename to app-emacs/buttercup/buttercup-1.24-r1.ebuild
20 index a10a06a28765..58f468512d73 100644
21 --- a/app-emacs/buttercup/buttercup-1.24.ebuild
22 +++ b/app-emacs/buttercup/buttercup-1.24-r1.ebuild
23 @@ -9,24 +9,20 @@ inherit elisp
24
25 DESCRIPTION="Behaviour-driven Elisp testing"
26 HOMEPAGE="https://github.com/jorgenschaefer/emacs-buttercup"
27 -SRC_URI="https://github.com/jorgenschaefer/emacs-buttercup/archive/v${PV}.tar.gz -> ${P}.tar.gz"
28 -S="${WORKDIR}"/emacs-buttercup-${PV}
29 +SRC_URI="https://github.com/jorgenschaefer/emacs-${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
30 +S="${WORKDIR}"/emacs-${P}
31
32 LICENSE="GPL-3+"
33 SLOT="0"
34 KEYWORDS="~amd64 ~x86"
35
36 # https://github.com/jorgenschaefer/emacs-buttercup/pull/210
37 -PATCHES=( "${FILESDIR}"/${PN}-1.24-properties-equal.patch )
38 +PATCHES=( "${FILESDIR}"/${P}-properties-equal.patch )
39
40 DOCS=( docs/{running,writing}-tests.md )
41 +ELISP_REMOVE="buttercup-pkg.el"
42 SITEFILE="50${PN}-gentoo.el"
43
44 -src_compile() {
45 - elisp_src_compile
46 - elisp-make-autoload-file
47 -}
48 -
49 src_test() {
50 ${EMACS} ${EMACSFLAGS} -L . -l buttercup \
51 -f buttercup-run-discover || die "tests failed"
52
53 diff --git a/app-emacs/buttercup/files/50buttercup-gentoo.el b/app-emacs/buttercup/files/50buttercup-gentoo.el
54 index 102ffcd8d3b9..431f7e90ae73 100644
55 --- a/app-emacs/buttercup/files/50buttercup-gentoo.el
56 +++ b/app-emacs/buttercup/files/50buttercup-gentoo.el
57 @@ -1,2 +1 @@
58 (add-to-list 'load-path "@SITELISP@")
59 -(load "@SITELISP@/buttercup-autoloads" nil t)