* [gentoo-commits] repo/gentoo:master commit in: app-emacs/buttercup/files/, app-emacs/buttercup/
@ 2022-04-26 16:09 Maciej Barć
0 siblings, 0 replies; only message in thread
From: Maciej Barć @ 2022-04-26 16:09 UTC (permalink / raw
To: gentoo-commits
commit: eae5247d919f96fc90d518b9923f8c1cef5dd5a0
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 26 15:59:07 2022 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Tue Apr 26 16:09:32 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eae5247d
app-emacs/buttercup: remove elisp autoload file; minor fixes
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
.../{buttercup-1.24.ebuild => buttercup-1.24-r1.ebuild} | 12 ++++--------
app-emacs/buttercup/files/50buttercup-gentoo.el | 1 -
2 files changed, 4 insertions(+), 9 deletions(-)
diff --git a/app-emacs/buttercup/buttercup-1.24.ebuild b/app-emacs/buttercup/buttercup-1.24-r1.ebuild
similarity index 69%
rename from app-emacs/buttercup/buttercup-1.24.ebuild
rename to app-emacs/buttercup/buttercup-1.24-r1.ebuild
index a10a06a28765..58f468512d73 100644
--- a/app-emacs/buttercup/buttercup-1.24.ebuild
+++ b/app-emacs/buttercup/buttercup-1.24-r1.ebuild
@@ -9,24 +9,20 @@ inherit elisp
DESCRIPTION="Behaviour-driven Elisp testing"
HOMEPAGE="https://github.com/jorgenschaefer/emacs-buttercup"
-SRC_URI="https://github.com/jorgenschaefer/emacs-buttercup/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-S="${WORKDIR}"/emacs-buttercup-${PV}
+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 ~x86"
# https://github.com/jorgenschaefer/emacs-buttercup/pull/210
-PATCHES=( "${FILESDIR}"/${PN}-1.24-properties-equal.patch )
+PATCHES=( "${FILESDIR}"/${P}-properties-equal.patch )
DOCS=( docs/{running,writing}-tests.md )
+ELISP_REMOVE="buttercup-pkg.el"
SITEFILE="50${PN}-gentoo.el"
-src_compile() {
- elisp_src_compile
- elisp-make-autoload-file
-}
-
src_test() {
${EMACS} ${EMACSFLAGS} -L . -l buttercup \
-f buttercup-run-discover || die "tests failed"
diff --git a/app-emacs/buttercup/files/50buttercup-gentoo.el b/app-emacs/buttercup/files/50buttercup-gentoo.el
index 102ffcd8d3b9..431f7e90ae73 100644
--- a/app-emacs/buttercup/files/50buttercup-gentoo.el
+++ b/app-emacs/buttercup/files/50buttercup-gentoo.el
@@ -1,2 +1 @@
(add-to-list 'load-path "@SITELISP@")
-(load "@SITELISP@/buttercup-autoloads" nil t)
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2022-04-26 16:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-26 16:09 [gentoo-commits] repo/gentoo:master commit in: app-emacs/buttercup/files/, app-emacs/buttercup/ Maciej Barć
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox