blob: 76b9981351b5820cfd63b23fc927190ecc270de3 (
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
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
H=1e3b6a8aee9fa7c113468838c5b647080caf3703
inherit elisp
DESCRIPTION="Emacs tools for interacting with Boogie, Dafny and Z3 (SMT2)"
HOMEPAGE="https://github.com/boogie-org/boogie-friends/"
SRC_URI="https://github.com/boogie-org/${PN}/archive/${H}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${H}/emacs"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
RESTRICT="test" # cask and dafny are needed for tests
RDEPEND="
app-emacs/company-mode
app-emacs/dash
app-emacs/flycheck
app-emacs/yasnippet
"
BDEPEND="${RDEPEND}"
PATCHES=( "${FILESDIR}"/${PN}-paths.patch )
ELISP_REMOVE="boogie-friends-pkg.el"
SITEFILE="50${PN}-gentoo.el"
DOCS=( ../README.md pictures )
src_prepare() {
elisp_src_prepare
sed -i "s|@SITEETC@|${EPREFIX}${SITEETC}/${PN}|" ./boogie-friends.el || die
}
src_install() {
elisp_src_install
insinto "${SITEETC}/${PN}"
doins -r etc
}
|