app-emacs/swiper: new package; add version 0.13.4

Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
Maciej Barć
2022-04-10 19:24:08 +02:00
parent 28ce7a2727
commit a245d24814
4 changed files with 50 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST swiper-0.13.4.tar.gz 245190 BLAKE2B c4da021b92fcedfec39cc60f670c97e4a421b8d4aef8183f50c4872bed835db79884cff113f58cf21dfa7ce33158218aa0cf25d72fc0081dc1c24a3b4376c60e SHA512 bf096a13f675f87af6ea68c974455896b64921ca4d7880c9ccc444aa3cea7c7e04c61be5deb2fd57d0568ff4d86f96ffcf94494b55d84d7a9f647f49b69aec9a

View File

@@ -0,0 +1,3 @@
(add-to-list 'load-path "@SITELISP@")
(autoload 'swiper "swiper"
"`isearch-forward' with an overview." t)

View File

@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>gnu-emacs@gentoo.org</email>
<name>Gentoo GNU Emacs project</name>
</maintainer>
<upstream>
<changelog>https://raw.githubusercontent.com/abo-abo/swiper/master/doc/Changelog.org</changelog>
<bugs-to>https://github.com/abo-abo/swiper/issues/</bugs-to>
<remote-id type="github">abo-abo/swiper</remote-id>
<doc lang="en">https://oremacs.com/swiper/</doc>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,31 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
NEED_EMACS=24.5
inherit elisp
DESCRIPTION="Alternative to isearch that uses ivy to show overview of all matches"
HOMEPAGE="https://github.com/abo-abo/swiper/"
SRC_URI="https://github.com/abo-abo/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
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_install() {
elisp-install ${PN} ${PN}.el{,c}
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
}