commit:     248cc52ebb999321f6fb1a4c4df928c123211563
Author:     ArsenShnurkov <Arsen.Shnurkov <AT> gmail <DOT> com>
AuthorDate: Wed Aug 19 13:24:05 2015 +0000
Commit:     Heather Cynede <cynede <AT> gentoo <DOT> org>
CommitDate: Wed Aug 19 13:24:05 2015 +0000
URL:        https://gitweb.gentoo.org/proj/dotnet.git/commit/?id=248cc52e

add nunit-console-runner.dll to gac for 2.6.4

 dev-dotnet/nunit/nunit-2.6.4-r201501110.ebuild       | 13 +++++++++++--
 dev-dotnet/nunit/nunit-3.0.0_beta3-r201508190.ebuild |  4 ++--
 2 files changed, 13 insertions(+), 4 deletions(-)

diff --git a/dev-dotnet/nunit/nunit-2.6.4-r201501110.ebuild 
b/dev-dotnet/nunit/nunit-2.6.4-r201501110.ebuild
index 28e38d3..be37514 100644
--- a/dev-dotnet/nunit/nunit-2.6.4-r201501110.ebuild
+++ b/dev-dotnet/nunit/nunit-2.6.4-r201501110.ebuild
@@ -19,7 +19,7 @@ LICENSE="BSD" # actually not, it is NUnit license - 
http://nunit.org/nuget/licen
 KEYWORDS="~amd64 ~ppc ~x86"
 #USE_DOTNET="net20 net40 net45"
 USE_DOTNET="net45"
-IUSE="developer nupkg debug doc net45"
+IUSE="net45 developer debug gac nupkg doc"
 
 #USE="${USE} net45 " dev-dotnet/nunit/nunit-2.6.4-r201501110.ebuild: Ebuild 
contains assignment to read-only variable on line: 23
 FRAMEWORK=4.5 # force it in another way
@@ -47,7 +47,6 @@ src_compile() {
 }
 
 src_install() {
-       DIR=""
        if use debug; then
                DIR="Debug"
        else
@@ -66,6 +65,16 @@ src_install() {
 #      dobin ${FILESDIR}/nunit-console
        make_wrapper nunit264 "mono ${SLOTTEDDIR}/nunit-console.exe"
 
+       if use gac; then
+               if use debug; then
+                       DIR="Debug"
+               else
+                       DIR="Release"
+               fi
+
+               egacinstall "${S}/bin/${DIR}/lib/nunit-console-runner.dll"
+       fi
+
        if use doc; then
 #              dodoc ${WORKDIR}/doc/*.txt
 #              dohtml ${WORKDIR}/doc/*.html

diff --git a/dev-dotnet/nunit/nunit-3.0.0_beta3-r201508190.ebuild 
b/dev-dotnet/nunit/nunit-3.0.0_beta3-r201508190.ebuild
index 25cc4fa..d278773 100644
--- a/dev-dotnet/nunit/nunit-3.0.0_beta3-r201508190.ebuild
+++ b/dev-dotnet/nunit/nunit-3.0.0_beta3-r201508190.ebuild
@@ -19,9 +19,9 @@ LICENSE="MIT" # 
https://github.com/nunit/nunit/blob/master/LICENSE.txt
 KEYWORDS="~amd64 ~ppc ~x86"
 #USE_DOTNET="net20 net40 net45"
 USE_DOTNET="net45"
-IUSE="developer nupkg debug doc net45"
+IUSE="net45 developer debug nupkg doc"
 
-USE="${USE} net45" # dev-dotnet/nunit/nunit-3.0.0_beta3-r201508190.ebuild: 
Ebuild contains assignment to read-only variable on line: 23
+#USE="${USE} net45" # dev-dotnet/nunit/nunit-3.0.0_beta3-r201508190.ebuild: 
Ebuild contains assignment to read-only variable on line: 23
 FRAMEWORK=4.5 # force it another way
 
 RDEPEND=">=dev-lang/mono-4.0.2.5

Reply via email to