From 0ebcd2cbf178600b5eb36b2f24cdbb3d2f4a9000 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 13 Jun 2024 00:08:30 +0100 Subject: gentoo auto-resync : 13:06:2024 - 00:08:29 --- dev-dotnet/fantomas/Manifest | 4 +- dev-dotnet/fantomas/fantomas-6.3.8.ebuild | 293 ------------------------------ dev-dotnet/fantomas/fantomas-6.3.9.ebuild | 293 ++++++++++++++++++++++++++++++ 3 files changed, 295 insertions(+), 295 deletions(-) delete mode 100644 dev-dotnet/fantomas/fantomas-6.3.8.ebuild create mode 100644 dev-dotnet/fantomas/fantomas-6.3.9.ebuild (limited to 'dev-dotnet/fantomas') diff --git a/dev-dotnet/fantomas/Manifest b/dev-dotnet/fantomas/Manifest index b0216370cd29..c056a98ec85e 100644 --- a/dev-dotnet/fantomas/Manifest +++ b/dev-dotnet/fantomas/Manifest @@ -9,7 +9,7 @@ DIST fable.core.3.0.0.nupkg 88115 BLAKE2B 5c5a18b6aa818db35b9ee8502f109477a7c86a DIST fantomas-6.3.1.tar.gz 50369658 BLAKE2B 1b9014a8c28bc5951a85ae2e12dc167c0dd79156a36aea43ca9c4e9434433f19325baf6a88063b84e8ac7995cf4e586001eeeefacdaf1966872e86ce6b4bd4ef SHA512 67c739a3f203f992ba1690a226248fe3f947598ef08cffa8219148a30c360bd63eb98944129a62b60bda4d0cc27cc7e39841e305bfc49aeaf94fa7529d29ab32 DIST fantomas-6.3.4.tar.gz 50374419 BLAKE2B 4da6367c872c4d69686353d4ec48a3bf613ba46ba68ada858ae2068206b10c15d019dd353963b4b7464ba3f0b00e4887f3ede1f644a5b6b6e459df7cb50982e2 SHA512 fa3284a548193ca0f28f45662955c66750bfbd5cc1d52b86851a9e7cddf00cc6bf7b458b6ab7feedd698d40bf8c90927a558753c394c9d2accfc782f7af8d0f8 DIST fantomas-6.3.7.tar.gz 50375115 BLAKE2B 7c35e69efd4581087e281de3b89d7127eb5e95ce299e2d74671d5fe8d8d28f0b3e77000707462552dd0aa6641f3da94e58e53509a14a17a3673a1d1634ee3bd1 SHA512 255947f08062bec3e27ce02af454616e8e8a37c27f3fd3c21584ed6733b2c5d5a7cd2fd6ae9fa25f0598ff16668ec44f5207f42769f746947d6a4fde6cfbe0a0 -DIST fantomas-6.3.8.tar.gz 50375402 BLAKE2B 12d397ed6d43309128ef3250ba9a81722c0be939d506adcd84f25a9c9fe79b11953a234ac7eea1466b3b94e96bf3813af56f3100ce666859feb55caf4b5527f7 SHA512 fe7f37a1eb128247befa3db7a1d0f7de2a9c27edc3c48601763002139dd04b4664ab3122b65ee3bd9a37cd257859af89d6d1b7380f18fa898a991e1b8bf00b34 +DIST fantomas-6.3.9.tar.gz 50375336 BLAKE2B 493cbed4e73b0151887994552ffc7a46ddfdcee61a7c522187b1c1bfbffb0f168f7231679c90560c45f797924d5258db09e7d90db472f2dea4ad7d7e6a20f6fa SHA512 8111d7df7280f5a7b61cfca7d30a5bd442eda529248f59d8545799ad93948401e488673bd470d3482c7e0c6bb34ddac2aef389edb78ad0a19f47a419f1179001 DIST fantomas.6.3.0.nupkg 5811389 BLAKE2B 57a12579087cb6cbe0cfec9885d0bd5768ba79245a197d825a9b8e8fd15d03cf9a23b3661d91492e4621e5aebe468e846bbfeb44339a7754a3d61a8826a5c62a SHA512 a708356ee3c135c88d759f92aac75d272f9e706f1fd151dd4dadb0d6b808b169636adc40875a0e858a8fbab9e5006a475b3bacd6712e7d200deda17f6452d0c6 DIST fparsec.1.1.1.nupkg 353063 BLAKE2B 47e93d6ed373bcf3fd5c26ace2d60a1e6701b14bb4cbca1650bc15bfd0dce402ea8c8ad471004dfe618f0e9507ec60c53d7e01ead2e7480ececfc4a0395552ff SHA512 b28a1cc8a4fd2d4b000adf68b0a9ffb6aa72ec2cdd5157beb47635346122ac61f6dac0e0b06de8528ed7336e21e9881918fd18d36585507ebefb3336c57b6c76 DIST fscheck.2.16.5.nupkg 1202407 BLAKE2B 0da4c276a6e0a1c68f0513a2e1c65291adfe527d89eb005a684937f895d9040d0bfcf5e8c657c6fc112fbfb9b889e4a6c010a0f92789796d0166d93d624a147a SHA512 a1bcecd7c86bd5598d585071c54b404fa8db4d9ed744562dbd83023a6b28b27eaff703353370f127f28bd8dcc6bfd6689640bdd177f5e947a9fbe5353e454367 @@ -212,5 +212,5 @@ DIST thoth.json.net.8.0.0.nupkg 172424 BLAKE2B 4c8e822c24add902b9ff56709a6e81c73 EBUILD fantomas-6.3.1.ebuild 9006 BLAKE2B 68f1eb716617093dd4e44cc8af44c834a9b3494ebfe862acc650e578abb6c3be4b9bc50a7553eb0391884e5e174c09115b537d50e6b0fe46ae811bb0a639a211 SHA512 a47a8573d2e110cd00012aae89736f67487b72d34ac4f63b9c9eb3a45bb8e35bff0fa0ade03f887df764aa323237735f12c52eb11dfd0613a39053d573d02071 EBUILD fantomas-6.3.4.ebuild 9007 BLAKE2B da5eeecc465d5e030202077ae6e4c7423c92705ae7efb43b55fa9d1a0893c8d0541cf1c686ca93398ab8a2d62f48b6f9fdc9d616622d2981cb002851bd94c8dd SHA512 487074a593a625ec4dc588864d9bb85e2d33485fc1844e2a3acc26914c732c5997839910dde3b2cd0aea3559ecbebe7cbdb09978c6a636908c3ad9a18a080948 EBUILD fantomas-6.3.7.ebuild 9007 BLAKE2B 94f088d64899394839bb22e89c990e9268af0432be274ae0074489746c564b0f6a89a48288d14ebfbfb807b484ad35e2ee526530e99d6213ae24e18648afd6c2 SHA512 e7a614d7b3e0126526a73dfd8f0d2aabf002fe3bfd9232939ef883a411d332c8163e34aede97858fe4e06aa7315309f4643fb18d0ce5fb8cb5ad6e66da32c665 -EBUILD fantomas-6.3.8.ebuild 9007 BLAKE2B 94f088d64899394839bb22e89c990e9268af0432be274ae0074489746c564b0f6a89a48288d14ebfbfb807b484ad35e2ee526530e99d6213ae24e18648afd6c2 SHA512 e7a614d7b3e0126526a73dfd8f0d2aabf002fe3bfd9232939ef883a411d332c8163e34aede97858fe4e06aa7315309f4643fb18d0ce5fb8cb5ad6e66da32c665 +EBUILD fantomas-6.3.9.ebuild 9007 BLAKE2B 94f088d64899394839bb22e89c990e9268af0432be274ae0074489746c564b0f6a89a48288d14ebfbfb807b484ad35e2ee526530e99d6213ae24e18648afd6c2 SHA512 e7a614d7b3e0126526a73dfd8f0d2aabf002fe3bfd9232939ef883a411d332c8163e34aede97858fe4e06aa7315309f4643fb18d0ce5fb8cb5ad6e66da32c665 MISC metadata.xml 579 BLAKE2B 820d0e9c7adaacf5a8a8aa5bc0c8fa93c1738923e7ae902f5f64f7fa45ba9d0c8e34db7dbe4bd6ced70a70c49a789fb5931aa5b6553825a7fd889bc7ed560a51 SHA512 e5d7080a05c00b2de1f90f557162a9bc6e78937b2750a98d33c476e0b7a6d41047003260a147c1d54c23e6968fcee70e25e3b3f9406c4b89f9ec9049fdd33a51 diff --git a/dev-dotnet/fantomas/fantomas-6.3.8.ebuild b/dev-dotnet/fantomas/fantomas-6.3.8.ebuild deleted file mode 100644 index f5b9efc1723e..000000000000 --- a/dev-dotnet/fantomas/fantomas-6.3.8.ebuild +++ /dev/null @@ -1,293 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DOTNET_PKG_COMPAT=8.0 -NUGETS=" -dotnet-fsharplint@0.19.2 -fantomas@6.3.0 -fsdocs-tool@20.0.0 -fsharp-analyzers@0.25.0 - -argu@6.2.4 -cliwrap@3.6.4 -commandlineparser@2.9.1 -dotnet.reproduciblebuilds@1.1.1 -editorconfig@0.15.0 -fable.core@3.0.0 -fparsec@1.1.1 -fscheck@2.16.5 -fsharp.analyzers.build@0.3.0 -fsharp.core@5.0.1 -fsharp.core@6.0.7 -fsharp.core@8.0.101 -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.2.0 -fslexyacc@11.2.0 -fsunit@6.0.0 -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.1.50 -ionide.analyzers@0.9.0 -ionide.keepachangelog.tasks@0.1.8 -ionide.keepachangelog@0.1.8 -messagepack.annotations@2.2.85 -messagepack@2.2.85 -microsoft.bcl.asyncinterfaces@1.1.0 -microsoft.bcl.asyncinterfaces@5.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.8.0 -microsoft.diagnostics.netcore.client@0.2.251802 -microsoft.diagnostics.runtime@2.2.332302 -microsoft.diagnostics.tracing.traceevent@3.0.2 -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.test.sdk@17.8.0 -microsoft.netcore.platforms@1.1.0 -microsoft.netcore.platforms@1.1.1 -microsoft.netcore.platforms@2.1.2 -microsoft.netcore.platforms@5.0.0 -microsoft.netcore.targets@1.1.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.8.0 -microsoft.testplatform.testhost@17.8.0 -microsoft.visualstudio.threading.analyzers@16.9.60 -microsoft.visualstudio.threading@16.9.60 -microsoft.visualstudio.validation@15.5.31 -microsoft.visualstudio.validation@16.8.33 -microsoft.win32.primitives@4.3.0 -microsoft.win32.registry@5.0.0 -nerdbank.streams@2.6.81 -netstandard.library@2.0.3 -newtonsoft.json@11.0.2 -newtonsoft.json@12.0.2 -newtonsoft.json@13.0.1 -nuget.frameworks@6.5.0 -nunit3testadapter@4.5.0 -nunit@4.0.1 -perfolizer@0.2.1 -runtime.any.system.collections@4.3.0 -runtime.any.system.diagnostics.tracing@4.3.0 -runtime.any.system.globalization.calendars@4.3.0 -runtime.any.system.globalization@4.3.0 -runtime.any.system.io@4.3.0 -runtime.any.system.reflection.primitives@4.3.0 -runtime.any.system.reflection@4.3.0 -runtime.any.system.resources.resourcemanager@4.3.0 -runtime.any.system.runtime.handles@4.3.0 -runtime.any.system.runtime.interopservices@4.3.0 -runtime.any.system.runtime@4.3.0 -runtime.any.system.text.encoding.extensions@4.3.0 -runtime.any.system.text.encoding@4.3.0 -runtime.any.system.threading.tasks@4.3.0 -runtime.debian.8-x64.runtime.native.system.security.cryptography.openssl@4.3.2 -runtime.fedora.23-x64.runtime.native.system.security.cryptography.openssl@4.3.2 -runtime.fedora.24-x64.runtime.native.system.security.cryptography.openssl@4.3.2 -runtime.native.system.net.http@4.3.0 -runtime.native.system.security.cryptography.apple@4.3.0 -runtime.native.system.security.cryptography.openssl@4.3.2 -runtime.native.system@4.3.0 -runtime.opensuse.13.2-x64.runtime.native.system.security.cryptography.openssl@4.3.2 -runtime.opensuse.42.1-x64.runtime.native.system.security.cryptography.openssl@4.3.2 -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.2 -runtime.rhel.7-x64.runtime.native.system.security.cryptography.openssl@4.3.2 -runtime.ubuntu.14.04-x64.runtime.native.system.security.cryptography.openssl@4.3.2 -runtime.ubuntu.16.04-x64.runtime.native.system.security.cryptography.openssl@4.3.2 -runtime.ubuntu.16.10-x64.runtime.native.system.security.cryptography.openssl@4.3.2 -runtime.unix.microsoft.win32.primitives@4.3.0 -runtime.unix.system.diagnostics.debug@4.3.0 -runtime.unix.system.io.filesystem@4.3.0 -runtime.unix.system.net.primitives@4.3.0 -runtime.unix.system.private.uri@4.3.0 -runtime.unix.system.runtime.extensions@4.3.0 -semanticversion@2.1.0 -semanticversioning@2.0.2 -serilog.sinks.console@5.0.1 -serilog@3.1.1 -serilogtracelistener@3.2.1-dev-00011 -spectre.console@0.46.0 -spectre.console@0.48.0 -streamjsonrpc@2.8.28 -system.buffers@4.3.0 -system.buffers@4.5.1 -system.codedom@5.0.0 -system.collections.concurrent@4.3.0 -system.collections.immutable@5.0.0 -system.collections.immutable@7.0.0 -system.collections@4.3.0 -system.configuration.configurationmanager@4.4.0 -system.diagnostics.debug@4.3.0 -system.diagnostics.diagnosticsource@5.0.1 -system.diagnostics.diagnosticsource@7.0.0 -system.diagnostics.tracing@4.3.0 -system.globalization.calendars@4.3.0 -system.globalization.extensions@4.3.0 -system.globalization@4.3.0 -system.io.abstractions.testinghelpers@20.0.4 -system.io.abstractions@20.0.4 -system.io.filesystem.primitives@4.3.0 -system.io.filesystem@4.3.0 -system.io.pipelines@5.0.1 -system.io@4.3.0 -system.linq@4.3.0 -system.management@5.0.0 -system.memory@4.5.1 -system.memory@4.5.3 -system.memory@4.5.4 -system.memory@4.5.5 -system.net.http@4.3.4 -system.net.primitives@4.3.0 -system.net.websockets@4.3.0 -system.numerics.vectors@4.4.0 -system.private.uri@4.3.0 -system.reflection.emit.ilgeneration@4.6.0 -system.reflection.emit.ilgeneration@4.7.0 -system.reflection.emit.lightweight@4.6.0 -system.reflection.emit@4.7.0 -system.reflection.metadata@1.6.0 -system.reflection.metadata@5.0.0 -system.reflection.primitives@4.3.0 -system.reflection@4.3.0 -system.resources.resourcemanager@4.3.0 -system.runtime.compilerservices.unsafe@4.5.2 -system.runtime.compilerservices.unsafe@4.5.3 -system.runtime.compilerservices.unsafe@4.7.1 -system.runtime.compilerservices.unsafe@5.0.0 -system.runtime.compilerservices.unsafe@6.0.0 -system.runtime.extensions@4.3.0 -system.runtime.handles@4.3.0 -system.runtime.interopservices@4.3.0 -system.runtime.numerics@4.3.0 -system.runtime@4.3.0 -system.runtime@4.3.1 -system.security.accesscontrol@5.0.0 -system.security.cryptography.algorithms@4.3.0 -system.security.cryptography.cng@4.3.0 -system.security.cryptography.csp@4.3.0 -system.security.cryptography.encoding@4.3.0 -system.security.cryptography.openssl@4.3.0 -system.security.cryptography.primitives@4.3.0 -system.security.cryptography.protecteddata@4.4.0 -system.security.cryptography.x509certificates@4.3.0 -system.security.principal.windows@5.0.0 -system.text.encoding.codepages@4.5.1 -system.text.encoding.extensions@4.3.0 -system.text.encoding@4.3.0 -system.threading.tasks.dataflow@5.0.0 -system.threading.tasks.extensions@4.5.4 -system.threading.tasks@4.3.0 -system.threading@4.3.0 -testableio.system.io.abstractions.testinghelpers@20.0.4 -testableio.system.io.abstractions.wrappers@20.0.4 -testableio.system.io.abstractions@20.0.4 -thoth.json.net@8.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}.git" -else - SRC_URI="https://github.com/fsprojects/${PN}/archive/v${PV}.tar.gz - -> ${P}.tar.gz" - - KEYWORDS="~amd64" -fi - -SRC_URI+=" ${NUGET_URIS} " - -FCS_COMMIT="050271d631956a4e0d0484a583d38236b727a46d" -SRC_URI+=" - https://github.com/dotnet/fsharp/archive/${FCS_COMMIT}.tar.gz - -> fsharp-${FCS_COMMIT}.tar.gz -" - -LICENSE="MIT" -SLOT="0" - -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 "src/${test_project}/${test_project}.fsproj" \ - -p:RollForward=Major - done -} diff --git a/dev-dotnet/fantomas/fantomas-6.3.9.ebuild b/dev-dotnet/fantomas/fantomas-6.3.9.ebuild new file mode 100644 index 000000000000..f5b9efc1723e --- /dev/null +++ b/dev-dotnet/fantomas/fantomas-6.3.9.ebuild @@ -0,0 +1,293 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DOTNET_PKG_COMPAT=8.0 +NUGETS=" +dotnet-fsharplint@0.19.2 +fantomas@6.3.0 +fsdocs-tool@20.0.0 +fsharp-analyzers@0.25.0 + +argu@6.2.4 +cliwrap@3.6.4 +commandlineparser@2.9.1 +dotnet.reproduciblebuilds@1.1.1 +editorconfig@0.15.0 +fable.core@3.0.0 +fparsec@1.1.1 +fscheck@2.16.5 +fsharp.analyzers.build@0.3.0 +fsharp.core@5.0.1 +fsharp.core@6.0.7 +fsharp.core@8.0.101 +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.2.0 +fslexyacc@11.2.0 +fsunit@6.0.0 +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.1.50 +ionide.analyzers@0.9.0 +ionide.keepachangelog.tasks@0.1.8 +ionide.keepachangelog@0.1.8 +messagepack.annotations@2.2.85 +messagepack@2.2.85 +microsoft.bcl.asyncinterfaces@1.1.0 +microsoft.bcl.asyncinterfaces@5.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.8.0 +microsoft.diagnostics.netcore.client@0.2.251802 +microsoft.diagnostics.runtime@2.2.332302 +microsoft.diagnostics.tracing.traceevent@3.0.2 +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.test.sdk@17.8.0 +microsoft.netcore.platforms@1.1.0 +microsoft.netcore.platforms@1.1.1 +microsoft.netcore.platforms@2.1.2 +microsoft.netcore.platforms@5.0.0 +microsoft.netcore.targets@1.1.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.8.0 +microsoft.testplatform.testhost@17.8.0 +microsoft.visualstudio.threading.analyzers@16.9.60 +microsoft.visualstudio.threading@16.9.60 +microsoft.visualstudio.validation@15.5.31 +microsoft.visualstudio.validation@16.8.33 +microsoft.win32.primitives@4.3.0 +microsoft.win32.registry@5.0.0 +nerdbank.streams@2.6.81 +netstandard.library@2.0.3 +newtonsoft.json@11.0.2 +newtonsoft.json@12.0.2 +newtonsoft.json@13.0.1 +nuget.frameworks@6.5.0 +nunit3testadapter@4.5.0 +nunit@4.0.1 +perfolizer@0.2.1 +runtime.any.system.collections@4.3.0 +runtime.any.system.diagnostics.tracing@4.3.0 +runtime.any.system.globalization.calendars@4.3.0 +runtime.any.system.globalization@4.3.0 +runtime.any.system.io@4.3.0 +runtime.any.system.reflection.primitives@4.3.0 +runtime.any.system.reflection@4.3.0 +runtime.any.system.resources.resourcemanager@4.3.0 +runtime.any.system.runtime.handles@4.3.0 +runtime.any.system.runtime.interopservices@4.3.0 +runtime.any.system.runtime@4.3.0 +runtime.any.system.text.encoding.extensions@4.3.0 +runtime.any.system.text.encoding@4.3.0 +runtime.any.system.threading.tasks@4.3.0 +runtime.debian.8-x64.runtime.native.system.security.cryptography.openssl@4.3.2 +runtime.fedora.23-x64.runtime.native.system.security.cryptography.openssl@4.3.2 +runtime.fedora.24-x64.runtime.native.system.security.cryptography.openssl@4.3.2 +runtime.native.system.net.http@4.3.0 +runtime.native.system.security.cryptography.apple@4.3.0 +runtime.native.system.security.cryptography.openssl@4.3.2 +runtime.native.system@4.3.0 +runtime.opensuse.13.2-x64.runtime.native.system.security.cryptography.openssl@4.3.2 +runtime.opensuse.42.1-x64.runtime.native.system.security.cryptography.openssl@4.3.2 +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.2 +runtime.rhel.7-x64.runtime.native.system.security.cryptography.openssl@4.3.2 +runtime.ubuntu.14.04-x64.runtime.native.system.security.cryptography.openssl@4.3.2 +runtime.ubuntu.16.04-x64.runtime.native.system.security.cryptography.openssl@4.3.2 +runtime.ubuntu.16.10-x64.runtime.native.system.security.cryptography.openssl@4.3.2 +runtime.unix.microsoft.win32.primitives@4.3.0 +runtime.unix.system.diagnostics.debug@4.3.0 +runtime.unix.system.io.filesystem@4.3.0 +runtime.unix.system.net.primitives@4.3.0 +runtime.unix.system.private.uri@4.3.0 +runtime.unix.system.runtime.extensions@4.3.0 +semanticversion@2.1.0 +semanticversioning@2.0.2 +serilog.sinks.console@5.0.1 +serilog@3.1.1 +serilogtracelistener@3.2.1-dev-00011 +spectre.console@0.46.0 +spectre.console@0.48.0 +streamjsonrpc@2.8.28 +system.buffers@4.3.0 +system.buffers@4.5.1 +system.codedom@5.0.0 +system.collections.concurrent@4.3.0 +system.collections.immutable@5.0.0 +system.collections.immutable@7.0.0 +system.collections@4.3.0 +system.configuration.configurationmanager@4.4.0 +system.diagnostics.debug@4.3.0 +system.diagnostics.diagnosticsource@5.0.1 +system.diagnostics.diagnosticsource@7.0.0 +system.diagnostics.tracing@4.3.0 +system.globalization.calendars@4.3.0 +system.globalization.extensions@4.3.0 +system.globalization@4.3.0 +system.io.abstractions.testinghelpers@20.0.4 +system.io.abstractions@20.0.4 +system.io.filesystem.primitives@4.3.0 +system.io.filesystem@4.3.0 +system.io.pipelines@5.0.1 +system.io@4.3.0 +system.linq@4.3.0 +system.management@5.0.0 +system.memory@4.5.1 +system.memory@4.5.3 +system.memory@4.5.4 +system.memory@4.5.5 +system.net.http@4.3.4 +system.net.primitives@4.3.0 +system.net.websockets@4.3.0 +system.numerics.vectors@4.4.0 +system.private.uri@4.3.0 +system.reflection.emit.ilgeneration@4.6.0 +system.reflection.emit.ilgeneration@4.7.0 +system.reflection.emit.lightweight@4.6.0 +system.reflection.emit@4.7.0 +system.reflection.metadata@1.6.0 +system.reflection.metadata@5.0.0 +system.reflection.primitives@4.3.0 +system.reflection@4.3.0 +system.resources.resourcemanager@4.3.0 +system.runtime.compilerservices.unsafe@4.5.2 +system.runtime.compilerservices.unsafe@4.5.3 +system.runtime.compilerservices.unsafe@4.7.1 +system.runtime.compilerservices.unsafe@5.0.0 +system.runtime.compilerservices.unsafe@6.0.0 +system.runtime.extensions@4.3.0 +system.runtime.handles@4.3.0 +system.runtime.interopservices@4.3.0 +system.runtime.numerics@4.3.0 +system.runtime@4.3.0 +system.runtime@4.3.1 +system.security.accesscontrol@5.0.0 +system.security.cryptography.algorithms@4.3.0 +system.security.cryptography.cng@4.3.0 +system.security.cryptography.csp@4.3.0 +system.security.cryptography.encoding@4.3.0 +system.security.cryptography.openssl@4.3.0 +system.security.cryptography.primitives@4.3.0 +system.security.cryptography.protecteddata@4.4.0 +system.security.cryptography.x509certificates@4.3.0 +system.security.principal.windows@5.0.0 +system.text.encoding.codepages@4.5.1 +system.text.encoding.extensions@4.3.0 +system.text.encoding@4.3.0 +system.threading.tasks.dataflow@5.0.0 +system.threading.tasks.extensions@4.5.4 +system.threading.tasks@4.3.0 +system.threading@4.3.0 +testableio.system.io.abstractions.testinghelpers@20.0.4 +testableio.system.io.abstractions.wrappers@20.0.4 +testableio.system.io.abstractions@20.0.4 +thoth.json.net@8.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}.git" +else + SRC_URI="https://github.com/fsprojects/${PN}/archive/v${PV}.tar.gz + -> ${P}.tar.gz" + + KEYWORDS="~amd64" +fi + +SRC_URI+=" ${NUGET_URIS} " + +FCS_COMMIT="050271d631956a4e0d0484a583d38236b727a46d" +SRC_URI+=" + https://github.com/dotnet/fsharp/archive/${FCS_COMMIT}.tar.gz + -> fsharp-${FCS_COMMIT}.tar.gz +" + +LICENSE="MIT" +SLOT="0" + +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 "src/${test_project}/${test_project}.fsproj" \ + -p:RollForward=Major + done +} -- cgit v1.2.3