Gentoo Archives: gentoo-commits

From: Heather Cynede <cynede@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/dotnet:master commit in: dev-dotnet/libgit2sharp/, dev-dotnet/libgit2sharp/files/
Date: Wed, 27 Jul 2016 06:39:45
Message-Id: 1469580678.5809ffff382a46bd8f577f96e0950556eba9a88a.cynede@gentoo
1 commit: 5809ffff382a46bd8f577f96e0950556eba9a88a
2 Author: ArsenShnurkov <Arsen.Shnurkov <AT> gmail <DOT> com>
3 AuthorDate: Wed Jul 27 00:51:18 2016 +0000
4 Commit: Heather Cynede <cynede <AT> gentoo <DOT> org>
5 CommitDate: Wed Jul 27 00:51:18 2016 +0000
6 URL: https://gitweb.gentoo.org/proj/dotnet.git/commit/?id=5809ffff
7
8 remove tests project from solution
9
10 dev-dotnet/libgit2sharp/files/sln.patch | 27 ++++++++++++++++++++++++
11 dev-dotnet/libgit2sharp/libgit2sharp-0.22.ebuild | 5 +++++
12 2 files changed, 32 insertions(+)
13
14 diff --git a/dev-dotnet/libgit2sharp/files/sln.patch b/dev-dotnet/libgit2sharp/files/sln.patch
15 new file mode 100644
16 index 0000000..239b21e
17 --- /dev/null
18 +++ b/dev-dotnet/libgit2sharp/files/sln.patch
19 @@ -0,0 +1,27 @@
20 +--- a/LibGit2Sharp.sln
21 ++++ b/LibGit2Sharp.sln
22 +@@ -2,13 +2,6 @@
23 + Microsoft Visual Studio Solution File, Format Version 11.00
24 + # Visual Studio 2010
25 + Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LibGit2Sharp", "LibGit2Sharp\LibGit2Sharp.csproj", "{EE6ED99F-CB12-4683-B055-D28FC7357A34}"
26 +-EndProject
27 +-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LibGit2Sharp.Tests", "LibGit2Sharp.Tests\LibGit2Sharp.Tests.csproj", "{286E63EB-04DD-4ADE-88D6-041B57800761}"
28 +-EndProject
29 +-Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".nuget", ".nuget", "{19D079A4-A273-4630-B2D2-79EADE3E7CA1}"
30 +- ProjectSection(SolutionItems) = preProject
31 +- .nuget\packages.config = .nuget\packages.config
32 +- EndProjectSection
33 + EndProject
34 + Global
35 + GlobalSection(SolutionConfigurationPlatforms) = preSolution
36 +@@ -20,10 +13,6 @@
37 + {EE6ED99F-CB12-4683-B055-D28FC7357A34}.Debug|Any CPU.Build.0 = Debug|Any CPU
38 + {EE6ED99F-CB12-4683-B055-D28FC7357A34}.Release|Any CPU.ActiveCfg = Release|Any CPU
39 + {EE6ED99F-CB12-4683-B055-D28FC7357A34}.Release|Any CPU.Build.0 = Release|Any CPU
40 +- {286E63EB-04DD-4ADE-88D6-041B57800761}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
41 +- {286E63EB-04DD-4ADE-88D6-041B57800761}.Debug|Any CPU.Build.0 = Debug|Any CPU
42 +- {286E63EB-04DD-4ADE-88D6-041B57800761}.Release|Any CPU.ActiveCfg = Release|Any CPU
43 +- {286E63EB-04DD-4ADE-88D6-041B57800761}.Release|Any CPU.Build.0 = Release|Any CPU
44 + EndGlobalSection
45 + GlobalSection(SolutionProperties) = preSolution
46 + HideSolutionNode = FALSE
47
48 diff --git a/dev-dotnet/libgit2sharp/libgit2sharp-0.22.ebuild b/dev-dotnet/libgit2sharp/libgit2sharp-0.22.ebuild
49 index afbc3e5..5ac150e 100644
50 --- a/dev-dotnet/libgit2sharp/libgit2sharp-0.22.ebuild
51 +++ b/dev-dotnet/libgit2sharp/libgit2sharp-0.22.ebuild
52 @@ -35,3 +35,8 @@ RDEPEND="${CDEPEND}"
53 src_unpack() {
54 nuget restore ${S}/LibGit2Sharp.sln || die
55 }
56 +
57 +src_prepare() {
58 + eapply "${FILESDIR}/sln.patch"
59 + default
60 +}