* [gentoo-commits] repo/gentoo:master commit in: app-emacs/dune-format/, app-emacs/dune-format/files/
@ 2022-04-18 22:33 Maciej Barć
0 siblings, 0 replies; only message in thread
From: Maciej Barć @ 2022-04-18 22:33 UTC (permalink / raw
To: gentoo-commits
commit: 7f565a0a29bbf3171f4a71f66a27a565a3a3862d
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 18 22:26:11 2022 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Mon Apr 18 22:29:49 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f565a0a
app-emacs/dune-format: new package; add version 0.1
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
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(+)
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 @@
+<?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>
+ <maintainer type="project">
+ <email>ml@gentoo.org</email>
+ <name>ML</name>
+ </maintainer>
+ <upstream>
+ <bugs-to>https://github.com/purcell/emacs-dune-format/issues/</bugs-to>
+ <remote-id type="github">purcell/emacs-dune-format</remote-id>
+ </upstream>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2022-04-18 22:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-18 22:33 [gentoo-commits] repo/gentoo:master commit in: app-emacs/dune-format/, app-emacs/dune-format/files/ Maciej Barć
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox