summaryrefslogtreecommitdiff
path: root/app-emacs/graphviz-dot-mode/graphviz-dot-mode-0.5.0.ebuild
blob: c0b110606ffc4d116f10172eac76e34e0ca2d3e5 (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
29
30
31
32
33
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=9

inherit elisp

DESCRIPTION="Emacs mode for editing and previewing Graphviz dot graphs"
HOMEPAGE="https://ppareit.github.io/graphviz-dot-mode/
	https://www.graphviz.org/
	https://github.com/ppareit/graphviz-dot-mode/"

if [[ "${PV}" == *9999* ]] ; then
	inherit git-r3
	EGIT_REPO_URI="https://github.com/ppareit/${PN}"
else
	SRC_URI="https://github.com/ppareit/${PN}/archive/refs/tags/v${PV}.tar.gz
		-> ${P}.gh.tar.gz"
	KEYWORDS="~amd64 ~x86"
fi

LICENSE="GPL-2+"
SLOT="0"

RDEPEND="
	>=app-emacs/flycheck-36.0
"
BDEPEND="
	${RDEPEND}
"

DOCS=( README.md CHANGELOG.md )
SITEFILE="50${PN}-gentoo.el"