summaryrefslogtreecommitdiff
path: root/app-emacs/dune-format
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-05-12 16:42:50 +0300
committerV3n3RiX <venerix@koprulu.sector>2022-05-12 16:42:50 +0300
commit752d6256e5204b958b0ef7905675a940b5e9172f (patch)
tree330d16e6362a49cbed8875a777fe641a43376cd3 /app-emacs/dune-format
parent0c100b7dd2b30e75b799d806df4ef899fd98e1ea (diff)
gentoo resync : 12.05.2022
Diffstat (limited to 'app-emacs/dune-format')
-rw-r--r--app-emacs/dune-format/Manifest4
-rw-r--r--app-emacs/dune-format/dune-format-0.1.ebuild28
-rw-r--r--app-emacs/dune-format/files/50dune-format-gentoo.el1
-rw-r--r--app-emacs/dune-format/metadata.xml17
4 files changed, 50 insertions, 0 deletions
diff --git a/app-emacs/dune-format/Manifest b/app-emacs/dune-format/Manifest
new file mode 100644
index 000000000000..686251219795
--- /dev/null
+++ b/app-emacs/dune-format/Manifest
@@ -0,0 +1,4 @@
+AUX 50dune-format-gentoo.el 38 BLAKE2B e96c6cf48d1522d89450e11d339c76210c672377208b56951791b83c6ef22b2c872d313084e199dd5d7b533a99106a87dbc7f15b5ee6126f71bf5f2e84165ffa SHA512 5c00bcabe2d7cc03013dc7a54b2c653940c08098ca5646d7c73624cb1ca04376ae9dcf88a7166b1925c69f0c5d192d90f6bd790fdef8ed8c3b0f9d163c987da5
+DIST dune-format-0.1.tar.gz 2477 BLAKE2B a043e6e6aeeac33e3265794ca5dec4fd1292a19a210e4a3be0f5dc21de4c1516587f25eb0513ba653defbdeba7d781c1a09903cddf0b7f8a0b3c2ce43235672d SHA512 511dcdc5f4413dc680cb1102c35b737c406ef4fb8e69150b60e7bc11bf877d94a039ebe7224c62a304004015471dab7f2b50fae32d9119221d435b06041df9d9
+EBUILD dune-format-0.1.ebuild 601 BLAKE2B 17b616f731739cfc8edb7cd2351f51a99120071eb503825f51210aa8bb6b55a405665a149cb9e5bf1241f35414fadd2679181cb587d48bd690322e4fe2dc7a38 SHA512 9c5a5eca247c01d837622ba3ccde34fc35faf00dcc7d973a6e76691d18a58f37be54db0985889586a3dac2e342d641a32338ba37ccd0a32bf1641b93a7315bf9
+MISC metadata.xml 538 BLAKE2B 6182f7bc6d7b5cbe01fff2a819ea8a4de59391492fda5c00ede086d5489f570d4166c2e2c1d74b4fe738f2c6ac2d9fb18e3cddc084bee554593966082eda7a3e SHA512 9db0da7d81a0a5b87a6ae4a057c6829af1c10b260e54730ef612af6e2a6cf530edfa9ca28d29f1a4c886c2242d07b9049162c6585ea4614103814ce4914eab6d
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>