From 31f4a0444b539c54f45b39ebaf240711b92aa915 Mon Sep 17 00:00:00 2001 From: Maciej Barć Date: Tue, 19 Apr 2022 00:20:11 +0200 Subject: app-emacs/reformatter: new package; add version 0.6 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maciej Barć --- app-emacs/reformatter/Manifest | 1 + .../reformatter/files/50reformatter-gentoo.el | 1 + app-emacs/reformatter/metadata.xml | 13 ++++++++++++ app-emacs/reformatter/reformatter-0.6.ebuild | 23 ++++++++++++++++++++++ 4 files changed, 38 insertions(+) create mode 100644 app-emacs/reformatter/Manifest create mode 100644 app-emacs/reformatter/files/50reformatter-gentoo.el create mode 100644 app-emacs/reformatter/metadata.xml create mode 100644 app-emacs/reformatter/reformatter-0.6.ebuild diff --git a/app-emacs/reformatter/Manifest b/app-emacs/reformatter/Manifest new file mode 100644 index 000000000000..d11a780799b9 --- /dev/null +++ b/app-emacs/reformatter/Manifest @@ -0,0 +1 @@ +DIST reformatter-0.6.tar.gz 7943 BLAKE2B 72f34b873aacef5ee1dd0edd06effed83dad490f5d57ac3390dbd0d6fb7172adb1b7a3e19c0e90740b300cad8d2a1df60ab1bbfaa660c79621066d402f01b923 SHA512 ff1ad88b3a0a3ca1e70a5e0d7fe6f2264981d88ae64f0fa412d52721fb43991a483f31fb72193f7d67be71f39110051c0dda39e4ed87b4339aa156fa256e013a diff --git a/app-emacs/reformatter/files/50reformatter-gentoo.el b/app-emacs/reformatter/files/50reformatter-gentoo.el new file mode 100644 index 000000000000..431f7e90ae73 --- /dev/null +++ b/app-emacs/reformatter/files/50reformatter-gentoo.el @@ -0,0 +1 @@ +(add-to-list 'load-path "@SITELISP@") diff --git a/app-emacs/reformatter/metadata.xml b/app-emacs/reformatter/metadata.xml new file mode 100644 index 000000000000..7cdcedd7a960 --- /dev/null +++ b/app-emacs/reformatter/metadata.xml @@ -0,0 +1,13 @@ + + + + + + gnu-emacs@gentoo.org + Gentoo GNU Emacs project + + + https://github.com/purcell/emacs-reformatter/issues/ + purcell/emacs-reformatter + + diff --git a/app-emacs/reformatter/reformatter-0.6.ebuild b/app-emacs/reformatter/reformatter-0.6.ebuild new file mode 100644 index 000000000000..81970dc35b99 --- /dev/null +++ b/app-emacs/reformatter/reformatter-0.6.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.3 + +inherit elisp + +DESCRIPTION="Define commands which run reformatters on the Emacs buffers" +HOMEPAGE="https://github.com/purcell/emacs-reformatter/" +SRC_URI="https://github.com/purcell/emacs-${PN}/archive/${PV}.tar.gz + -> ${P}.tar.gz" +S="${WORKDIR}"/emacs-${P} + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +RESTRICT="test" # Tests need "shfmt" + +DOCS=( README.md ) +ELISP_REMOVE="Makefile ${PN}-tests.el" # Makefile downloads pkgs from net +SITEFILE="50${PN}-gentoo.el" -- cgit v1.2.3-65-gdbad