commit: 7b9674031f92618334966fea67d75a9c930a6a3c
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Fri May 16 15:47:28 2025 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Fri May 16 20:38:08 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b967403
dev-lang/dafny: drop old 4.9.1
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
dev-lang/dafny/Manifest | 2 -
dev-lang/dafny/dafny-4.9.1.ebuild | 634 --------------------------------------
2 files changed, 636 deletions(-)
diff --git a/dev-lang/dafny/Manifest b/dev-lang/dafny/Manifest
index 9d4804f897be..88109c1c7f3c 100644
--- a/dev-lang/dafny/Manifest
+++ b/dev-lang/dafny/Manifest
@@ -17,7 +17,6 @@ DIST commandlineparser.2.8.0.nupkg 475554 BLAKE2B
e55eda3a96441169220e5b081f432d
DIST commandlineparser.2.9.1.nupkg 496069 BLAKE2B
e2c4b38841f83d6bc10432b8055af90369f1fe0a10105a58b51b44cd48e5d84cb0b5e4b19f444d8c81b38646a62c7c4d11cbd710e92fea68be3ebea6ab98e3f1
SHA512
4f364e45c9668c7e7cc6a922b488f3fa523033c20d7a432694f0a6af05ce528ea0481d8375e2f4f1032c6990347b4803ce9a0e48068c6fe15ec46fb1254f085d
DIST coverlet.collector.3.2.0.nupkg 2209480 BLAKE2B
175bcfcb9d6e5177d44f2d607f2411cbe77d6009d096bbc84372e33d7be972d3e39ec39d7f2669b4b91f4bcf44f6ddd46bc91541c0cc4843426e2dd1073bf5c2
SHA512
b63d02a5d3233805b42f0b8cc76f40c8d9f5a0117beb6bdb2ab147f5521bb99919b29d51ff91767ce0bfcab92d25fc8fe794133cadc60da3e009ae18d10fc920
DIST dafny-4.10.0.tar.gz 6815686 BLAKE2B
e6054cd38cbc4edcdb2e6848efd6f09df6b5be7abb22bd9e47d35c71a6d046aee4a10bdefe840d883151b66b4d8075053ba14b5f038d7b1b8104bf40ccc56791
SHA512
fcd3499e4a626db638d2cb1d9c3ed221b559d339171f316c937298ed4c916ddf548ec3a0168b85fbb442e51406040b084799f9770b85c5b836d925568e272cad
-DIST dafny-4.9.1.tar.gz 6793194 BLAKE2B
45aad0674b26d240b48e9244caac18b1308b1c03531fa1ffb4fa7137f30a601f2a38b37fcbb6ddf90c9dea0e3313a380302741dc1878eb80ed879684ddaacf8f
SHA512
3d6eb824d108a2ec6d0749229af4325f6fff40f6444e2aaa100b6285bf4bacbf2f1108e23b9c9a279d737cfad336702c34739553b625b9bed2ed2c91eae8ce9b
DIST diffplex.1.7.0.nupkg 69699 BLAKE2B
9c7d6eab09e7df1d791183bbfc4cc46b7bea8dd4b5d09fd3e7e3dc1734e6a8973f92a34387e1a2a0e3a4cbf11ffb89f8138844b2b46d2e94010932ed47158911
SHA512
a0f7a30c59889d71eba97db9bda2efbf1b458ca439d129b52ba3eae32626325e73ec13d46018603a81a33cf18a25a5b08a1b2e6a89c7e716faa47eb9db6d6474
DIST humanizer.core.2.2.0.nupkg 104728 BLAKE2B
6c383abbbed9250f2a7eeec4478ead8f23ad53aa62a5b0f22e71fed9157aa6644a9a7518842d637885b7b63a4300754e1a7e9f3f9968725607ad30bf18e27a21
SHA512
e232459f914c8e7fc3f8dee69a85e66beb8c44515d4c83a976ee24084a91f32aae61c6f845ff38edcae02d0bcab44f9ec253277dccf2f4ae7e82235047bc6ade
DIST jetbrains.annotations.2021.1.0.nupkg 122595 BLAKE2B
59b994b58df9c4ef12d130543ae85ae0a368b92fae8c1d106675bcb4a55da9a13ee6da5fd5940b51c2a101470226007b05a1670b085d0f2f0b66f143e67f3051
SHA512
3b17599f6fc4413dd3811a32216f742596da5c6d8709134d85d292cd28ace7dc72aecef8a2bf64a5dfd31796787468e70e3936ea2eb9ed0505c7c6130d66db17
@@ -331,7 +330,6 @@ DIST system.xml.readerwriter.4.3.0.nupkg 1388897 BLAKE2B
ae51b8fe4492dec1e4e3584
DIST system.xml.xdocument.4.0.11.nupkg 591353 BLAKE2B
8373fa19c6aafbe6e347db7bb1ec304dd8ce77df415acf0c3ee04ea2dcfce050f59d6e72cdeb14c4e54d29c1c07fc9eb0ef8045fb09830b48fb1a8e90dcb09a8
SHA512
f8ae902901963f2636f39c0652d82daa9df3fb3e3d5a60493c39f6cf01ed07c7d57f175a2d2895f4a872d4e92527e5131522218d1a67da2fd491e162273a8527
DIST system.xml.xdocument.4.3.0.nupkg 591350 BLAKE2B
86f910cef36c056f4a9ea9dc26eea6e01070467d27ac80fb8a0af5e1a572ad5d2169e4f1297cd362fddc9e0309458dbd413fca85ef8e56f97781c218e594604a
SHA512
c2d9236a696daf23a29b530b9aa510fb813041685a1bb9a95845a51e61d870a0615e988b150f5be0d0896ef94b123e97f96c8a43ee815cf5b9897593986b1113
DIST system.xml.xmldocument.4.3.0.nupkg 285212 BLAKE2B
0d96ca356543e8e915597e0624dca42f0c7032a2ae9e380a6fba3fbee0dacb9e5f06017893b2b7a8b937dbb4de7d5665fa6648e3bf8df12e0d34e4075c125109
SHA512
22251b3f16de9aa06e091b24baea1b8c95752f0d22266faf34e1fb76b347b23f7910cdaf567058e23d06b7079961090ca70805070a2491add5da4d0271afd133
-DIST tomlyn.0.16.2.nupkg 146842 BLAKE2B
5292d6abae6eb514d6a0cf7b69e9ab47599fc1540c83a9861985293267c8137f856a1ec573d7f3b327c9a383905de4572f54d03c889951227549cc1bb8979f78
SHA512
69a4f67cd9a9cf593f79fd8cc0530a030a24a9a04e5b67ba39460668e5125d6859f54f3a3d485ec1e8d0be996f14ef14fb9e380e63c6e648bd1141dc31c58141
DIST tomlyn.0.17.0.nupkg 147066 BLAKE2B
d5507882a8e5f7bd7f2e30c3a4aab342046c0339b884b6527a9e616cd48c603aa97ed411a63cf1e92852994c9dc2768f35edb5854aa5b21f865b17783fc43ba5
SHA512
0dd5717101262fd7833cbb74ab5b95f0f39e39d2b32c90775d6e54359643d17d5c1675b9ef65260b01f5b89c81c3d446ae3bffd598b0a53e6b3a10149f9e01fb
DIST validation.2.4.18.nupkg 90984 BLAKE2B
3f319bd60a0b1d6b6d08188b1132c01fd417d7e205bc587edd7ffa0dfba4dc01b9e956df46ef03b0f909ff5b9a859a9620d1ededd8eef21fb6522aab2f12f1f2
SHA512
b49e4b992b40bb656821a7a6dd67fe464af14f0781cf677f58412d108678963f9f9347bd2e1091343c1aa522148ea187a25b45ef0eae5e7ffeb8f833396fcff2
DIST xunit.2.4.1.nupkg 20733 BLAKE2B
ee83156610dc4ade1f15c05d97725e1913a9dde04e474c11fe396c37df5d438ab934776e4660d3d139fe34949eb890dae67c0145d3815a8a25cc976b9d2cca7b
SHA512
3b0061a5ecfd49166f123aa27375956c00aedb0b22f6ee6a8be629cd583a0532f7476e51ffacad3385245139f1f9d4990c9dc850fc7ef7d097fd85e7c6b40058
diff --git a/dev-lang/dafny/dafny-4.9.1.ebuild
b/dev-lang/dafny/dafny-4.9.1.ebuild
deleted file mode 100644
index 0002c1730a8e..000000000000
--- a/dev-lang/dafny/dafny-4.9.1.ebuild
+++ /dev/null
@@ -1,634 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{11..13} )
-
-DOTNET_PKG_COMPAT="6.0"
-NUGETS="
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
-runtime.debian.8-x64.runtime.native.system.security.cryptography.openssl@4.3.0
-runtime.fedora.23-x64.runtime.native.system.security.cryptography.openssl@4.3.0
-runtime.fedora.24-x64.runtime.native.system.security.cryptography.openssl@4.3.0
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
-runtime.opensuse.13.2-x64.runtime.native.system.security.cryptography.openssl@4.3.0
-runtime.opensuse.42.1-x64.runtime.native.system.security.cryptography.openssl@4.3.0
-runtime.osx.10.10-x64.runtime.native.system.security.cryptography.apple@4.3.0
-runtime.osx.10.10-x64.runtime.native.system.security.cryptography.openssl@4.3.0
-runtime.rhel.7-x64.runtime.native.system.security.cryptography.openssl@4.3.0
-runtime.ubuntu.14.04-x64.runtime.native.system.security.cryptography.openssl@4.3.0
-runtime.ubuntu.16.04-x64.runtime.native.system.security.cryptography.openssl@4.3.0
-runtime.ubuntu.16.10-x64.runtime.native.system.security.cryptography.openssl@4.3.0
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
-"
-
-inherit check-reqs dotnet-pkg edo java-pkg-2 multiprocessing python-any-r1
optfeature
-
-DESCRIPTION="Dafny is a verification-aware programming language"
-HOMEPAGE="https://dafny.org/
- https://github.com/dafny-lang/dafny/"
-
-if [[ "${PV}" == *9999* ]] ; then
- inherit git-r3
-
- EGIT_REPO_URI="https://github.com/dafny-lang/${PN}.git"
-else
- SRC_URI="https://github.com/dafny-lang/${PN}/archive/v${PV}.tar.gz
- -> ${P}.tar.gz"
-
- KEYWORDS="amd64"
-fi
-
-SRC_URI+="
- ${NUGET_URIS}
- test? (
- https://registry.npmjs.org/bignumber.js/-/bignumber.js-9.1.2.tgz
- )
-"
-
-LICENSE="MIT"
-SLOT="0"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- !dev-lang/dafny-bin
- >=virtual/jre-1.8:*
- sci-mathematics/z3
-"
-DEPEND="
- >=virtual/jdk-1.8:*
-"
-BDEPEND="
- ${RDEPEND}
- dev-dotnet/coco
- test? (
- ${PYTHON_DEPS}
- >=dev-lang/boogie-3.3.3
- dev-go/go-tools
- dev-lang/go
- dev-python/outputcheck
- dev-python/lit
- dev-python/psutil
- net-libs/nodejs[npm]
- )
-"
-
-CHECKREQS_DISK_BUILD="2G"
-DOTNET_PKG_PROJECTS=( Source/Dafny/Dafny.csproj )
-
-PATCHES=(
- "${FILESDIR}/dafny-3.12.0-DafnyCore-csproj.patch"
- "${FILESDIR}/dafny-3.12.0-DafnyRuntime-csproj.patch"
- "${FILESDIR}/dafny-4.5.0-lit-config.patch"
-)
-
-DOCS=(
- CODE_OF_CONDUCT.md
- CONTRIBUTING.md
- NOTICES.txt
- README.md
- RELEASE_NOTES.md
- docs/DafnyCheatsheet.pdf
- docs/DafnyRef/out/DafnyRef.pdf
-)
-
-TEST_S="${S}/Source/IntegrationTests/TestFiles/LitTests/LitTest"
-
-pkg_setup() {
- # Clean the environment.
- unset NPM_CONFIG_USERCONFIG
-
- if [[ -n "${_JAVA_OPTIONS}" ]] ; then
- ewarn "Cleaning _JAVA_OPTIONS because when set compile and test
may fail"
-
- unset _JAVA_OPTIONS
- fi
-
- check-reqs_pkg_setup
- dotnet-pkg_pkg_setup
- java-pkg-2_pkg_setup
-
- # We need to set up Python only for running test tools (called via lit).
- if use test ; then
- python-any-r1_pkg_setup
- fi
-}
-
-src_unpack() {
- # Unpack manually to skip additional archives, eg "bignumber.js".
- nuget_link-system-nugets
- nuget_link-nuget-archives
-
- if [[ -n "${EGIT_REPO_URI}" ]] ; then
- git-r3_src_unpack
- else
- unpack "${P}.tar.gz"
- fi
-}
-
-src_prepare() {
- dotnet-pkg_src_prepare
-
- # Update lit's "lit.site.cfg" file.
- local dotnet_exec="${DOTNET_PKG_EXECUTABLE} exec ${DOTNET_PKG_OUTPUT}"
- local lit_config="${TEST_S}/lit.site.cfg"
-
- local -a lit_dotnet_run_opts=(
- --configuration "${DOTNET_PKG_CONFIGURATION}"
- --no-build
- --no-restore
- --no-self-contained
- --runtime "${DOTNET_PKG_RUNTIME}"
- )
- sed -i "${lit_config}" \
- -e "s|dotnet run |${DOTNET_PKG_EXECUTABLE} run
${lit_dotnet_run_opts[*]} |g" \
- || die "failed to update ${lit_config}"
-
- # Using "for-each-compiler" will fail because of Cargo requiring
network access.
- while read -r test_file ; do
- if grep "// RUN: %testDafnyForEachCompiler" "${test_file}"
>/dev/null ; then
- rm "${test_file}" || die "failed to remove test
${bad_test}"
- fi
- done < <(find "${TEST_S}" -type f -name "*.dfy")
-
- # Remove bad tests (recursive).
- local -a bad_tests=(
- # Unsupported test build (and those that need network access):
- comp/rust
-
- # Following tests fail:
- HigherOrderIntrinsicSpecification
- VSComp2010
- ast/function.dfy
- auditor/TestAuditor.dfy
- benchmarks
- blogposts
- c++
- cli/measure-complexity.dfy
- cli/projectFile/projectFile.dfy
- cli/runArgument.dfy
- comp
- concurrency
- dafny0
- dafny1
- doofiles
- examples
- exports
- git-issues
- gomodule/multimodule
- gomodule/publishedruntime
- gomodule/singlemodule
- lambdas
- metatests
- printing
- pythonmodule
- separate-verification
- server
- triggers
- unicodecharsFalse
- verification/outOfResourceAndIsolateAssertions.dfy
- verification/progress.dfy
- vstte2012
- wishlist
- )
- local bad_test=""
- for bad_test in "${bad_tests[@]}" ; do
- if [[ -e "${TEST_S}/${bad_test}" ]] ; then
- rm -r "${TEST_S}/${bad_test}" \
- || eerror "failed to remove test ${bad_test}"
- else
- ewarn "Test file ${bad_test} does not exist"
- fi
- done
-}
-
-src_configure() {
- dotnet-pkg_src_configure
-
- if use test ; then
- dotnet-pkg-base_restore ./Source/TestDafny/TestDafny.csproj
- fi
-}
-
-src_compile () {
- einfo "Building DafnyRuntimeJava JAR."
- local dafny_runtime_java="${S}/Source/DafnyRuntime/DafnyRuntimeJava"
- mkdir -p "${dafny_runtime_java}/build/libs/" || die
- pushd "${dafny_runtime_java}/build" || die
-
- ejavac -d ./ $(find "${dafny_runtime_java}/src/main" -type f -name
"*.java")
- edob jar cvf "DafnyRuntime-${PV}.jar" dafny/*
-
- cp "DafnyRuntime-${PV}.jar" "${dafny_runtime_java}/build/libs/" || die
- popd || die
-
- # Build main dotnet package.
- dotnet-pkg_src_compile
-
- # Build "TestDafny" without saving artifacts.
- if use test ; then
- # This is where Dafny test suite expects to find compiled
sources.
- rm -r ./Binaries || die
- cp -r "${DOTNET_PKG_OUTPUT}" ./Binaries || die
-
- local -a build_test_opts=(
- --configuration "${DOTNET_PKG_CONFIGURATION}"
- --no-restore
- --no-self-contained
- --runtime "${DOTNET_PKG_RUNTIME}"
- -maxCpuCount:$(makeopts_jobs)
- )
- edotnet build "${build_test_opts[@]}"
./Source/TestDafny/TestDafny.csproj
- fi
-}
-
-src_test() {
- # Dafny GOLang transpiler tests need "goimports" from "/usr/lib/go/bin".
- local -x PATH="${EPREFIX}/usr/lib/go/bin:${PATH}"
-
- einfo "Installing bignumber.js package required for tests using NodeJS."
- local -a npm_opts=(
- --audit false
- --color false
- --foreground-scripts
- --offline
- --progress false
- --verbose
- )
- edob npm "${npm_opts[@]}" install "${DISTDIR}/bignumber.js-9.1.2.tgz"
-
- einfo "Starting tests using the lit test tool."
- local -a lit_opts=(
- --order=lexical
- --time-tests
- --timeout 1800 # Let one test take no mere than half a
hour.
- --verbose
- --workers="$(makeopts_jobs)"
- )
- edo lit "${lit_opts[@]}" "${TEST_S}"
-}
-
-src_install() {
- dotnet-pkg-base_install
-
- local -a dafny_exes=(
- Dafny
- DafnyDriver
- DafnyLanguageServer
- DafnyServer
- )
- local dafny_exe
- for dafny_exe in "${dafny_exes[@]}" ; do
- dotnet-pkg-base_dolauncher "/usr/share/${P}/${dafny_exe}"
"${dafny_exe}"
- done
-
- dosym -r /usr/bin/Dafny /usr/bin/dafny
- dosym -r /usr/bin/DafnyServer /usr/bin/dafny-server
-
- einstalldocs
-}
-
-pkg_postinst() {
- optfeature "Dafny GO language backend" dev-go/go-tools
- optfeature "Dafny Rust language backend" dev-lang/rust dev-lang/rust-bin
-}