summaryrefslogtreecommitdiff
blob: a2b2acf211da84dedd3eba1e5eb032683b8a6d09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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"