diff options
author | Thomas Schneider <qsx@qsx.re> | 2019-07-29 16:58:09 +0200 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2019-08-04 16:17:20 +0200 |
commit | df3d4c4420226ba1d512dbc567e5034909256949 (patch) | |
tree | e61c15ed2417abcc42bb678a1ab7ef10721ad1e8 /app-emacs | |
parent | media-sound/mpd: Version bump (v0.21.12) (diff) | |
download | gentoo-df3d4c4420226ba1d512dbc567e5034909256949.tar.gz gentoo-df3d4c4420226ba1d512dbc567e5034909256949.tar.bz2 gentoo-df3d4c4420226ba1d512dbc567e5034909256949.zip |
app-emacs/ledger-mode: New ebuild
Closes: https://bugs.gentoo.org/690996
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Thomas Schneider <qsx@qsx.re>
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'app-emacs')
-rw-r--r-- | app-emacs/ledger-mode/Manifest | 1 | ||||
-rw-r--r-- | app-emacs/ledger-mode/files/50ledger-mode-gentoo.el | 10 | ||||
-rw-r--r-- | app-emacs/ledger-mode/ledger-mode-3.1.1.ebuild | 20 | ||||
-rw-r--r-- | app-emacs/ledger-mode/metadata.xml | 12 |
4 files changed, 43 insertions, 0 deletions
diff --git a/app-emacs/ledger-mode/Manifest b/app-emacs/ledger-mode/Manifest new file mode 100644 index 000000000000..c4eb171ee84f --- /dev/null +++ b/app-emacs/ledger-mode/Manifest @@ -0,0 +1 @@ +DIST ledger-mode-3.1.1.tar.gz 55876 BLAKE2B 49dce2a58c278d3bca6ceba353766296609595609ce0976c8efdc6f17836ace4a0cc8676ab2de9522cafc036e97b2eaafe6fede1dd4d795201a676a2a519c761 SHA512 0d79e15f5a91eb361662761a3cc0a2d556584f3310e270b8a4db5648fea06022f74970faa5716e3726da902922eceabf4c8c5d281d02be66e8d785a4d7044d71 diff --git a/app-emacs/ledger-mode/files/50ledger-mode-gentoo.el b/app-emacs/ledger-mode/files/50ledger-mode-gentoo.el new file mode 100644 index 000000000000..2ecad3eb3b09 --- /dev/null +++ b/app-emacs/ledger-mode/files/50ledger-mode-gentoo.el @@ -0,0 +1,10 @@ +(add-to-list 'load-path "@SITELISP@") + +(autoload 'ledger-mode "ledger-mode" "A mode for editing ledger data files." t) +(autoload 'ledger-flymake-enable "ledger-flymake" "\ +Enable `flymake-mode' in `ledger-mode' buffers. + +Don't enable flymake if flycheck is on and flycheck-ledger is +available." nil) + +(add-to-list 'auto-mode-alist '("\\.ledger\\'" . ledger-mode)) diff --git a/app-emacs/ledger-mode/ledger-mode-3.1.1.ebuild b/app-emacs/ledger-mode/ledger-mode-3.1.1.ebuild new file mode 100644 index 000000000000..540d8d94bb5f --- /dev/null +++ b/app-emacs/ledger-mode/ledger-mode-3.1.1.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit elisp + +DESCRIPTION="An Emacs major mode for editing ledger files" +HOMEPAGE="https://github.com/ledger/ledger-mode" +SRC_URI="https://github.com/ledger/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2+ BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +SITEFILE="50${PN}-gentoo.el" +ELISP_TEXINFO="doc/ledger-mode.texi" +BYTECOMPFLAGS+=" -l ledger-regex.el" + +BDEPEND="sys-apps/texinfo" diff --git a/app-emacs/ledger-mode/metadata.xml b/app-emacs/ledger-mode/metadata.xml new file mode 100644 index 000000000000..c8b0b55854a7 --- /dev/null +++ b/app-emacs/ledger-mode/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://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">ledger/ledger-mode</remote-id> +</upstream> +</pkgmetadata> |