summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-dotnet/nake/nake-3.0.0-r1.ebuild')
-rw-r--r--dev-dotnet/nake/nake-3.0.0-r1.ebuild21
1 files changed, 18 insertions, 3 deletions
diff --git a/dev-dotnet/nake/nake-3.0.0-r1.ebuild b/dev-dotnet/nake/nake-3.0.0-r1.ebuild
index d53aa6edb188..1bb3c912094c 100644
--- a/dev-dotnet/nake/nake-3.0.0-r1.ebuild
+++ b/dev-dotnet/nake/nake-3.0.0-r1.ebuild
@@ -268,9 +268,24 @@ src_unpack() {
}
src_prepare() {
- rm Source/Nake.Tests/Multi_level_caching.cs \
- Source/Nake.Tests/Nuget_references.cs \
- Source/Utility.Tests/ShellFixture.cs || die
+ local -a bad_tests=(
+ Source/Nake.Tests/Environment_variable_interpolation.cs
+ Source/Nake.Tests/Loading_other_scripts.cs
+ Source/Nake.Tests/Multi_level_caching.cs
+ Source/Nake.Tests/Nuget_references.cs
+ Source/Utility.Tests/ShellFixture.cs
+ )
+ rm "${bad_tests[@]}" || die
+
+ cat << EOF > NuGet.Config || die
+<?xml version="1.0" encoding="utf-8"?>
+<configuration>
+<packageSources>
+<clear />
+<add key="nuget" value="${NUGET_PACKAGES}" />
+</packageSources>
+</configuration>
+EOF
dotnet-pkg_src_prepare
}