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)

Reply via email to