diff options
author | Maciej Barć <xgqt@gentoo.org> | 2024-10-29 23:40:27 +0100 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2024-10-30 00:22:17 +0100 |
commit | 8a502ae6a21295dfd824fd1544a4a749a2c71f5a (patch) | |
tree | ec165818830de2e128cbb958a5db726195570362 /dev-dotnet | |
parent | dev-dotnet/fantomas: drop old 6.3.12 (diff) | |
download | gentoo-8a502ae6a21295dfd824fd1544a4a749a2c71f5a.tar.gz gentoo-8a502ae6a21295dfd824fd1544a4a749a2c71f5a.tar.bz2 gentoo-8a502ae6a21295dfd824fd1544a4a749a2c71f5a.zip |
dev-dotnet/fantomas: bump to 6.3.16
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'dev-dotnet')
-rw-r--r-- | dev-dotnet/fantomas/Manifest | 3 | ||||
-rw-r--r-- | dev-dotnet/fantomas/fantomas-6.3.16.ebuild | 295 |
2 files changed, 298 insertions, 0 deletions
diff --git a/dev-dotnet/fantomas/Manifest b/dev-dotnet/fantomas/Manifest index d153e57e11f2..314e2563c92b 100644 --- a/dev-dotnet/fantomas/Manifest +++ b/dev-dotnet/fantomas/Manifest @@ -7,6 +7,7 @@ DIST editorconfig.0.15.0.nupkg 110720 BLAKE2B 68a997f808b18a05aece36cf3f6f37c817 DIST fable.core.3.0.0.nupkg 88115 BLAKE2B 5c5a18b6aa818db35b9ee8502f109477a7c86a12efcae9359f1d70aaa7e33ddcef32daf6c33d7b1c71aa83984bc3c110dbae0bad11edf3049503ee602b405175 SHA512 705f01b68ac1c03d71d03e3a7183e032ba45033da49942a98614d515d6ab7d4d308dff84eaf941625bbf44fbac496e1a28510d81a3e802713c3e92079aed2023 DIST fantomas-6.3.13.tar.gz 50377869 BLAKE2B d27128083c6a470f918eb79a16689072799e7c815fa94308bb3875aa31696f0a02a8d64aae49d6aabb412ab30a7417a1975b14788670bddc310f11969cce1176 SHA512 9df96649a555d8d51c4f859fbfb2f83d07eb0bf05ebbc01ca3bacf5f5c231e4a1e9dd8bdd5a9618db70123ca8c0c1b9156a897de0efe3288fc4577777aeafde3 DIST fantomas-6.3.15.tar.gz 50378027 BLAKE2B c6f2c4639acd2cdc0f3c28f3f33a45cb3a562c7b8819fd65a3adf7bae9bd28810aa910397cb8d3e5eeff7e98134d04f1a5373970c2c167d96509f4ad0c8e8132 SHA512 ee566eeeeddf6ca0b55fbf8f6dd4d7e2401bbaf4995bc57f176250939b05916ffa34b87dfebea40723950628722e19da8ca3222f9e4941a7da975283bf58e43a +DIST fantomas-6.3.16.tar.gz 50378072 BLAKE2B d053f320770ebf0477590b3500964d6a259d32061d2c80c2da09cbac9c4ea25f6333abe7a7f0d61813eea9dcea7fd8964591bb2f4b1453be61a775fa2bac89d4 SHA512 bd67aaf31ee8db5d4aa5f95606012bca6f9c232bf29fdd79b5decf9a658e8ae993d2031461bba70b893e754c78457bb5d8efcfbf87d4c1b4e6b7e5dd99bdc53f DIST fantomas.6.3.9.nupkg 5937066 BLAKE2B 04db0dda7bea16a55caeeb53e936b90d1d8000ed490f8178e5eea5fe2aea194b5259cc559389d5bcf5f18a7ab432cca31ee5bb8db181cee1c92c3183556818be SHA512 555580cac2748278c99f5188e1c246a5cf6dbd865b257a1d9f75e09f30dbde599b401f6b4a56f0e62734a4206a00af871a048b35a6e8e8b2ba3c881d4527173e DIST fparsec.1.1.1.nupkg 353063 BLAKE2B 47e93d6ed373bcf3fd5c26ace2d60a1e6701b14bb4cbca1650bc15bfd0dce402ea8c8ad471004dfe618f0e9507ec60c53d7e01ead2e7480ececfc4a0395552ff SHA512 b28a1cc8a4fd2d4b000adf68b0a9ffb6aa72ec2cdd5157beb47635346122ac61f6dac0e0b06de8528ed7336e21e9881918fd18d36585507ebefb3336c57b6c76 DIST fscheck.2.16.5.nupkg 1202407 BLAKE2B 0da4c276a6e0a1c68f0513a2e1c65291adfe527d89eb005a684937f895d9040d0bfcf5e8c657c6fc112fbfb9b889e4a6c010a0f92789796d0166d93d624a147a SHA512 a1bcecd7c86bd5598d585071c54b404fa8db4d9ed744562dbd83023a6b28b27eaff703353370f127f28bd8dcc6bfd6689640bdd177f5e947a9fbe5353e454367 @@ -15,8 +16,10 @@ DIST fsharp-836d4e0603442d6053c8d439993a022501cae494.tar.gz 17221818 BLAKE2B 972 DIST fsharp-analyzers.0.25.0.nupkg 17775447 BLAKE2B 71c843ccc197310dcf847527acca3b7fa9ef5af1912bcafa31c0f76f8f2af91728547fbf8e5ab870f9bb2881e4e34bd35356183804f7cd7e0ea70a3c261425dd SHA512 2aa601f7d02aa1943751ed89477f9a52fe267f1a8f53002b976dce434b55fbc0e2228283b51640c767522d9b6dd7f89554d5addee4c3696add0c845a8b95f138 DIST fsharp.analyzers.build.0.3.0.nupkg 15911 BLAKE2B 64d63679503b16b541537fd4482c47cd384628bd7ca70f6ad771b93bb11554b82605c2827a0facc8dc5917b196548bc739f989d5ae7899e3b0673df5da50620f SHA512 f07cbbcfaca9ae92285d143ae303adbb95fedd15cca256f278fe4adefb7c8c7e810f74d7ff53bb50dcffbd3408f9350baddb925c6b39ff1a10814eddda7045fd DIST fsharp.core.5.0.1.nupkg 1327145 BLAKE2B 59030ab01c542beab3fd7b4bea7ff2ad125fd7e5343395c4d9754010372a31894b50a7046a821a8485e0890f29b1e0781e96250f62dfc9b3baa260229489f75c SHA512 94d2a60b6765163e583c1816d633b806a06c19c2f2fd1bbcbed52beb726a8a6d604e325a4b73b159a437abc306598140f0f4768deb4f38c2687b1e0329972c67 +DIST fsharp.core.6.0.1.nupkg 2787770 BLAKE2B 9d26c9b261991dfcd92b68b88553021652866378e14ab2c9be7bbb854369aae9eaa2a08f3ef60c9a1fe3427150d39892caf00b9e64d255f558098df5c21659b5 SHA512 906ef89a64493324500c2586d9658b0ca12512e434c7f5e7c1bf5a4c8f3f37fd3fc180e3b32597309f8a44ac4d554d9c785b6f936cff192407766916d3123edd DIST fsharp.core.6.0.7.nupkg 2982295 BLAKE2B c2e822436b22f74a7ad7dbe7206ac62532682674dd91e8e4a359a1b0e61fd7c2b65c32df018ac34a4be64390eaf6daa3264ec434ca502f68e2b2d5795cfcb17b SHA512 6baf356beffca30aa5fc2d90ef03ec39a0bc395e3804e793f0ebced125a470ef6a2ea6fce5f844204ccac8493b29300384e68af67ffcc615171204bfa3ea64a2 DIST fsharp.core.8.0.101.nupkg 2815743 BLAKE2B 54475a65e883909d0a2b7c5adc6f1042f5b0efa1fb64788250c3e8e77c6cd3fc9d5b83ae45ede9a3ba19304510a75ec1ea6446a8e8c9bcd1a8e2b56c426e2481 SHA512 fc20fa5fd10f64faf93f141bc52c1901a6d705b41ce527a0bf78155f87cd39188d2c3bb27cbdd184cb623f118c4e5194a46e41621671bf62a01ca7e89dea7423 +DIST fsharp.core.8.0.102.nupkg 2818627 BLAKE2B dde51615fefcef7b6c57135035eb6fbc5832a2a0bd4e4b2587aa8c347743c379c62e695a903bc8a3b599e6ef6cd501b84bc5f43980705055d8a46b8ded99c6fa SHA512 b7840eda7bb6745b8af9c6cdcf3a0e23cb64ad4691bc81a388895c48fb641b0d2cdcf0fa37fea2ea63069763bc3a45316cb91be9be7d92cd15819afa54fc02a4 DIST fsharp.data.6.3.0.nupkg 1111473 BLAKE2B 5b276c2941775d473378d41ca0b6703bf2935ad5e7b05cfbf426040d08746d27ed91ee3b0a4705004ffe32f21b8f29251c6ac2e2c5e535fcab9959d527801919 SHA512 36c68ee32d04a827f1cc20b791610f57bfe11b759ba360086e67ba853fd6d58c41442e7b809f8b86228a190c971af124888e81762acdeb5a3ec5800885a96c59 DIST fsharp.data.csv.core.6.3.0.nupkg 67178 BLAKE2B 102790a41ad996233bf68127358f67e4e4dddc172a9aa11e8a6e9d727645c5ccabc0a79c963b09b129330cb6b020425d6f29b359029c7d6b03c21cb798377f38 SHA512 c1774dbcfad0e85a3b5e62d21e87069a870db0a18443f0449dda769b0e0cf4349df2a3443d4e3cad76f7e86b2ac67f4510969938d15d0683e44dd5d669db4f9f DIST fsharp.data.html.core.6.3.0.nupkg 174715 BLAKE2B 7ef9f8360e0a4a1891501e6a040462bbf0e665960cd5d76247f2b3867b6af9082aafd80cdcd08d30902bfb94b5e26222d40af0a1eb9bfd9c73e6dc4b73b62644 SHA512 4b8139c63cfdd23ba73fc57f333dee373f40108387d9794872e97bc75d38fe23aa9e7dc792d2e42240d832d067dbd94d10ad07473edaac79ffe06e6efa779d34 diff --git a/dev-dotnet/fantomas/fantomas-6.3.16.ebuild b/dev-dotnet/fantomas/fantomas-6.3.16.ebuild new file mode 100644 index 000000000000..bb9cda083428 --- /dev/null +++ b/dev-dotnet/fantomas/fantomas-6.3.16.ebuild @@ -0,0 +1,295 @@ +# Copyright 1999-2024 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@6.3.9 +fsdocs-tool@21.0.0-beta-002 +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.1 +fsharp.core@8.0.102 +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} " + +# See file "Directory.Build.props" -> tag "FCSCommitHash". +FCS_COMMIT="836d4e0603442d6053c8d439993a022501cae494" +SRC_URI+=" + https://github.com/dotnet/fsharp/archive/${FCS_COMMIT}.tar.gz + -> fsharp-${FCS_COMMIT}.tar.gz +" + +LICENSE="Apache-2.0 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 "${S}/src/${test_project}" -p:RollForward=Major + done +} |