mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-05 14:07:27 -08:00
dev-lang/dafny-bin: drop old 4.9.1
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
parent
79439ae1f3
commit
5dc26d661c
@ -1,2 +1 @@
|
||||
DIST dafny-4.10.0-x64-ubuntu-20.04.zip 61352501 BLAKE2B 68227a1566e49a52b9159ab0d7ceaa4369fe0a2a18d97495b865b5d25507399a1e9753244fba19035231e4e0dd130881b0854479944479b8bed32c959c38a4ed SHA512 51929386f27841b4302b1e00865986b4aeea6205852ce7c90398a71a820dd334d3f71cf26255daf3a9a75fb4cc1bb84491165c77fd10ffaa35a267942294fd4b
|
||||
DIST dafny-4.9.1-x64-ubuntu-20.04.zip 60815385 BLAKE2B 76e4b7cf6bfea6f97bb04b77c034cf62732cc9fcadf1893f4783cf9e44cffc81f4067bbc001474b3b0a92f699b329f87ec77a2e34747a945d7786a33e6fff5b6 SHA512 37fdc7ab2f3feab6cce86103d57248e671daca91aead6588cb9f8de34e4b229178cb2da8bcc5bc26a45b85b76bb445c4c87c440d6e6a84409e2a3fdf7d34765f
|
||||
|
||||
@ -1,56 +0,0 @@
|
||||
# Copyright 1999-2025 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"
|
||||
S="${WORKDIR}/dafny"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* amd64"
|
||||
REQUIRED_USE="elibc_glibc"
|
||||
RESTRICT="strip"
|
||||
|
||||
RDEPEND="
|
||||
!dev-lang/dafny
|
||||
dev-libs/userspace-rcu
|
||||
dev-util/lttng-ust:0/2.12
|
||||
sci-mathematics/z3
|
||||
"
|
||||
BDEPEND="
|
||||
app-arch/unzip
|
||||
"
|
||||
|
||||
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 -r "/${dest}/DafnyServer" /usr/bin/dafny-server
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user