mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-lang/dafny-bin: bump to 4.4.0
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST dafny-4.3.0-x64-ubuntu-20.04.zip 62691627 BLAKE2B edbff278472e5b0494fac38907adefa8fcfb94c3675df828e9ee022429d9595eed398d95333b223a70040ed69f07682e8aeaf90978f7466f4b9a412207d54d58 SHA512 14a861a6b0b55ee71db08f4c73e741fd92e5433d62411a2b17b177470b23148e288d835f80c2bdb388297f37be249b8a47bd3f83c2268082248f27d218b9cb9a
|
||||
DIST dafny-4.4.0-x64-ubuntu-20.04.zip 62873378 BLAKE2B ee471dfc0be515949bc3ec18cd46705ce35c7a0b43b8ffc35e7754cef57a3e9351b7e937b6735319d6255407b6cb46b4c0c69eab5a573fdf7671055efe3988b8 SHA512 acfd643bdf3dba7377fde8d36f3c7bfff27b575fbc212d02974958ad38fe433870128525ff22f9a76d4b1602d5253794409ce834b67c52571d395a737fc24471
|
||||
|
||||
53
dev-lang/dafny-bin/dafny-bin-4.4.0.ebuild
Normal file
53
dev-lang/dafny-bin/dafny-bin-4.4.0.ebuild
Normal file
@@ -0,0 +1,53 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Verification-aware programming language"
|
||||
HOMEPAGE="https://dafny.org/
|
||||
https://github.com/dafny-lang/dafny/"
|
||||
SRC_URI="https://github.com/dafny-lang/dafny/releases/download/v${PV}/dafny-${PV}-x64-ubuntu-20.04.zip"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~amd64"
|
||||
REQUIRED_USE="elibc_glibc"
|
||||
|
||||
RDEPEND="
|
||||
!dev-lang/dafny
|
||||
dev-libs/userspace-rcu
|
||||
dev-util/lttng-ust:0/2.12
|
||||
sci-mathematics/z3
|
||||
"
|
||||
BDEPEND="app-arch/unzip"
|
||||
|
||||
S="${WORKDIR}/dafny"
|
||||
QA_PREBUILT="*"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Remove bundled z3.
|
||||
# NOTICE: New versions do not need the bundled one but older versions
|
||||
# hardcoded the path relative to "dafny" binary.
|
||||
# While bumping make sure to verify that system's "z3" is used
|
||||
# by, for example, compiling/verifying a simple dafny program.
|
||||
rm -r z3 || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local dest=/opt/dafny
|
||||
|
||||
insinto ${dest}
|
||||
# Maybe too general, but this installation mode matched how it arrives.
|
||||
insopts -m0755
|
||||
doins "${S}"/*
|
||||
|
||||
local bin
|
||||
for bin in DafnyServer dafny ; do
|
||||
dosym ../../${dest}/${bin} /usr/bin/${bin}
|
||||
done
|
||||
|
||||
# Make "dafny-server" clients happy.
|
||||
dosym ../../${dest}/DafnyServer /usr/bin/dafny-server
|
||||
}
|
||||
Reference in New Issue
Block a user