diff options
Diffstat (limited to 'app-emacs/ivy')
-rw-r--r-- | app-emacs/ivy/Manifest | 2 | ||||
-rw-r--r-- | app-emacs/ivy/ivy-0.14.0.ebuild | 49 |
2 files changed, 51 insertions, 0 deletions
diff --git a/app-emacs/ivy/Manifest b/app-emacs/ivy/Manifest index 15eb46832ab8..6bb3611dc771 100644 --- a/app-emacs/ivy/Manifest +++ b/app-emacs/ivy/Manifest @@ -1,5 +1,7 @@ AUX 50ivy-gentoo.el 98 BLAKE2B 4d474a2c101b1cee20da1c56e5336b31df2a75cf5bf24251ba4c72c9d7cfb6cad9cac61923ca1d5ae83370e94cae545cb276cfa6df3f7bd528bd36fdb9e3156a SHA512 ccd9987b868c613535465b9c3041fb2a8c44561b678fe7bf40a276dff272deafb4bc14ce61228ed9cc27f2d0439652aa888e07c0120f6e2a246b0b5fa30a246e AUX ivy-0.13.4-ivy-test.el-skip.patch 1352 BLAKE2B b45c62f336e903d35514c00d8f3f1c922b4191c96c0ad4dfcaede594449f075909d77d012cd162e16d6e442c32101124af10db9e2e7d1dcb1a38270a581562a8 SHA512 f56b610d973b9aa62e5474012c1a3ef61a2be39f1d828e714576e15bb5e53d3e9ea8891915db5cee347b747be8b19c8849ab2912eb3a2f2e522160ee6573c1f2 DIST swiper-0.13.4.tar.gz 245190 BLAKE2B c4da021b92fcedfec39cc60f670c97e4a421b8d4aef8183f50c4872bed835db79884cff113f58cf21dfa7ce33158218aa0cf25d72fc0081dc1c24a3b4376c60e SHA512 bf096a13f675f87af6ea68c974455896b64921ca4d7880c9ccc444aa3cea7c7e04c61be5deb2fd57d0568ff4d86f96ffcf94494b55d84d7a9f647f49b69aec9a +DIST swiper-0.14.0.tar.gz 249820 BLAKE2B 9184e66f910b9f7c401c9a5433b5915c393ece7711858c3f844d8afcbc13fa76039173b2ecd50bbaff586ff7596fd95e46e550a4282763e385f064d2e2103978 SHA512 e87fa2159d1541afdaa08e33584480cbeba75df15235bf57d4c8f6292b91be7e2a316e931c3f4d823da5fbf23d987ded293a433824af04357de231d26adfeeb1 EBUILD ivy-0.13.4.ebuild 1341 BLAKE2B 882febee4f004555918a5d7f38f809d1385417c46f6134589a18b5b6760a757e23594298aef7d47662173bbbefb3e6ed98b3cab78a680f0a9ae48cd13b30cbb3 SHA512 93ade7f2126191c9660e024fd3bc887955dd3aa2c9f57e5b5d42f2168538e416089aa9db7b1e6b57594ad98489d4503c4e4628c9e8dc61012a9a86e38708e027 +EBUILD ivy-0.14.0.ebuild 1168 BLAKE2B 81e68521d89a24d6061f032913ee07a1a854fb220414983db9234cf2bbf74cea06639639231902e88e27636404d8fdb15ec74858d1f0832188b46265c54a36a0 SHA512 3a48282e4a79a78c3185cf6b9f7a5444ab5e5bba91f7af33201af40dc51505171c57bade67cbb5788fcc74cb0016a52abc06a2999a5d72da56624371307331e7 MISC metadata.xml 571 BLAKE2B 26ca5a5dfb1bc67ad37086ddc2c2e5976d1b4c763789a27ee83fb08c4a106a21c33b4c9632a3f2858a6b6249c8c49da3e2eafa7efc5267b655c0c9b2066598e2 SHA512 1879881be5eaeb2a6bac023fd06476a2ccbd25909f7c2f722b4af3680db44b4d3a959e1ac864e86580813a0bc68a2120d936f1c2efd67a6738ee8d83a5adb6f4 diff --git a/app-emacs/ivy/ivy-0.14.0.ebuild b/app-emacs/ivy/ivy-0.14.0.ebuild new file mode 100644 index 000000000000..3bedf16037a6 --- /dev/null +++ b/app-emacs/ivy/ivy-0.14.0.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2023 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/" +SRC_URI="https://github.com/abo-abo/swiper/archive/${PV}.tar.gz + -> swiper-${PV}.tar.gz" +S="${WORKDIR}"/swiper-${PV} + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +BDEPEND="sys-apps/texinfo" + +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. +IVY_SOURCES=( colir.el ivy{,-overlay,-faces}.el ) + +src_prepare() { + elisp_src_prepare + + # Wipe "elpa.el" to prevent initialization of the "package" library. + [[ ! -f elpa.el ]] && die "no \"elpa.el\" found" + echo "" > elpa.el || die "failed to wipe \"elpa.el\"" +} + +src_compile() { + elisp-compile ${IVY_SOURCES[@]} + emake -C doc ivy.info +} + +src_test() { + emake emacs="${EMACS} ${EMACSFLAGS} ${BYTECOMPFLAGS}" test +} + +src_install() { + elisp-install ${PN} ${IVY_SOURCES[@]} *.elc + elisp-site-file-install "${FILESDIR}/${SITEFILE}" + + doinfo doc/ivy.info + einstalldocs +} |