mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
app-emacs/ivy: bump to 0.15.0
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST swiper-0.14.2.tar.gz 250059 BLAKE2B 8a5437726c729398a689266d138f271f5f7329f9c58613c4e0cfabd16b99421035c4b522d0ea4c60c0369362cb076bcae05ff4155d33d186172fd0ac2258495d SHA512 e125a3747abc4e6ecc98f539cf5dde11851d6c8a58b8988e165300bce7822fc91257cae09c973bd43435fb08dc24af9a1bd4b3e51083b45654b1605d80973d74
|
||||
DIST swiper-0.15.0.gh.tar.gz 255140 BLAKE2B becd63e0c291eccaf6b9520b0b50201aecbc5245128285384780ad8124294c3f7103ae7197db766b69c2ee3f32b5039fea47bd1303fab90d15ef8c109388e533 SHA512 c37c7482aae8d595181dab11ae613c52ae917c909033e3534ac5c78d090d1f67e2f36917a76b0dd4cfc8a339ed76c2480a7ca26a033b8be69dc3a128a0ccf00f
|
||||
|
||||
11
app-emacs/ivy/files/ivy-0.15.0-ivy-test.patch
Normal file
11
app-emacs/ivy/files/ivy-0.15.0-ivy-test.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- a/ivy-test.el
|
||||
+++ b/ivy-test.el
|
||||
@@ -53,7 +53,7 @@ Intended as :after-while advice for `require'."
|
||||
|
||||
(setq ivy-last (make-ivy-state))
|
||||
|
||||
-(ert-deftest ivy--lazy-load-ffap--ffap-url-p ()
|
||||
+(defun ivy--lazy-load-ffap--ffap-url-p ()
|
||||
(should (not (memq 'ffap ivy-features)))
|
||||
(should (not (fboundp 'ffap-url-p)))
|
||||
(should (string= (ivy-ffap-url-p "https://foo.org")
|
||||
65
app-emacs/ivy/ivy-0.15.0.ebuild
Normal file
65
app-emacs/ivy/ivy-0.15.0.ebuild
Normal file
@@ -0,0 +1,65 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="Generic completion mechanism for Emacs"
|
||||
HOMEPAGE="https://github.com/abo-abo/swiper/"
|
||||
|
||||
if [[ "${PV}" == *9999* ]] ; then
|
||||
inherit git-r3
|
||||
|
||||
EGIT_REPO_URI="https://github.com/abo-abo/swiper"
|
||||
else
|
||||
SRC_URI="https://github.com/abo-abo/swiper/archive/${PV}.tar.gz
|
||||
-> swiper-${PV}.gh.tar.gz"
|
||||
S="${WORKDIR}/swiper-${PV}"
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
BDEPEND="
|
||||
sys-apps/texinfo
|
||||
test? (
|
||||
app-emacs/avy
|
||||
app-emacs/hydra
|
||||
)
|
||||
"
|
||||
|
||||
PATCHES=( "${FILESDIR}/ivy-0.15.0-ivy-test.patch" )
|
||||
|
||||
DOCS=( CONTRIBUTING.org README.md doc/{Changelog,ivy-help,ivy}.org )
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
|
||||
# Main Ivy sources. Swiper, Counsel and Ivy extensions have their own packages.
|
||||
EL_SOURCES=( colir.el ivy{,-overlay,-faces}.el )
|
||||
|
||||
elisp-enable-tests ert .
|
||||
|
||||
src_prepare() {
|
||||
elisp_src_prepare
|
||||
|
||||
# Wipe "elpa.el" to prevent initialization of the "package" library.
|
||||
echo "" > elpa.el || die "failed to wipe \"elpa.el\""
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
elisp-compile "${EL_SOURCES[@]}"
|
||||
|
||||
emake -C doc ivy.info
|
||||
}
|
||||
|
||||
src_install() {
|
||||
elisp-install "${PN}" "${EL_SOURCES[@]}" ./*.elc
|
||||
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
|
||||
|
||||
doinfo ./doc/ivy.info
|
||||
einstalldocs
|
||||
}
|
||||
Reference in New Issue
Block a user