public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Heather Cynede" <cynede@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/dotnet:master commit in: dev-dotnet/nuget/
Date: Thu, 28 May 2015 04:26:44 +0000 (UTC)	[thread overview]
Message-ID: <1432722122.111c8910fdefd5e503e0f2a954270d2e156a8809.cynede@gentoo> (raw)

commit:     111c8910fdefd5e503e0f2a954270d2e156a8809
Author:     Binyamin Sagal <bensagal <AT> gmail <DOT> com>
AuthorDate: Wed May 27 10:22:02 2015 +0000
Commit:     Heather Cynede <cynede <AT> gentoo <DOT> org>
CommitDate: Wed May 27 10:22:02 2015 +0000
URL:        https://gitweb.gentoo.org/proj/dotnet.git/commit/?id=111c8910

Add nuget-2.8.3

 dev-dotnet/nuget/nuget-2.8.3.ebuild | 63 +++++++++++++++++++++++++++++++++++++
 1 file changed, 63 insertions(+)

diff --git a/dev-dotnet/nuget/nuget-2.8.3.ebuild b/dev-dotnet/nuget/nuget-2.8.3.ebuild
new file mode 100644
index 0000000..5cd6082
--- /dev/null
+++ b/dev-dotnet/nuget/nuget-2.8.3.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="5"
+USE_DOTNET="net45"
+
+inherit dotnet eutils
+
+DESCRIPTION="Nuget - .NET Package Manager"
+HOMEPAGE="http://nuget.codeplex.com"
+SRC_URI="https://github.com/mrward/nuget/archive/Release-${PV}-MonoDevelop.tar.gz -> ${P}.tar.gz"
+S=${WORKDIR}/nuget-Release-${PV}-MonoDevelop
+
+LICENSE="Apache-2.0"
+SLOT="0"
+
+KEYWORDS="x86 amd64"
+IUSE=""
+
+# Mask 3.2.0 because of mcs compiler bug : http://stackoverflow.com/a/17926731/238232
+# it fixed in 3.2.3
+DEPEND=">=dev-lang/mono-3.2.3
+	<=dev-dotnet/xdt-for-monodevelop-2.8.2
+	!dev-dotnet/nuget"
+RDEPEND="${DEPEND}"
+
+# note about blocking nuget:
+# there are at least two versions of it - on from mono, one from mrward
+# see https://bugzilla.xamarin.com/show_bug.cgi?id=27693
+# i think version from mrward is enough for now, 
+# that is why there is no slotted install or two different names/locations
+
+pkg_setup() {
+	dotnet_pkg_setup
+	mozroots --import --sync --machine
+}
+
+src_prepare() {
+	sed -i -e 's@RunTests@ @g' "${S}/Build/Build.proj" || die
+	cp "${FILESDIR}/rsa-4096.snk" "${S}/src/Core/" || die
+	epatch "${FILESDIR}/add-keyfile-option-to-csproj.patch"
+	sed -i -E -e "s#(\[assembly: InternalsVisibleTo(.*)\])#/* \1 */#g" "src/Core/Properties/AssemblyInfo.cs" || die
+	epatch "${FILESDIR}/strongnames-for-ebuild-2.8.1.patch"
+}
+
+src_configure() {
+	export EnableNuGetPackageRestore="true"
+}
+
+src_compile() {
+#	xbuild Build/Build.proj /p:Configuration=Release /p:TreatWarningsAsErrors=false /tv:4.0 /p:TargetFrameworkVersion="v${FRAMEWORK}" /p:Configuration="Mono Release" /t:GoMono || die
+	source ./build.sh || die
+}
+
+src_install() {
+	elog "Installing NuGet.Core.dll into GAC"
+	egacinstall "src/Core/obj/Mono Release/NuGet.Core.dll"
+	elog "Installing NuGet console application"
+	insinto /usr/lib/mono/NuGet/"${FRAMEWORK}"/
+	doins src/CommandLine/obj/Mono\ Release/NuGet.exe
+	make_wrapper nuget "mono /usr/lib/mono/NuGet/${FRAMEWORK}/NuGet.exe"
+}


             reply	other threads:[~2015-05-28  4:26 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-28  4:26 Heather Cynede [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-08-03  7:57 [gentoo-commits] proj/dotnet:master commit in: dev-dotnet/nuget/ Mikhail Pukhlikov
2016-07-21  6:18 Heather Cynede
2015-09-30 15:20 Heather Cynede
2015-08-10 11:54 Heather Cynede
2015-07-09  4:32 Heather Cynede
2015-04-10 15:22 Heather Cynede
2015-01-11  7:42 Heather Cynede

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1432722122.111c8910fdefd5e503e0f2a954270d2e156a8809.cynede@gentoo \
    --to=cynede@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox