diff options
Diffstat (limited to 'dev-lang/dafny-bin')
-rw-r--r-- | dev-lang/dafny-bin/Manifest | 6 | ||||
-rw-r--r-- | dev-lang/dafny-bin/dafny-bin-4.4.0-r1.ebuild (renamed from dev-lang/dafny-bin/dafny-bin-4.4.0.ebuild) | 7 | ||||
-rw-r--r-- | dev-lang/dafny-bin/dafny-bin-4.5.0-r1.ebuild (renamed from dev-lang/dafny-bin/dafny-bin-4.5.0.ebuild) | 1 | ||||
-rw-r--r-- | dev-lang/dafny-bin/dafny-bin-4.6.0.ebuild | 56 |
4 files changed, 66 insertions, 4 deletions
diff --git a/dev-lang/dafny-bin/Manifest b/dev-lang/dafny-bin/Manifest index 624e03faf111..da00de4e14e9 100644 --- a/dev-lang/dafny-bin/Manifest +++ b/dev-lang/dafny-bin/Manifest @@ -1,5 +1,7 @@ DIST dafny-4.4.0-x64-ubuntu-20.04.zip 62873378 BLAKE2B ee471dfc0be515949bc3ec18cd46705ce35c7a0b43b8ffc35e7754cef57a3e9351b7e937b6735319d6255407b6cb46b4c0c69eab5a573fdf7671055efe3988b8 SHA512 acfd643bdf3dba7377fde8d36f3c7bfff27b575fbc212d02974958ad38fe433870128525ff22f9a76d4b1602d5253794409ce834b67c52571d395a737fc24471 DIST dafny-4.5.0-x64-ubuntu-20.04.zip 63259963 BLAKE2B 2fd6bce2a4244b68ca2de6453e070ef05e67000667f946730608ea0806d4ee768bb612a83603b442071a4135e5a030edee38a70f0171cb1b7abd29e53cef5cbe SHA512 38c7c30ef764309eb26f9b54a2d15bac8953215915cc9a291524276609814cd76037480302f4e235710509a5cbe0e56a85bb8414be04ba8b9f63095a168543af -EBUILD dafny-bin-4.4.0.ebuild 1248 BLAKE2B 30fa0cd9276957849522ea2312e0205e4dee29c0eaf1a65a70f2d797da1e922f930076dcbe4c03e38ae6c8b72074a50bdbfc19e4ff610b97c0f836ba99b5fec3 SHA512 0c714d5bb3504001c188b6b02decbc6a79b8003de511efe7a488f3eb1e2c647f6ff8a9a3bdf7ab031e2660ba1f1d21a041249f9189739865b3b6876fd8b02f97 -EBUILD dafny-bin-4.5.0.ebuild 1250 BLAKE2B d7c084cb954e7998aa23b058d245e0e2bea611e7316b0729c3b65aa111307a4758f860b2dc0a2eea510d4397f5847439093649a57629ac801e2c73c1ed44ca33 SHA512 6ed60eec3b32619f7d38fc636ed3ff17d9b24ea00a14c17c49feeb2c5a5e94e1b28559251ff16d5c42e92c061bd1c69fd7c12b16f764b4d786862231c5ccfcf4 +DIST dafny-4.6.0-x64-ubuntu-20.04.zip 63265253 BLAKE2B ebba4490857fb9860289ccad5ea03251366ec5d745588e43a74529c3500f5f02c516bef70f4c661b3138b935e340102ea2537e0c22daf64b88941fec1ff90b4b SHA512 2537cc9d2b2a5514d5ff83988856bac4100bb381eef540870867e47d4557e54bf0889a60ad329f961366558be30590cb5c611bcc7a15305c27a1c38da629746f +EBUILD dafny-bin-4.4.0-r1.ebuild 1268 BLAKE2B 834a4b17ddce03aa6ac08e506416cd655100aaa40276385a1df905855d3f6866044c4fdd7b69719697128c8370ba749593f8702c0cf83ef02cdb98cb6a01a463 SHA512 0ce8ae4ac47b06f8fb2c171ca7fbf40191af440af74f893ecdfcff739515f1b5a20f2c6de07a2e5b5a7c3f471aa26108b3bd5a3d5eb48ca27b7c4e4e0b71bf00 +EBUILD dafny-bin-4.5.0-r1.ebuild 1267 BLAKE2B a43474ee492a32e6dc5287dccf7f3e2b5bef765c120e710194285803c2d8341a89c0bf4cc374e85b753984ac80c4227cc55e5f6440fad7091e65f53d22f0af97 SHA512 dd56c0f34b37a65bae3fc4f54e78c727b39b7efd421b74530c33d60a45a2906edd21c369485ffede7bf158a0b84c85473fa4f320cab2292d923c3c4a84efa3e8 +EBUILD dafny-bin-4.6.0.ebuild 1267 BLAKE2B a43474ee492a32e6dc5287dccf7f3e2b5bef765c120e710194285803c2d8341a89c0bf4cc374e85b753984ac80c4227cc55e5f6440fad7091e65f53d22f0af97 SHA512 dd56c0f34b37a65bae3fc4f54e78c727b39b7efd421b74530c33d60a45a2906edd21c369485ffede7bf158a0b84c85473fa4f320cab2292d923c3c4a84efa3e8 MISC metadata.xml 1826 BLAKE2B 66f000cee8fbf3bcae05da9249d5bc3388f9c05f32c45e96dd51b035aea220a9d49af25cb89b8b8a64a691408373c1ea02d0f345f9a4a554565f708a894664d5 SHA512 0cc12d9c49360bbc08bb8eccd3f7139ec149a9b731f0283b0f95a8506dd93458eb93f3347a978e55a86279ad85ee3233c1b87bfee36f22c9e40bdd14c0aef6c5 diff --git a/dev-lang/dafny-bin/dafny-bin-4.4.0.ebuild b/dev-lang/dafny-bin/dafny-bin-4.4.0-r1.ebuild index 65340016815f..e820db1b1174 100644 --- a/dev-lang/dafny-bin/dafny-bin-4.4.0.ebuild +++ b/dev-lang/dafny-bin/dafny-bin-4.4.0-r1.ebuild @@ -7,11 +7,13 @@ 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 @@ -19,9 +21,10 @@ RDEPEND=" dev-util/lttng-ust:0/2.12 sci-mathematics/z3 " -BDEPEND="app-arch/unzip" +BDEPEND=" + app-arch/unzip +" -S="${WORKDIR}/dafny" QA_PREBUILT="*" src_prepare() { diff --git a/dev-lang/dafny-bin/dafny-bin-4.5.0.ebuild b/dev-lang/dafny-bin/dafny-bin-4.5.0-r1.ebuild index e1a433bf10e8..8ed638b01e1e 100644 --- a/dev-lang/dafny-bin/dafny-bin-4.5.0.ebuild +++ b/dev-lang/dafny-bin/dafny-bin-4.5.0-r1.ebuild @@ -13,6 +13,7 @@ LICENSE="MIT" SLOT="0" KEYWORDS="-* ~amd64" REQUIRED_USE="elibc_glibc" +RESTRICT="strip" RDEPEND=" !dev-lang/dafny diff --git a/dev-lang/dafny-bin/dafny-bin-4.6.0.ebuild b/dev-lang/dafny-bin/dafny-bin-4.6.0.ebuild new file mode 100644 index 000000000000..8ed638b01e1e --- /dev/null +++ b/dev-lang/dafny-bin/dafny-bin-4.6.0.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2024 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 +} |