diff options
author | Maciej Barć <xgqt@gentoo.org> | 2022-04-19 00:26:11 +0200 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2022-04-19 00:29:49 +0200 |
commit | 7f565a0a29bbf3171f4a71f66a27a565a3a3862d (patch) | |
tree | eaf53c8629117f405ce756d15eda396e74979e08 | |
parent | app-emacs/reformatter: new package; add version 0.6 (diff) | |
download | gentoo-7f565a0a29bbf3171f4a71f66a27a565a3a3862d.tar.gz gentoo-7f565a0a29bbf3171f4a71f66a27a565a3a3862d.tar.bz2 gentoo-7f565a0a29bbf3171f4a71f66a27a565a3a3862d.zip |
app-emacs/dune-format: new package; add version 0.1
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
-rw-r--r-- | app-emacs/dune-format/Manifest | 1 | ||||
-rw-r--r-- | app-emacs/dune-format/dune-format-0.1.ebuild | 28 | ||||
-rw-r--r-- | app-emacs/dune-format/files/50dune-format-gentoo.el | 1 | ||||
-rw-r--r-- | app-emacs/dune-format/metadata.xml | 17 |
4 files changed, 47 insertions, 0 deletions
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> |