diff --git a/dev-dotnet/fantomas/Manifest b/dev-dotnet/fantomas/Manifest index ccf4d820d4497..e3f9967b4774a 100644 --- a/dev-dotnet/fantomas/Manifest +++ b/dev-dotnet/fantomas/Manifest @@ -8,7 +8,6 @@ DIST dotnet-fsharplint.0.19.2.nupkg 10590252 BLAKE2B 203441a4b2b39310c7925c56b3d DIST dotnet.reproduciblebuilds.1.1.1.nupkg 24193 BLAKE2B 7fa2efe9549ec3f7242ceff1566e3e1a11c5fe51091a1ed6faa7fc39ed7feb40c1e6f0b24a0cbc024e157905215e5be1fe776df0f647acbfbb3ac60c9b654756 SHA512 03dabc14d61db33723dd02d11613848125a36ecbafaad95fba1727f909f92777d6ee963394d00a6eb4e9383e636cbe46b54516abe2c6ea2baffdb76a2617b332 DIST editorconfig.0.15.0.nupkg 110720 BLAKE2B 68a997f808b18a05aece36cf3f6f37c817a6c4bd9dc6288ecf132b13ebc52ad5e23d9476cf34bb3c3c68c702bd278cf86c08c597ad031ea9966284f8a725f0b8 SHA512 7e2d5406867195bf705ef5ddc4683771ccf6a2269240914fddf6c4eeff1bd312bdadc433258d6b5e50fa65271969c9c95c2c10d489970b03edb65dad14d0f8be DIST fable.core.3.1.6.nupkg 98023 BLAKE2B 9d9db7ea2a951f79985a90e308fd75fbb827a7a215b130a98fbd511a8ee7f6179cba5bbf0f9eed51d414ebb8aed95c745ff52f8cfc9d806b1e6ab0c2ed49a87e SHA512 b00bbd05680a760a2101a9878847bd139b16149964ae0b1e36f12ae044eec82afdd580242efccdf3ed1d7505ce9237e62705393b6097c98c1605da20b2969d5b -DIST fantomas-7.0.2.gh.tar.gz 50356557 BLAKE2B a04b3d58607d50865b2e5cd8536bbba2a439c1ebdf1cab4aefcb1649fe415a00dffaf20f8367f718fc6a20f66e7c532fcb8ac84e4e8e4336fe3fc93ad46fdde9 SHA512 a99afa078a912f5b50b85d4e06576b4340fad1f865a3583794cb597aed3f73186392eef697c014af24bf324573b9bbbc204f56553597802316ec65806422395b DIST fantomas-7.0.3.gh.tar.gz 50356561 BLAKE2B 28e793d903c4db87dc33878b2113935b812bd209e50de56286f44fffd49a6e397c6a04f4c6d753cc8576b349db7b007bc5d4ed232d9817475e90092ffe71d268 SHA512 7c793815155ef692375eba50459e6ea818bebf5dd994046bb597c47c578c873df4a08e4c8340a14f48f56ce83658ab7061ead9f535b41d39da3eec1b2543db6d DIST fantomas.7.0.1.nupkg 6137603 BLAKE2B 029991c3acc7c3d1595df0d3590309c404b39a8a09863b60f4545c149f7c17ad415967eabc5981cda3049dbf381bbccc8374a0271ab72bab349e1d45443be86b SHA512 aa66d6ec74365f717850edb9cde3c685f235331661f52434b87af50359dbe79b8dbd270df1ddbc4315c01306ca524b327eb767953021ec1b729935a04fd7faa8 DIST fparsec.1.1.1.nupkg 353063 BLAKE2B 47e93d6ed373bcf3fd5c26ace2d60a1e6701b14bb4cbca1650bc15bfd0dce402ea8c8ad471004dfe618f0e9507ec60c53d7e01ead2e7480ececfc4a0395552ff SHA512 b28a1cc8a4fd2d4b000adf68b0a9ffb6aa72ec2cdd5157beb47635346122ac61f6dac0e0b06de8528ed7336e21e9881918fd18d36585507ebefb3336c57b6c76 diff --git a/dev-dotnet/fantomas/fantomas-7.0.2.ebuild b/dev-dotnet/fantomas/fantomas-7.0.2.ebuild deleted file mode 100644 index b1da2bcf6906e..0000000000000 --- a/dev-dotnet/fantomas/fantomas-7.0.2.ebuild +++ /dev/null @@ -1,233 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DOTNET_PKG_COMPAT="8.0" - -# Required tools are on top, they are listed in ".config/dotnet-tools.json". -NUGETS=" -dotnet-fsharplint@0.19.2 -fantomas@7.0.1 -fsdocs-tool@21.0.0-beta-002 -fsharp-analyzers@0.25.0 - -argu@6.2.4 -benchmarkdotnet.annotations@0.14.0 -benchmarkdotnet@0.14.0 -cliwrap@3.6.4 -cliwrap@3.6.7 -commandlineparser@2.9.1 -dotnet.reproduciblebuilds@1.1.1 -editorconfig@0.15.0 -fable.core@3.1.6 -fparsec@1.1.1 -fscheck@2.16.5 -fsharp.analyzers.build@0.3.0 -fsharp.core@4.3.4 -fsharp.core@5.0.1 -fsharp.core@6.0.0 -fsharp.core@6.0.2 -fsharp.core@8.0.100 -fsharp.core@9.0.100 -fsharp.data.csv.core@6.3.0 -fsharp.data.html.core@6.3.0 -fsharp.data.http@6.3.0 -fsharp.data.json.core@6.3.0 -fsharp.data.runtime.utilities@6.3.0 -fsharp.data.worldbank.core@6.3.0 -fsharp.data.xml.core@6.3.0 -fsharp.data@6.3.0 -fslexyacc.runtime@11.3.0 -fslexyacc@11.3.0 -fsunit@6.0.1 -fun.build@1.0.3 -fun.result@2.0.9 -g-research.fsharp.analyzers@0.9.3 -gee.external.capstone@2.3.0 -humanizer.core@2.14.1 -iced@1.17.0 -ignore@0.2.1 -ionide.analyzers@0.9.0 -ionide.keepachangelog.tasks@0.1.8 -ionide.keepachangelog@0.1.8 -messagepack.annotations@2.5.187 -messagepack@2.5.187 -microsoft.bcl.asyncinterfaces@1.1.0 -microsoft.bcl.asyncinterfaces@8.0.0 -microsoft.build.tasks.git@1.1.1 -microsoft.codeanalysis.analyzers@3.3.3 -microsoft.codeanalysis.common@4.1.0 -microsoft.codeanalysis.csharp@4.1.0 -microsoft.codecoverage@17.12.0 -microsoft.diagnostics.netcore.client@0.2.251802 -microsoft.diagnostics.runtime@2.2.332302 -microsoft.diagnostics.tracing.traceevent@3.1.8 -microsoft.dotnet.platformabstractions@3.1.6 -microsoft.extensions.configuration.abstractions@2.1.1 -microsoft.extensions.configuration.binder@2.1.1 -microsoft.extensions.configuration@2.1.1 -microsoft.extensions.dependencyinjection.abstractions@2.1.1 -microsoft.extensions.logging.abstractions@2.1.1 -microsoft.extensions.logging@2.1.1 -microsoft.extensions.options@2.1.1 -microsoft.extensions.primitives@2.1.1 -microsoft.net.stringtools@17.6.3 -microsoft.net.test.sdk@17.12.0 -microsoft.netcore.platforms@1.1.0 -microsoft.netcore.platforms@1.1.1 -microsoft.netcore.platforms@2.0.0 -microsoft.netcore.platforms@2.1.2 -microsoft.netcore.platforms@5.0.0 -microsoft.netcore.targets@1.1.3 -microsoft.sourcelink.azurerepos.git@1.1.1 -microsoft.sourcelink.bitbucket.git@1.1.1 -microsoft.sourcelink.common@1.1.1 -microsoft.sourcelink.github@1.1.1 -microsoft.sourcelink.gitlab@1.1.1 -microsoft.testplatform.objectmodel@17.12.0 -microsoft.testplatform.testhost@17.12.0 -microsoft.visualstudio.threading.analyzers@17.10.48 -microsoft.visualstudio.threading@17.10.48 -microsoft.visualstudio.validation@17.8.8 -microsoft.win32.registry@4.4.0 -microsoft.win32.registry@5.0.0 -nerdbank.streams@2.11.74 -netstandard.library@2.0.3 -newtonsoft.json@13.0.3 -nunit3testadapter@4.6.0 -nunit@4.2.2 -perfolizer@0.3.17 -runtime.any.system.runtime@4.3.0 -runtime.native.system@4.3.0 -runtime.unix.system.private.uri@4.3.0 -semanticversion@2.1.0 -semanticversioning@2.0.2 -serilog.sinks.console@6.0.0 -serilog@4.1.0 -serilogtracelistener@3.2.1-dev-00011 -spectre.console@0.46.0 -spectre.console@0.49.1 -streamjsonrpc@2.20.20 -system.buffers@4.5.1 -system.buffers@4.6.0 -system.codedom@5.0.0 -system.collections.immutable@8.0.0 -system.configuration.configurationmanager@4.4.0 -system.diagnostics.diagnosticsource@8.0.1 -system.io.abstractions.testinghelpers@21.1.3 -system.io.abstractions@21.1.3 -system.io.pipelines@8.0.0 -system.management@5.0.0 -system.memory@4.5.5 -system.memory@4.6.0 -system.numerics.vectors@4.6.0 -system.private.uri@4.3.0 -system.reflection.emit.ilgeneration@4.7.0 -system.reflection.emit.lightweight@4.7.0 -system.reflection.emit@4.7.0 -system.reflection.metadata@1.6.0 -system.reflection.metadata@5.0.0 -system.runtime.compilerservices.unsafe@4.5.3 -system.runtime.compilerservices.unsafe@5.0.0 -system.runtime.compilerservices.unsafe@6.0.0 -system.runtime.compilerservices.unsafe@6.1.0 -system.runtime@4.3.1 -system.security.accesscontrol@4.4.0 -system.security.accesscontrol@5.0.0 -system.security.cryptography.protecteddata@4.4.0 -system.security.principal.windows@4.4.0 -system.security.principal.windows@5.0.0 -system.text.encoding.codepages@4.5.1 -system.text.encodings.web@8.0.0 -system.text.json@8.0.5 -system.threading.tasks.dataflow@6.0.0 -system.threading.tasks.extensions@4.5.4 -testableio.system.io.abstractions.testinghelpers@21.1.3 -testableio.system.io.abstractions.wrappers@21.1.3 -testableio.system.io.abstractions@21.1.3 -thoth.json.net@12.0.0 -" - -inherit check-reqs dotnet-pkg - -DESCRIPTION="FSharp source code formatter" -HOMEPAGE="https://fsprojects.github.io/fantomas/ - https://github.com/fsprojects/fantomas/" - -if [[ "${PV}" == *9999* ]] ; then - inherit git-r3 - - EGIT_REPO_URI="https://github.com/fsprojects/${PN}" -else - SRC_URI="https://github.com/fsprojects/${PN}/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz" - - KEYWORDS="amd64" -fi - -SRC_URI+=" ${NUGET_URIS} " - -# See file "Directory.Build.props" -> tag "FCSCommitHash". -FCS_COMMIT="e668b90e3c087e5fba8a855e502af60bf35be45e" -SRC_URI+=" - https://github.com/dotnet/fsharp/archive/${FCS_COMMIT}.tar.gz - -> fsharp-${FCS_COMMIT}.gh.tar.gz -" - -LICENSE="Apache-2.0 MIT" -SLOT="0" - -PATCHES=( "${FILESDIR}/fantomas-7.0.0-directory-build-props.patch" ) - -CHECKREQS_DISK_BUILD="2G" -DOTNET_PKG_PROJECTS=( - src/Fantomas/Fantomas.fsproj -) -DOTNET_PKG_BAD_PROJECTS=( - src/Fantomas.Benchmarks/Fantomas.Benchmarks.fsproj -) -DOTNET_PKG_RESTORE_EXTRA_ARGS=( - --force-evaluate -) - -DOCS=( CHANGELOG.md README.md docs/docs/{contributors,end-users} ) - -pkg_setup() { - check-reqs_pkg_setup - dotnet-pkg_pkg_setup -} - -src_unpack() { - dotnet-pkg_src_unpack - - if [[ -n "${EGIT_REPO_URI}" ]] ; then - git-r3_src_unpack - fi -} - -src_prepare() { - dotnet-pkg_src_prepare - - # Reimplementing "dotnet build.fsx -p Init" in shell. - mkdir -p "${S}/.deps" || die - ln -s "${WORKDIR}/fsharp-${FCS_COMMIT}" "${S}/.deps/${FCS_COMMIT}" || die - find "${S}/.deps/${FCS_COMMIT}/src" -type f \ - -exec sed -e "s|FSharp.Compiler|Fantomas.FCS|g" -i {} + || die -} - -src_configure() { - dotnet-pkg-base_restore_tools - dotnet-pkg_src_configure -} - -src_test() { - local -a test_projects=( - Fantomas.Core.Tests - Fantomas.Tests - ) - local test_project - for test_project in "${test_projects[@]}" ; do - dotnet-pkg-base_test "${S}/src/${test_project}" -p:RollForward=Major - done -}