commit:     5809ffff382a46bd8f577f96e0950556eba9a88a
Author:     ArsenShnurkov <Arsen.Shnurkov <AT> gmail <DOT> com>
AuthorDate: Wed Jul 27 00:51:18 2016 +0000
Commit:     Heather Cynede <cynede <AT> gentoo <DOT> org>
CommitDate: Wed Jul 27 00:51:18 2016 +0000
URL:        https://gitweb.gentoo.org/proj/dotnet.git/commit/?id=5809ffff

remove tests project from solution

 dev-dotnet/libgit2sharp/files/sln.patch          | 27 ++++++++++++++++++++++++
 dev-dotnet/libgit2sharp/libgit2sharp-0.22.ebuild |  5 +++++
 2 files changed, 32 insertions(+)

diff --git a/dev-dotnet/libgit2sharp/files/sln.patch 
b/dev-dotnet/libgit2sharp/files/sln.patch
new file mode 100644
index 0000000..239b21e
--- /dev/null
+++ b/dev-dotnet/libgit2sharp/files/sln.patch
@@ -0,0 +1,27 @@
+--- a/LibGit2Sharp.sln
++++ b/LibGit2Sharp.sln
+@@ -2,13 +2,6 @@
+ Microsoft Visual Studio Solution File, Format Version 11.00
+ # Visual Studio 2010
+ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LibGit2Sharp", 
"LibGit2Sharp\LibGit2Sharp.csproj", "{EE6ED99F-CB12-4683-B055-D28FC7357A34}"
+-EndProject
+-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LibGit2Sharp.Tests", 
"LibGit2Sharp.Tests\LibGit2Sharp.Tests.csproj", 
"{286E63EB-04DD-4ADE-88D6-041B57800761}"
+-EndProject
+-Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".nuget", ".nuget", 
"{19D079A4-A273-4630-B2D2-79EADE3E7CA1}"
+-      ProjectSection(SolutionItems) = preProject
+-              .nuget\packages.config = .nuget\packages.config
+-      EndProjectSection
+ EndProject
+ Global
+       GlobalSection(SolutionConfigurationPlatforms) = preSolution
+@@ -20,10 +13,6 @@
+               {EE6ED99F-CB12-4683-B055-D28FC7357A34}.Debug|Any CPU.Build.0 = 
Debug|Any CPU
+               {EE6ED99F-CB12-4683-B055-D28FC7357A34}.Release|Any 
CPU.ActiveCfg = Release|Any CPU
+               {EE6ED99F-CB12-4683-B055-D28FC7357A34}.Release|Any CPU.Build.0 
= Release|Any CPU
+-              {286E63EB-04DD-4ADE-88D6-041B57800761}.Debug|Any CPU.ActiveCfg 
= Debug|Any CPU
+-              {286E63EB-04DD-4ADE-88D6-041B57800761}.Debug|Any CPU.Build.0 = 
Debug|Any CPU
+-              {286E63EB-04DD-4ADE-88D6-041B57800761}.Release|Any 
CPU.ActiveCfg = Release|Any CPU
+-              {286E63EB-04DD-4ADE-88D6-041B57800761}.Release|Any CPU.Build.0 
= Release|Any CPU
+       EndGlobalSection
+       GlobalSection(SolutionProperties) = preSolution
+               HideSolutionNode = FALSE

diff --git a/dev-dotnet/libgit2sharp/libgit2sharp-0.22.ebuild 
b/dev-dotnet/libgit2sharp/libgit2sharp-0.22.ebuild
index afbc3e5..5ac150e 100644
--- a/dev-dotnet/libgit2sharp/libgit2sharp-0.22.ebuild
+++ b/dev-dotnet/libgit2sharp/libgit2sharp-0.22.ebuild
@@ -35,3 +35,8 @@ RDEPEND="${CDEPEND}"
 src_unpack() {
     nuget restore ${S}/LibGit2Sharp.sln || die
 }
+
+src_prepare() {
+       eapply "${FILESDIR}/sln.patch"
+       default
+}

Reply via email to