diff options
Diffstat (limited to 'dev-dotnet/cake/cake-6.0.0.ebuild')
| -rw-r--r-- | dev-dotnet/cake/cake-6.0.0.ebuild | 147 |
1 files changed, 147 insertions, 0 deletions
diff --git a/dev-dotnet/cake/cake-6.0.0.ebuild b/dev-dotnet/cake/cake-6.0.0.ebuild new file mode 100644 index 000000000000..a57c26460e84 --- /dev/null +++ b/dev-dotnet/cake/cake-6.0.0.ebuild @@ -0,0 +1,147 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DOTNET_PKG_COMPAT="10.0" +NUGETS=" +argon@0.27.0 +argon@0.32.0 +autofac@8.4.0 +basic.reference.assemblies.net100@1.8.3 +basic.reference.assemblies.net80@1.8.3 +basic.reference.assemblies.net90@1.8.3 +castle.core@5.2.1 +diffengine@15.11.0 +diffengine@16.8.0 +diffplex@1.7.2 +emptyfiles@8.15.0 +microsoft.applicationinsights@2.23.0 +microsoft.bcl.asyncinterfaces@6.0.0 +microsoft.bcl.asyncinterfaces@9.0.10 +microsoft.codeanalysis.analyzers@3.11.0 +microsoft.codeanalysis.common@4.11.0 +microsoft.codeanalysis.common@5.0.0-2.final +microsoft.codeanalysis.csharp.scripting@5.0.0-2.final +microsoft.codeanalysis.csharp@5.0.0-2.final +microsoft.codeanalysis.scripting.common@5.0.0-2.final +microsoft.codecoverage@18.0.1 +microsoft.extensions.dependencyinjection.abstractions@10.0.0 +microsoft.extensions.dependencyinjection.abstractions@8.0.0 +microsoft.extensions.dependencyinjection.abstractions@8.0.2 +microsoft.extensions.dependencyinjection.abstractions@9.0.11 +microsoft.extensions.dependencyinjection@10.0.0 +microsoft.extensions.dependencyinjection@8.0.1 +microsoft.extensions.dependencyinjection@9.0.11 +microsoft.extensions.logging.abstractions@8.0.0 +microsoft.extensions.timeprovider.testing@10.0.0 +microsoft.identitymodel.abstractions@8.14.0 +microsoft.identitymodel.jsonwebtokens@8.14.0 +microsoft.identitymodel.logging@8.14.0 +microsoft.identitymodel.tokens@8.14.0 +microsoft.net.test.sdk@18.0.1 +microsoft.netcore.platforms@7.0.4 +microsoft.testing.extensions.telemetry@1.9.0 +microsoft.testing.extensions.trxreport.abstractions@1.9.0 +microsoft.testing.platform.msbuild@1.9.0 +microsoft.testing.platform@1.9.0 +microsoft.testplatform.objectmodel@18.0.1 +microsoft.testplatform.testhost@18.0.1 +microsoft.win32.registry@5.0.0 +namotion.reflection@3.4.2 +newtonsoft.json@13.0.4 +njsonschema.annotations@11.4.0 +njsonschema@11.4.0 +nsubstitute@5.3.0 +nuget.common@6.14.0 +nuget.configuration@6.14.0 +nuget.frameworks@6.14.0 +nuget.packaging@6.14.0 +nuget.protocol@6.14.0 +nuget.resolver@6.14.0 +nuget.versioning@6.14.0 +opencli.sources@0.5.0 +simpleinfoname@3.1.0 +simpleinfoname@3.1.2 +spectre.console.cli@0.53.0 +spectre.console.testing@0.53.0 +spectre.console@0.53.0 +spectre.verify.extensions@28.16.0 +stylecop.analyzers@1.1.118 +system.codedom@8.0.0 +system.collections.immutable@9.0.0 +system.diagnostics.eventlog@6.0.0 +system.io.hashing@9.0.3 +system.management@8.0.0 +system.reflection.metadata@9.0.0 +system.security.cryptography.pkcs@10.0.0 +system.security.cryptography.pkcs@8.0.1 +system.security.cryptography.pkcs@9.0.11 +system.security.cryptography.protecteddata@4.4.0 +system.valuetuple@4.6.1 +verify.diffplex@3.1.2 +verify.xunitv3@31.5.3 +verify@27.0.0 +verify@28.16.0 +verify@31.5.3 +xunit.abstractions@2.0.3 +xunit.analyzers@1.18.0 +xunit.analyzers@1.25.0 +xunit.assert@2.9.3 +xunit.core@2.9.3 +xunit.extensibility.core@2.9.3 +xunit.extensibility.execution@2.9.3 +xunit.runner.visualstudio@3.1.5 +xunit.v3.assert@3.2.0 +xunit.v3.common@3.2.0 +xunit.v3.core.mtp-v1@3.2.0 +xunit.v3.extensibility.core@3.2.0 +xunit.v3.mtp-v1@3.2.0 +xunit.v3.runner.common@3.2.0 +xunit.v3.runner.inproc.console@3.2.0 +xunit.v3@3.2.0 +xunit@2.9.3 +" + +inherit dotnet-pkg + +DESCRIPTION="Cake (C# Make) is a cross platform build automation system with a C# DSL" +HOMEPAGE="https://cakebuild.net/ + https://github.com/cake-build/cake/" + +if [[ "${PV}" == *9999* ]] ; then + inherit git-r3 + + EGIT_REPO_URI="https://github.com/cake-build/${PN}" +else + SRC_URI="https://github.com/cake-build/${PN}/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz" + + KEYWORDS="~amd64" +fi + +SRC_URI+=" ${NUGET_URIS} " + +LICENSE="Apache-2.0 BSD MIT" +SLOT="0" + +DOTNET_PKG_PROJECTS=( src/Cake ) +DOCS=( README.md ReleaseNotes.md SECURITY.md ) + +src_unpack() { + dotnet-pkg_src_unpack + + if [[ -n "${EGIT_REPO_URI}" ]] ; then + git-r3_src_unpack + fi +} + +src_prepare() { + dotnet-pkg_src_prepare + + sed -i \ + -e "s|net.*;net9.0|net${DOTNET_PKG_COMPAT}|" \ + src/Shared.msbuild \ + tests/integration/Cake.Frosting/build/Build.csproj \ + || die +} |
