public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Maciej Barć" <xgqt@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/dafny-bin/
Date: Thu, 06 Feb 2025 12:26:32 +0000 (UTC)	[thread overview]
Message-ID: <1738844789.64659d67a4b400909c6ccd6862351e95f52e06a8.xgqt@gentoo> (raw)

commit:     64659d67a4b400909c6ccd6862351e95f52e06a8
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Thu Feb  6 12:24:19 2025 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Thu Feb  6 12:26:29 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64659d67

dev-lang/dafny-bin: bump to 4.10.0

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 dev-lang/dafny-bin/Manifest                |  1 +
 dev-lang/dafny-bin/dafny-bin-4.10.0.ebuild | 56 ++++++++++++++++++++++++++++++
 2 files changed, 57 insertions(+)

diff --git a/dev-lang/dafny-bin/Manifest b/dev-lang/dafny-bin/Manifest
index 395c0f318378..f0abe75712ad 100644
--- a/dev-lang/dafny-bin/Manifest
+++ b/dev-lang/dafny-bin/Manifest
@@ -1 +1,2 @@
+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

diff --git a/dev-lang/dafny-bin/dafny-bin-4.10.0.ebuild b/dev-lang/dafny-bin/dafny-bin-4.10.0.ebuild
new file mode 100644
index 000000000000..fa0411a41e93
--- /dev/null
+++ b/dev-lang/dafny-bin/dafny-bin-4.10.0.ebuild
@@ -0,0 +1,56 @@
+# 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
+}


             reply	other threads:[~2025-02-06 12:26 UTC|newest]

Thread overview: 51+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-06 12:26 Maciej Barć [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-06 12:26 [gentoo-commits] repo/gentoo:master commit in: dev-lang/dafny-bin/ Maciej Barć
2025-02-05 14:10 Jakov Smolić
2024-12-27 18:52 Maciej Barć
2024-12-06  8:31 Maciej Barć
2024-12-06  7:49 Sam James
2024-10-31 23:17 Maciej Barć
2024-10-31 23:17 Maciej Barć
2024-10-23 16:48 Sam James
2024-09-22 22:04 Maciej Barć
2024-09-22 22:04 Maciej Barć
2024-08-01 16:47 Arthur Zamarin
2024-06-27 22:42 Maciej Barć
2024-04-29  0:06 Sam James
2024-03-29  3:06 Maciej Barć
2024-03-29  3:06 Maciej Barć
2024-03-20 19:30 Maciej Barć
2024-03-20 19:30 Maciej Barć
2024-01-18 17:25 Sam James
2023-12-13  2:27 Maciej Barć
2023-11-15 19:27 Maciej Barć
2023-11-15 19:27 Maciej Barć
2023-11-13 19:53 Sam James
2023-10-28 16:48 Arthur Zamarin
2023-09-30 14:24 Maciej Barć
2023-09-30 14:24 Maciej Barć
2023-09-18  0:17 Sam James
2023-09-17 19:32 Maciej Barć
2023-09-16 14:48 Maciej Barć
2023-02-28 18:03 Maciej Barć
2023-02-21 23:54 Maciej Barć
2023-02-01 19:38 Sam James
2023-02-01 14:10 Maciej Barć
2023-02-01 14:09 Maciej Barć
2023-02-01 14:09 Maciej Barć
2022-12-15 21:51 Maciej Barć
2022-12-15 21:51 Maciej Barć
2022-11-18 20:38 Maciej Barć
2022-11-01  2:38 Maciej Barć
2022-11-01  2:38 Maciej Barć
2022-10-06  2:28 Maciej Barć
2022-10-06  1:59 Maciej Barć
2022-09-02  2:23 Maciej Barć
2022-09-02  2:23 Maciej Barć
2022-08-27  1:27 Maciej Barć
2022-08-27  1:27 Maciej Barć
2022-07-22  2:26 Maciej Barć
2022-07-19 19:32 Maciej Barć
2022-06-30 15:33 Maciej Barć
2022-06-30 13:13 Maciej Barć
2022-06-29 16:00 Maciej Barć

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1738844789.64659d67a4b400909c6ccd6862351e95f52e06a8.xgqt@gentoo \
    --to=xgqt@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox