commit:     c4c292c196909024803d2db9982fb7e0501fcf60
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 28 13:24:05 2025 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Fri Feb 28 13:42:19 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4c292c1

app-emacs/swiper: bump to 0.15.0

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 app-emacs/swiper/Manifest             |  1 +
 app-emacs/swiper/swiper-0.15.0.ebuild | 47 +++++++++++++++++++++++++++++++++++
 2 files changed, 48 insertions(+)

diff --git a/app-emacs/swiper/Manifest b/app-emacs/swiper/Manifest
index 74a1b19737be..10d7fe7addbc 100644
--- a/app-emacs/swiper/Manifest
+++ b/app-emacs/swiper/Manifest
@@ -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

diff --git a/app-emacs/swiper/swiper-0.15.0.ebuild 
b/app-emacs/swiper/swiper-0.15.0.ebuild
new file mode 100644
index 000000000000..1a0ced5c1feb
--- /dev/null
+++ b/app-emacs/swiper/swiper-0.15.0.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit elisp
+
+DESCRIPTION="Alternative to isearch that uses ivy to show overview of all 
matches"
+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"
+RESTRICT="test"  # Ivy, Swiper and Counsel tests are performed in 
"app-emacs/ivy".
+
+RDEPEND="
+       >=app-emacs/ivy-${PV}
+"
+BDEPEND="
+       ${RDEPEND}
+"
+
+SITEFILE="50${PN}-gentoo.el"
+
+src_compile() {
+       elisp-compile "${PN}.el"
+}
+
+src_test() {
+       :
+}
+
+src_install() {
+       elisp-install "${PN}" "${PN}.el"{,c}
+       elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+}

Reply via email to