summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2022-04-21 17:13:47 +0200
committerMaciej Barć <xgqt@gentoo.org>2022-04-21 17:13:47 +0200
commitc00cbb0fd908bf6095d08d5b8710dba6523ba1f2 (patch)
tree54c6dfd51b2021dfe414a384e5a2017dccd9138a /app-emacs/use-package
parentdev-lang/python: Stabilize 3.9.11 x86, #835445 (diff)
downloadgentoo-c00cbb0fd908bf6095d08d5b8710dba6523ba1f2.tar.gz
gentoo-c00cbb0fd908bf6095d08d5b8710dba6523ba1f2.tar.bz2
gentoo-c00cbb0fd908bf6095d08d5b8710dba6523ba1f2.zip
app-emacs/use-package: fix tests
Closes: https://bugs.gentoo.org/839780 Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs/use-package')
-rw-r--r--app-emacs/use-package/use-package-2.4.1.ebuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/app-emacs/use-package/use-package-2.4.1.ebuild b/app-emacs/use-package/use-package-2.4.1.ebuild
index 654d57b3022e..1e8087eb52ae 100644
--- a/app-emacs/use-package/use-package-2.4.1.ebuild
+++ b/app-emacs/use-package/use-package-2.4.1.ebuild
@@ -32,6 +32,10 @@ PATCHES=( "${FILESDIR}"/${PN}-require-diminish.patch )
ELISP_TEXINFO="${PN}.texi"
SITEFILE="50${PN}-gentoo.el"
+src_test() {
+ emake BATCH="${EMACS} ${EMACSFLAGS} -L . -l diminish" test
+}
+
src_install() {
rm bind-{chord,key}.el{,c} ${PN}-tests.el || die