summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Smith <matthew@gentoo.org>2022-02-16 18:53:40 +0000
committerMatthew Smith <matthew@gentoo.org>2022-02-16 18:56:56 +0000
commit1672d9e80882aa0ca8dde8f99fc1f7c4eeb60a86 (patch)
tree44d52fb66dbeb7d768b1886dc1bd5b3c16960816 /app-emacs
parentapp-emacs/hl-todo: initial import at 3.1.2 (diff)
downloadgentoo-1672d9e80882aa0ca8dde8f99fc1f7c4eeb60a86.tar.gz
gentoo-1672d9e80882aa0ca8dde8f99fc1f7c4eeb60a86.tar.bz2
gentoo-1672d9e80882aa0ca8dde8f99fc1f7c4eeb60a86.zip
app-emacs/avy: initial import at 0.5.0
Signed-off-by: Matthew Smith <matthew@gentoo.org>
Diffstat (limited to 'app-emacs')
-rw-r--r--app-emacs/avy/Manifest1
-rw-r--r--app-emacs/avy/avy-0.5.0.ebuild23
-rw-r--r--app-emacs/avy/files/50avy-gentoo.el34
-rw-r--r--app-emacs/avy/metadata.xml12
4 files changed, 70 insertions, 0 deletions
diff --git a/app-emacs/avy/Manifest b/app-emacs/avy/Manifest
new file mode 100644
index 000000000000..fd2a7b1bb461
--- /dev/null
+++ b/app-emacs/avy/Manifest
@@ -0,0 +1 @@
+DIST avy-0.5.0.tar.gz 27569 BLAKE2B 616040ea72ebda2eda89736c940462eb0af5ec78e9233e1ebc3555d1f09cef9e2be5fad2524f4652fc2666b35a37c7d48a5564883708eb672e4a306849cd52e7 SHA512 34dcaff06d68d53a276cf69293c1a97a8a6722e18933722638400e84dd809c23925aef4c6b23074a5657f23196ae4899a0b79921732b5e35abb01ede128adeba
diff --git a/app-emacs/avy/avy-0.5.0.ebuild b/app-emacs/avy/avy-0.5.0.ebuild
new file mode 100644
index 000000000000..600a7ba7c2eb
--- /dev/null
+++ b/app-emacs/avy/avy-0.5.0.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+NEED_EMACS=24
+
+inherit elisp
+
+DESCRIPTION="Jump to arbitrary positions in visible text and quickly select"
+HOMEPAGE="https://github.com/abo-abo/avy"
+SRC_URI="https://github.com/abo-abo/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+ELISP_REMOVE="avy-test.el"
+SITEFILE="50${PN}-gentoo.el"
+
+src_test() {
+ ${EMACS} ${EMACSFLAGS} -l avy.el -l avy-test.el \
+ -f ert-run-tests-batch-and-exit || die "tests failed"
+}
diff --git a/app-emacs/avy/files/50avy-gentoo.el b/app-emacs/avy/files/50avy-gentoo.el
new file mode 100644
index 000000000000..f2eb02eecd75
--- /dev/null
+++ b/app-emacs/avy/files/50avy-gentoo.el
@@ -0,0 +1,34 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'avy-process "avy" nil t)
+(autoload 'avy-goto-char "avy" nil t)
+(autoload 'avy-goto-char-in-line "avy" nil t)
+(autoload 'avy-goto-char-2 "avy" nil t)
+(autoload 'avy-goto-char-2-above "avy" nil t)
+(autoload 'avy-goto-char-2-below "avy" nil t)
+(autoload 'avy-isearch "avy" nil t)
+(autoload 'avy-goto-word-0 "avy" nil t)
+(autoload 'avy-goto-whitespace-end "avy" nil t)
+(autoload 'avy-goto-word-1 "avy" nil t)
+(autoload 'avy-goto-word-1-above "avy" nil t)
+(autoload 'avy-goto-word-1-below "avy" nil t)
+(autoload 'avy-goto-symbol-1 "avy" nil t)
+(autoload 'avy-goto-symbol-1-above "avy" nil t)
+(autoload 'avy-goto-symbol-1-below "avy" nil t)
+(autoload 'avy-goto-subword-0 "avy" nil t)
+(autoload 'avy-goto-subword-1 "avy" nil t)
+(autoload 'avy-goto-word-or-subword-1 "avy" nil t)
+(autoload 'avy-goto-line "avy" nil t)
+(autoload 'avy-goto-line-above "avy" nil t)
+(autoload 'avy-goto-line-below "avy" nil t)
+(autoload 'avy-goto-end-of-line "avy" nil t)
+(autoload 'avy-copy-line "avy" nil t)
+(autoload 'avy-move-line "avy" nil t)
+(autoload 'avy-copy-region "avy" nil t)
+(autoload 'avy-move-region "avy" nil t)
+(autoload 'avy-kill-region "avy" nil t)
+(autoload 'avy-kill-ring-save-region "avy" nil t)
+(autoload 'avy-kill-whole-line "avy" nil t)
+(autoload 'avy-kill-ring-save-whole-line "avy" nil t)
+(autoload 'avy-setup-default "avy" nil t)
+(autoload 'avy-goto-char-timer "avy" nil t)
+(autoload 'avy-transpose-lines-in-region "avy" nil t)
diff --git a/app-emacs/avy/metadata.xml b/app-emacs/avy/metadata.xml
new file mode 100644
index 000000000000..0874d9e75818
--- /dev/null
+++ b/app-emacs/avy/metadata.xml
@@ -0,0 +1,12 @@
+<?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>
+<stabilize-allarches/>
+<upstream>
+ <remote-id type="github">abo-abo/avy</remote-id>
+</upstream>
+</pkgmetadata>