From 0d8a0892d862cd9214ea39af7c081fa6aa4d7790 Mon Sep 17 00:00:00 2001 From: Maciej Barć Date: Fri, 18 Nov 2022 19:59:39 +0100 Subject: dev-lang/dafny-bin: depend on lttng-ust with SLOT=0/2.12 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/875614 Bug: https://bugs.gentoo.org/798990 Bug: https://bugs.gentoo.org/872605 Signed-off-by: Maciej Barć --- dev-lang/dafny-bin/dafny-bin-3.8.1-r1.ebuild | 51 ++++++++++++++++++++++++++++ dev-lang/dafny-bin/dafny-bin-3.8.1.ebuild | 51 ---------------------------- dev-lang/dafny-bin/dafny-bin-3.9.0-r1.ebuild | 51 ++++++++++++++++++++++++++++ dev-lang/dafny-bin/dafny-bin-3.9.0.ebuild | 51 ---------------------------- dev-lang/dafny-bin/dafny-bin-3.9.1-r1.ebuild | 51 ++++++++++++++++++++++++++++ dev-lang/dafny-bin/dafny-bin-3.9.1.ebuild | 51 ---------------------------- 6 files changed, 153 insertions(+), 153 deletions(-) create mode 100644 dev-lang/dafny-bin/dafny-bin-3.8.1-r1.ebuild delete mode 100644 dev-lang/dafny-bin/dafny-bin-3.8.1.ebuild create mode 100644 dev-lang/dafny-bin/dafny-bin-3.9.0-r1.ebuild delete mode 100644 dev-lang/dafny-bin/dafny-bin-3.9.0.ebuild create mode 100644 dev-lang/dafny-bin/dafny-bin-3.9.1-r1.ebuild delete mode 100644 dev-lang/dafny-bin/dafny-bin-3.9.1.ebuild (limited to 'dev-lang') diff --git a/dev-lang/dafny-bin/dafny-bin-3.8.1-r1.ebuild b/dev-lang/dafny-bin/dafny-bin-3.8.1-r1.ebuild new file mode 100644 index 000000000000..1c122629aafc --- /dev/null +++ b/dev-lang/dafny-bin/dafny-bin-3.8.1-r1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Verification-aware programming language" +HOMEPAGE="https://dafny.org/" +SRC_URI="https://github.com/dafny-lang/dafny/releases/download/v${PV}/dafny-${PV}-x64-ubuntu-16.04.zip" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="-* ~amd64" # Binaries are compiled only for x86_64. +REQUIRED_USE="elibc_glibc" + +RDEPEND=" + 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 +} diff --git a/dev-lang/dafny-bin/dafny-bin-3.8.1.ebuild b/dev-lang/dafny-bin/dafny-bin-3.8.1.ebuild deleted file mode 100644 index 39a827f48c53..000000000000 --- a/dev-lang/dafny-bin/dafny-bin-3.8.1.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DESCRIPTION="Verification-aware programming language" -HOMEPAGE="https://dafny.org/" -SRC_URI="https://github.com/dafny-lang/dafny/releases/download/v${PV}/dafny-${PV}-x64-ubuntu-16.04.zip" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="-* ~amd64" # Binaries are compiled only for x86_64. -REQUIRED_USE="elibc_glibc" - -RDEPEND=" - dev-libs/userspace-rcu - dev-util/lttng-ust - 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 -} diff --git a/dev-lang/dafny-bin/dafny-bin-3.9.0-r1.ebuild b/dev-lang/dafny-bin/dafny-bin-3.9.0-r1.ebuild new file mode 100644 index 000000000000..3571c06eeb55 --- /dev/null +++ b/dev-lang/dafny-bin/dafny-bin-3.9.0-r1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Verification-aware programming language" +HOMEPAGE="https://dafny.org/" +SRC_URI="https://github.com/dafny-lang/dafny/releases/download/v${PV}/dafny-${PV}-x64-ubuntu-16.04.zip" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="-* ~amd64" +REQUIRED_USE="elibc_glibc" + +RDEPEND=" + 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 +} diff --git a/dev-lang/dafny-bin/dafny-bin-3.9.0.ebuild b/dev-lang/dafny-bin/dafny-bin-3.9.0.ebuild deleted file mode 100644 index c7dbe567fbba..000000000000 --- a/dev-lang/dafny-bin/dafny-bin-3.9.0.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DESCRIPTION="Verification-aware programming language" -HOMEPAGE="https://dafny.org/" -SRC_URI="https://github.com/dafny-lang/dafny/releases/download/v${PV}/dafny-${PV}-x64-ubuntu-16.04.zip" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="-* ~amd64" -REQUIRED_USE="elibc_glibc" - -RDEPEND=" - dev-libs/userspace-rcu - dev-util/lttng-ust - 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 -} diff --git a/dev-lang/dafny-bin/dafny-bin-3.9.1-r1.ebuild b/dev-lang/dafny-bin/dafny-bin-3.9.1-r1.ebuild new file mode 100644 index 000000000000..3571c06eeb55 --- /dev/null +++ b/dev-lang/dafny-bin/dafny-bin-3.9.1-r1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Verification-aware programming language" +HOMEPAGE="https://dafny.org/" +SRC_URI="https://github.com/dafny-lang/dafny/releases/download/v${PV}/dafny-${PV}-x64-ubuntu-16.04.zip" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="-* ~amd64" +REQUIRED_USE="elibc_glibc" + +RDEPEND=" + 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 +} diff --git a/dev-lang/dafny-bin/dafny-bin-3.9.1.ebuild b/dev-lang/dafny-bin/dafny-bin-3.9.1.ebuild deleted file mode 100644 index c7dbe567fbba..000000000000 --- a/dev-lang/dafny-bin/dafny-bin-3.9.1.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DESCRIPTION="Verification-aware programming language" -HOMEPAGE="https://dafny.org/" -SRC_URI="https://github.com/dafny-lang/dafny/releases/download/v${PV}/dafny-${PV}-x64-ubuntu-16.04.zip" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="-* ~amd64" -REQUIRED_USE="elibc_glibc" - -RDEPEND=" - dev-libs/userspace-rcu - dev-util/lttng-ust - 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 -} -- cgit v1.2.3-65-gdbad