From 7f565a0a29bbf3171f4a71f66a27a565a3a3862d Mon Sep 17 00:00:00 2001 From: Maciej Barć Date: Tue, 19 Apr 2022 00:26:11 +0200 Subject: app-emacs/dune-format: new package; add version 0.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maciej Barć --- app-emacs/dune-format/Manifest | 1 + app-emacs/dune-format/dune-format-0.1.ebuild | 28 ++++++++++++++++++++++ .../dune-format/files/50dune-format-gentoo.el | 1 + app-emacs/dune-format/metadata.xml | 17 +++++++++++++ 4 files changed, 47 insertions(+) create mode 100644 app-emacs/dune-format/Manifest create mode 100644 app-emacs/dune-format/dune-format-0.1.ebuild create mode 100644 app-emacs/dune-format/files/50dune-format-gentoo.el create mode 100644 app-emacs/dune-format/metadata.xml diff --git a/app-emacs/dune-format/Manifest b/app-emacs/dune-format/Manifest new file mode 100644 index 000000000000..7f6259a6fe97 --- /dev/null +++ b/app-emacs/dune-format/Manifest @@ -0,0 +1 @@ +DIST dune-format-0.1.tar.gz 2477 BLAKE2B a043e6e6aeeac33e3265794ca5dec4fd1292a19a210e4a3be0f5dc21de4c1516587f25eb0513ba653defbdeba7d781c1a09903cddf0b7f8a0b3c2ce43235672d SHA512 511dcdc5f4413dc680cb1102c35b737c406ef4fb8e69150b60e7bc11bf877d94a039ebe7224c62a304004015471dab7f2b50fae32d9119221d435b06041df9d9 diff --git a/app-emacs/dune-format/dune-format-0.1.ebuild b/app-emacs/dune-format/dune-format-0.1.ebuild new file mode 100644 index 000000000000..a2b2acf211da --- /dev/null +++ b/app-emacs/dune-format/dune-format-0.1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +NEED_EMACS=24.1 + +inherit elisp + +DESCRIPTION="Reformat OCaml's dune files automatically" +HOMEPAGE="https://github.com/purcell/emacs-dune-format/" +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" + +BDEPEND="app-emacs/reformatter" +RDEPEND=" + ${BDEPEND} + dev-ml/dune +" + +DOCS=( README.md ) +ELISP_REMOVE="Makefile" # Makefile downloads pkgs from net +SITEFILE="50${PN}-gentoo.el" diff --git a/app-emacs/dune-format/files/50dune-format-gentoo.el b/app-emacs/dune-format/files/50dune-format-gentoo.el new file mode 100644 index 000000000000..431f7e90ae73 --- /dev/null +++ b/app-emacs/dune-format/files/50dune-format-gentoo.el @@ -0,0 +1 @@ +(add-to-list 'load-path "@SITELISP@") diff --git a/app-emacs/dune-format/metadata.xml b/app-emacs/dune-format/metadata.xml new file mode 100644 index 000000000000..773899dc27c6 --- /dev/null +++ b/app-emacs/dune-format/metadata.xml @@ -0,0 +1,17 @@ + + + + + + gnu-emacs@gentoo.org + Gentoo GNU Emacs project + + + ml@gentoo.org + ML + + + https://github.com/purcell/emacs-dune-format/issues/ + purcell/emacs-dune-format + + -- cgit v1.2.3-65-gdbad