diff options
Diffstat (limited to 'app-emacs/lv')
-rw-r--r-- | app-emacs/lv/Manifest | 1 | ||||
-rw-r--r-- | app-emacs/lv/files/50lv-gentoo.el | 1 | ||||
-rw-r--r-- | app-emacs/lv/files/lv-require-cl-lib.patch | 13 | ||||
-rw-r--r-- | app-emacs/lv/lv-0.15.0.ebuild | 25 |
4 files changed, 40 insertions, 0 deletions
diff --git a/app-emacs/lv/Manifest b/app-emacs/lv/Manifest new file mode 100644 index 0000000..056b7d9 --- /dev/null +++ b/app-emacs/lv/Manifest @@ -0,0 +1 @@ +DIST hydra-0.15.0.tar.gz 36150 BLAKE2B 6e7d1ed6501d5b0fb40f3545d61469e461363dc7ec8900c7c697116cb19704529acfd9e886a1fef09ae50dfd68666e6455c62447140f55b1f4651490855c2b3a SHA512 815a8c425aaeb4d2aeb5d9faa0f66a41e37420b8e9435d93b9e78913c0e0722d1e39cad2e8f4bc12cfe34dad2e3fc1290b23d816181b12fd093f9e4d9d37e814 diff --git a/app-emacs/lv/files/50lv-gentoo.el b/app-emacs/lv/files/50lv-gentoo.el new file mode 100644 index 0000000..431f7e9 --- /dev/null +++ b/app-emacs/lv/files/50lv-gentoo.el @@ -0,0 +1 @@ +(add-to-list 'load-path "@SITELISP@") diff --git a/app-emacs/lv/files/lv-require-cl-lib.patch b/app-emacs/lv/files/lv-require-cl-lib.patch new file mode 100644 index 0000000..805c427 --- /dev/null +++ b/app-emacs/lv/files/lv-require-cl-lib.patch @@ -0,0 +1,13 @@ +diff --git a/lv.el b/lv.el +index bc83f07..61d0971 100644 +--- a/lv.el ++++ b/lv.el +@@ -33,6 +33,8 @@ + + ;;; Code: + ++(require 'cl-lib) ++ + (defgroup lv nil + "The other echo area." + :group 'minibuffer diff --git a/app-emacs/lv/lv-0.15.0.ebuild b/app-emacs/lv/lv-0.15.0.ebuild new file mode 100644 index 0000000..1fcbc22 --- /dev/null +++ b/app-emacs/lv/lv-0.15.0.ebuild @@ -0,0 +1,25 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +NEED_EMACS="24.3" + +inherit elisp + +DESCRIPTION="An alternative to the message function that allows for \ +semi-permanent hints inside of the echo area." +HOMEPAGE="https://github.com/abo-abo/hydra" +SRC_URI="https://github.com/abo-abo/hydra/archive/refs/tags/${PV}.tar.gz -> hydra-${PV}.tar.gz" +S="${WORKDIR}/hydra-${PV}" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64" + +RESTRICT="test" # the tests target hydra and not lv, so we should skip them +SITEFILE="50lv-gentoo.el" +PATCHES=( + "${FILESDIR}/${PN}-require-cl-lib.patch" +) +ELISP_REMOVE="hydra-examples.el hydra-ox.el hydra-test.el hydra.el" |