summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2022-10-30 12:15:34 +0100
committerMaciej Barć <xgqt@gentoo.org>2022-10-30 12:29:58 +0100
commita2cda2615547ec5365becb55ef6bd4596cce31cf (patch)
tree2835b3f99ca2d8f49652bad5d8b7da44a2d6fc1d /app-emacs/boogie-friends/boogie-friends-0.1_p20220922.ebuild
parentapp-emacs/boogie-friends: rename version to 0.1_p20210703 (diff)
downloadgentoo-a2cda2615547ec5365becb55ef6bd4596cce31cf.tar.gz
gentoo-a2cda2615547ec5365becb55ef6bd4596cce31cf.tar.bz2
gentoo-a2cda2615547ec5365becb55ef6bd4596cce31cf.zip
app-emacs/boogie-friends: bump to 0.1_p20220922
2022.09.22 snapshot Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs/boogie-friends/boogie-friends-0.1_p20220922.ebuild')
-rw-r--r--app-emacs/boogie-friends/boogie-friends-0.1_p20220922.ebuild49
1 files changed, 49 insertions, 0 deletions
diff --git a/app-emacs/boogie-friends/boogie-friends-0.1_p20220922.ebuild b/app-emacs/boogie-friends/boogie-friends-0.1_p20220922.ebuild
new file mode 100644
index 000000000000..df8519fe6a52
--- /dev/null
+++ b/app-emacs/boogie-friends/boogie-friends-0.1_p20220922.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+H=8d1bafab5dffc3c63324b5306503943e67497ddc
+
+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" # broken tests - no "tests.dfy" file
+
+RDEPEND="
+ app-emacs/company-mode
+ app-emacs/dash
+ app-emacs/flycheck
+ app-emacs/yasnippet
+"
+BDEPEND="${RDEPEND}"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-flycheck-dfy-exe.patch
+ "${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
+}