summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2022-04-26 17:59:07 +0200
committerMaciej Barć <xgqt@gentoo.org>2022-04-26 18:09:32 +0200
commiteae5247d919f96fc90d518b9923f8c1cef5dd5a0 (patch)
tree6c1280e2f252826f0821a1fb9971d9d09f1cc445 /app-emacs
parentdev-util/woke: stabilize 0.17.1 for amd64 (diff)
downloadgentoo-eae5247d919f96fc90d518b9923f8c1cef5dd5a0.tar.gz
gentoo-eae5247d919f96fc90d518b9923f8c1cef5dd5a0.tar.bz2
gentoo-eae5247d919f96fc90d518b9923f8c1cef5dd5a0.zip
app-emacs/buttercup: remove elisp autoload file; minor fixes
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs')
-rw-r--r--app-emacs/buttercup/buttercup-1.24-r1.ebuild (renamed from app-emacs/buttercup/buttercup-1.24.ebuild)12
-rw-r--r--app-emacs/buttercup/files/50buttercup-gentoo.el1
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
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)