commit:     0a1761dd2786f7584780d6df8c9bab19bafc30a9
Author:     sam <sam <AT> cmpct <DOT> info>
AuthorDate: Mon Jul 31 21:27:51 2017 +0000
Commit:     Mikhail Pukhlikov <cynede <AT> gentoo <DOT> org>
CommitDate: Mon Jul 31 21:34:04 2017 +0000
URL:        https://gitweb.gentoo.org/proj/dotnet.git/commit/?id=0a1761dd

dev-dotnet/smartirc4net: fix 1.0 ebuild

 dev-dotnet/smartirc4net/files/1.0-no-tests.patch | 11 ++++++++++
 dev-dotnet/smartirc4net/smartirc4net-1.0.ebuild  | 28 +++++++++++++++++-------
 2 files changed, 31 insertions(+), 8 deletions(-)

diff --git a/dev-dotnet/smartirc4net/files/1.0-no-tests.patch 
b/dev-dotnet/smartirc4net/files/1.0-no-tests.patch
new file mode 100644
index 0000000..14af066
--- /dev/null
+++ b/dev-dotnet/smartirc4net/files/1.0-no-tests.patch
@@ -0,0 +1,11 @@
+--- SmartIrc4net.sln   2015-07-24 10:08:01.000000000 +0100
++++ SmartIrc4net.new   2017-07-31 01:57:00.141310413 +0100
+@@ -11,8 +11,6 @@
+ EndProject
+ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "StarkSoftProxy", 
"src\starksoftproxy\StarkSoftProxy.csproj", 
"{3F8CF2C1-EA37-444F-8693-A3A00B1131D2}"
+ EndProject
+-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "tests", 
"tests\tests.csproj", "{154D83B3-A162-4886-B358-6188DBE376D7}"
+-EndProject
+ Global
+       GlobalSection(SolutionConfigurationPlatforms) = preSolution
+               Release|Any CPU = Release|Any CPU

diff --git a/dev-dotnet/smartirc4net/smartirc4net-1.0.ebuild 
b/dev-dotnet/smartirc4net/smartirc4net-1.0.ebuild
index 37e036b..06a8239 100644
--- a/dev-dotnet/smartirc4net/smartirc4net-1.0.ebuild
+++ b/dev-dotnet/smartirc4net/smartirc4net-1.0.ebuild
@@ -2,12 +2,15 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=5
-inherit mono-env
+EAPI=6
+inherit mono-env dotnet autotools git-r3
 
 HOMEPAGE="http://www.smuxi.org/page/Download";
-#SRC_URI="http://smuxi.meebey.net/jaws/data/files/${P}.tar.gz";
-SRC_URI="https://github.com/meebey/SmartIrc4net/archive/${PV}.tar.gz";
+EGIT_REPO_URI="https://github.com/meebey/SmartIrc4net";
+# https://github.com/meebey/SmartIrc4net/releases/tag/1.0
+EGIT_COMMIT="921371612b7498e48857aa45d7e37ad4819dbadf"
+
+SRC_URI="https://github.com/meebey/SmartIrc4net/archive/${PV}.tar.gz -> 
${P}.tar.gz"
 DESCRIPTION="Multi-threaded and thread-safe IRC library written in C#"
 
 SLOT="0"
@@ -16,10 +19,19 @@ IUSE=""
 LICENSE="|| ( LGPL-2.1 LGPL-3 )"
 
 RDEPEND=">=dev-lang/mono-4.0.2.5
-       sys-fs/fuse"
+        sys-fs/fuse"
 DEPEND="${RDEPEND}
-       virtual/pkgconfig"
+    virtual/pkgconfig"
+
+src_prepare() {
+    default
 
-DOCS=( README )
+    eapply_user
+    # Cannot compile NUnit (2017-07-31)
+    epatch "${FILESDIR}/${PV}-no-tests.patch"
+    AT_M4DIR="${S}" eautoreconf
+}
 
-S=${WORKDIR}/cloudfuse-${PV}
+src_compile() {
+    exbuild SmartIrc4net.sln
+}

Reply via email to