diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-06-01 00:07:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-06-01 00:07:06 +0100 |
commit | 1551fe56fd6ba43a94509cffc61b6bf854b7ac9f (patch) | |
tree | be99b6ceb874878a108d68c641b476a2df076517 /dev-dotnet | |
parent | 0e2a727aba684f1a44cc0402a3f77d242140681b (diff) |
gentoo auto-resync : 01:06:2024 - 00:07:06
Diffstat (limited to 'dev-dotnet')
-rw-r--r-- | dev-dotnet/Manifest.gz | bin | 3790 -> 3788 bytes | |||
-rw-r--r-- | dev-dotnet/fantomas/Manifest | 4 | ||||
-rw-r--r-- | dev-dotnet/fantomas/fantomas-6.3.5.ebuild | 293 |
3 files changed, 297 insertions, 0 deletions
diff --git a/dev-dotnet/Manifest.gz b/dev-dotnet/Manifest.gz Binary files differindex 0ce4c5e61e74..8c0ae697dbd7 100644 --- a/dev-dotnet/Manifest.gz +++ b/dev-dotnet/Manifest.gz diff --git a/dev-dotnet/fantomas/Manifest b/dev-dotnet/fantomas/Manifest index 77ba52543e79..f8548201f499 100644 --- a/dev-dotnet/fantomas/Manifest +++ b/dev-dotnet/fantomas/Manifest @@ -1,4 +1,5 @@ DIST argu.6.1.1.nupkg 176453 BLAKE2B da26d429cf3624b6170775871315ff784ea676b413d7014b7e42d84a2f6417bbe40d95103f958d2cac014f3545c4cf55b487a3718f16b37f646e136157d164bc SHA512 79dd4ddd1328867c52e78318b8c80fcf7efaea15c8b58dcbd7622b3dacd9f85f025cf2a4c7257ea7cc55916984e4d0e746112f696a6d46106b5ecb4af43852ff +DIST argu.6.2.4.nupkg 185561 BLAKE2B 3fd4501ceb4a95ed9bf4452638f04b12164e0af62f8c1b4b6e53f47b213409b051409c57372f9d7d6f35792fb1ad883514c8eefb68e53650bbd61eee34f08418 SHA512 39bd4b2ef19cde810738d914d48fb38d900e8047dffcef908368f2ac38c350c3d8b685e9645a5f58c1e427e30a410e6836826025ca3dafa65fb9252f43add568 DIST cliwrap.3.6.4.nupkg 488300 BLAKE2B 969c38c6bb345217893d0f712004484e772ab527ea3557682fd3f847b0b18ddf3725586e26f7495b0ce15f4b94d280cce48b30bf1502ce0732311e94b98d70dd SHA512 41b90ac6840fc0c03269c7cc729cf7203573cfa038dd818a0e43d865fdd828e83e815a765303124154f6dc91904e23a9b9774e7a28fac694978414c35f0735ec DIST commandlineparser.2.9.1.nupkg 496069 BLAKE2B e2c4b38841f83d6bc10432b8055af90369f1fe0a10105a58b51b44cd48e5d84cb0b5e4b19f444d8c81b38646a62c7c4d11cbd710e92fea68be3ebea6ab98e3f1 SHA512 4f364e45c9668c7e7cc6a922b488f3fa523033c20d7a432694f0a6af05ce528ea0481d8375e2f4f1032c6990347b4803ce9a0e48068c6fe15ec46fb1254f085d DIST dotnet-fsharplint.0.19.2.nupkg 10590252 BLAKE2B 203441a4b2b39310c7925c56b3dceb6d8926f868a89f9fe6453addaff7595e80358eefb28cccc165bcbb002cb114adc6ff1010ee51e9e3ec936fe46aa36ecee2 SHA512 c6d861002ab925b45feb5a61c756d5585187f9a2ae8eb90611721d3ad65bae68f8ee3a74b9fdb8978fecbd40fa39f06e013f3f99459de582c140160211000a5f @@ -7,6 +8,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.1.tar.gz 50369658 BLAKE2B 1b9014a8c28bc5951a85ae2e12dc167c0dd79156a36aea43ca9c4e9434433f19325baf6a88063b84e8ac7995cf4e586001eeeefacdaf1966872e86ce6b4bd4ef SHA512 67c739a3f203f992ba1690a226248fe3f947598ef08cffa8219148a30c360bd63eb98944129a62b60bda4d0cc27cc7e39841e305bfc49aeaf94fa7529d29ab32 DIST fantomas-6.3.4.tar.gz 50374419 BLAKE2B 4da6367c872c4d69686353d4ec48a3bf613ba46ba68ada858ae2068206b10c15d019dd353963b4b7464ba3f0b00e4887f3ede1f644a5b6b6e459df7cb50982e2 SHA512 fa3284a548193ca0f28f45662955c66750bfbd5cc1d52b86851a9e7cddf00cc6bf7b458b6ab7feedd698d40bf8c90927a558753c394c9d2accfc782f7af8d0f8 +DIST fantomas-6.3.5.tar.gz 50374978 BLAKE2B 06d84381abdffdad4b6e11f8df7b7c26919fa77303d6f981325d0390a25bab2ec3964b4508d8fdaf57938ecd8266641d842b38af3a52543f7561808639703e1f SHA512 e065c9eea6044b8e1e41ec1553a0c5b4eb03ffc09f585125105b44787efe580ebca1eab0f11b4dec57c67cef6ffa6739d946b801fcbaef96906d17cc823a8766 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 @@ -17,6 +19,7 @@ DIST fsharp-analyzers.0.25.0.nupkg 17775447 BLAKE2B 71c843ccc197310dcf847527acca 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.data.6.3.0.nupkg 1111473 BLAKE2B 5b276c2941775d473378d41ca0b6703bf2935ad5e7b05cfbf426040d08746d27ed91ee3b0a4705004ffe32f21b8f29251c6ac2e2c5e535fcab9959d527801919 SHA512 36c68ee32d04a827f1cc20b791610f57bfe11b759ba360086e67ba853fd6d58c41442e7b809f8b86228a190c971af124888e81762acdeb5a3ec5800885a96c59 DIST fsharp.data.csv.core.6.3.0.nupkg 67178 BLAKE2B 102790a41ad996233bf68127358f67e4e4dddc172a9aa11e8a6e9d727645c5ccabc0a79c963b09b129330cb6b020425d6f29b359029c7d6b03c21cb798377f38 SHA512 c1774dbcfad0e85a3b5e62d21e87069a870db0a18443f0449dda769b0e0cf4349df2a3443d4e3cad76f7e86b2ac67f4510969938d15d0683e44dd5d669db4f9f @@ -207,4 +210,5 @@ DIST testableio.system.io.abstractions.wrappers.20.0.4.nupkg 382173 BLAKE2B 7d54 DIST thoth.json.net.8.0.0.nupkg 172424 BLAKE2B 4c8e822c24add902b9ff56709a6e81c73bc70726ebb652a59276afed68c8ea06271c0c477631feb7c87f4959584098fbbbec5d4f805476ccaa9640587ac8d977 SHA512 159c93fcfbfd1f9a9dae976c2373dcd7fd64a9e332b8b8ea8ad32b6b5b43ccae94fc81fc6fa1fd006d8ff969e909b29492b35878780443b729214f367521e001 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.5.ebuild 9007 BLAKE2B 94f088d64899394839bb22e89c990e9268af0432be274ae0074489746c564b0f6a89a48288d14ebfbfb807b484ad35e2ee526530e99d6213ae24e18648afd6c2 SHA512 e7a614d7b3e0126526a73dfd8f0d2aabf002fe3bfd9232939ef883a411d332c8163e34aede97858fe4e06aa7315309f4643fb18d0ce5fb8cb5ad6e66da32c665 MISC metadata.xml 579 BLAKE2B 820d0e9c7adaacf5a8a8aa5bc0c8fa93c1738923e7ae902f5f64f7fa45ba9d0c8e34db7dbe4bd6ced70a70c49a789fb5931aa5b6553825a7fd889bc7ed560a51 SHA512 e5d7080a05c00b2de1f90f557162a9bc6e78937b2750a98d33c476e0b7a6d41047003260a147c1d54c23e6968fcee70e25e3b3f9406c4b89f9ec9049fdd33a51 diff --git a/dev-dotnet/fantomas/fantomas-6.3.5.ebuild b/dev-dotnet/fantomas/fantomas-6.3.5.ebuild new file mode 100644 index 000000000000..f5b9efc1723e --- /dev/null +++ b/dev-dotnet/fantomas/fantomas-6.3.5.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 +} |