diff options
Diffstat (limited to 'dev-dotnet')
-rw-r--r-- | dev-dotnet/Manifest.gz | bin | 3795 -> 3795 bytes | |||
-rw-r--r-- | dev-dotnet/fantomas/Manifest | 2 | ||||
-rw-r--r-- | dev-dotnet/fantomas/fantomas-6.3.12.ebuild | 293 |
3 files changed, 295 insertions, 0 deletions
diff --git a/dev-dotnet/Manifest.gz b/dev-dotnet/Manifest.gz Binary files differindex 9580e3a51c85..95a4e652f61b 100644 --- a/dev-dotnet/Manifest.gz +++ b/dev-dotnet/Manifest.gz diff --git a/dev-dotnet/fantomas/Manifest b/dev-dotnet/fantomas/Manifest index cc1ec3cfe9f4..e22accc07623 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.10.tar.gz 50376693 BLAKE2B 88797d62f99e3ada271a267f0c9f34f0f944f66907e9ecf6ed3622894803aa700e80bfed90d4ca8e988f5e212e2f944a951ef1846e2e963d9c51d89b4e688a9e SHA512 29286aa34a0d230c4336b2156a2338d5651c2de2fe6efb5a2e38b260045f3d4edc0ed8e9640e57c05e3c4c8092698d0527402a87056d09d1c8c4e82346861ac7 DIST fantomas-6.3.11.tar.gz 50376857 BLAKE2B bf8586c519da6d8c71db6a58bedf93b63a27c4f8a479b272409e37ca5d84acc453e0e22acc10c0ab1df8b519a812f676c796e93f8110105797a052f105385adf SHA512 d77fab3a4fac5c9dfe76e1a02dae939f411d02e91694384da3e374d54112301ea76536f8159dffcf832a87bebcd13a77d0623ae347b0740ece16e5a76dd0711a +DIST fantomas-6.3.12.tar.gz 50377421 BLAKE2B 7192b0220bd177f67988622dca82618ba2590976cfc0402e87ea6be0643661a50551db30b31d46d677119531682a559755eb79cb81384daccb0c119bbda0d91f SHA512 ef74d4b97404f2f21c7e2742ebc8fe351c252b9ae334a0acb13f004b08b3b4bcc9e3d3b90ba8519750a6f076d8cc2e941a271cb237d6559f14a50ecb731615ba 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 @@ -206,4 +207,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.10.ebuild 9015 BLAKE2B ef668eb0de9a292bf4dad9491b1571a551bff89691b605d355b50336aa95b2dabeb0b60d413efb600a87e9d6ddaf829e85a643d66f689d61f386a10482275be0 SHA512 38e5c18073dc9ac3ed1ba57f96a494dab4b2eb5f601fab2f1eca3fa9af77135463889831e0d3025fed944a7a8d1add77ac51668290ed8427c4e32563cfeb07ef EBUILD fantomas-6.3.11.ebuild 9016 BLAKE2B 9cd1642be140e74ce50228ebbc774444597025611c5385cec09637369b7590b2955f14ebb1bf4616893af1cecfce87d8f17ba95a3a3ac1e7b42d051c34a66e0b SHA512 916c51fed570d0334cded3a80aaf5769ee5af3a300229637b8db79411364d86a1d2da14a13908f5b768f5f336027ace645ba9edf9a36c1ffafa7ee1674041ccf +EBUILD fantomas-6.3.12.ebuild 9016 BLAKE2B 9cd1642be140e74ce50228ebbc774444597025611c5385cec09637369b7590b2955f14ebb1bf4616893af1cecfce87d8f17ba95a3a3ac1e7b42d051c34a66e0b SHA512 916c51fed570d0334cded3a80aaf5769ee5af3a300229637b8db79411364d86a1d2da14a13908f5b768f5f336027ace645ba9edf9a36c1ffafa7ee1674041ccf MISC metadata.xml 579 BLAKE2B 820d0e9c7adaacf5a8a8aa5bc0c8fa93c1738923e7ae902f5f64f7fa45ba9d0c8e34db7dbe4bd6ced70a70c49a789fb5931aa5b6553825a7fd889bc7ed560a51 SHA512 e5d7080a05c00b2de1f90f557162a9bc6e78937b2750a98d33c476e0b7a6d41047003260a147c1d54c23e6968fcee70e25e3b3f9406c4b89f9ec9049fdd33a51 diff --git a/dev-dotnet/fantomas/fantomas-6.3.12.ebuild b/dev-dotnet/fantomas/fantomas-6.3.12.ebuild new file mode 100644 index 000000000000..21dfb03e2b5c --- /dev/null +++ b/dev-dotnet/fantomas/fantomas-6.3.12.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.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.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="836d4e0603442d6053c8d439993a022501cae494" +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 +} |