public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Mikhail Pukhlikov" <cynede@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/dotnet:master commit in: eclass/
Date: Sun, 13 Nov 2016 14:14:11 +0000 (UTC)	[thread overview]
Message-ID: <1479031856.9b1a87b06f7f7de87b6a9696506b98c493ecdf03.cynede@gentoo> (raw)

commit:     9b1a87b06f7f7de87b6a9696506b98c493ecdf03
Author:     ArsenShnurkov <Arsen.Shnurkov <AT> gmail <DOT> com>
AuthorDate: Sun Nov 13 10:10:56 2016 +0000
Commit:     Mikhail Pukhlikov <cynede <AT> gentoo <DOT> org>
CommitDate: Sun Nov 13 10:10:56 2016 +0000
URL:        https://gitweb.gentoo.org/proj/dotnet.git/commit/?id=9b1a87b0

NUSPEC_PROPS variable added

 eclass/nupkg.eclass | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/eclass/nupkg.eclass b/eclass/nupkg.eclass
index ccf3983..33770cf 100644
--- a/eclass/nupkg.eclass
+++ b/eclass/nupkg.eclass
@@ -79,14 +79,17 @@ enuget_restore() {
 # accepts path to .nuspec file as parameter
 enuspec() {
 	if use nupkg; then
+		if [ -n "${NUSPEC_PROPERTIES}" ]; then
+			NUSPEC_PROPERTIES+=';'
+		fi
 		# see http://docs.nuget.org/create/nuspec-reference#specifying-files-to-include-in-the-package
 		# for the explaination why $configuration$ property is passed
 		if use debug; then
-			PROPS=configuration=Debug
+			NUSPEC_PROPERTIES+="configuration=Debug"
 		else
-			PROPS=configuration=Release
+			NUSPEC_PROPERTIES+="configuration=Release"
 		fi
-		nuget pack -Properties "${PROPS}" -BasePath "${S}" -OutputDirectory "${WORKDIR}" -NonInteractive -Verbosity detailed "$@" || die
+		nuget pack -Properties "${NUSPEC_PROPERTIES}" -BasePath "${S}" -OutputDirectory "${WORKDIR}" -NonInteractive -Verbosity detailed "$@" || die
 	fi
 }
 


             reply	other threads:[~2016-11-13 14:14 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-13 14:14 Mikhail Pukhlikov [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-10-30  6:44 [gentoo-commits] proj/dotnet:master commit in: eclass/ Mikhail Pukhlikov
2016-10-04  6:14 Mikhail Pukhlikov
2016-08-19 16:12 Mikhail Pukhlikov
2016-08-19 16:12 Mikhail Pukhlikov
2016-08-19 16:12 Mikhail Pukhlikov
2016-08-17  9:44 Mikhail Pukhlikov
2016-07-31  8:52 Mikhail Pukhlikov
2015-10-17  6:40 Heather Cynede
2015-10-17  6:40 Heather Cynede
2015-09-19 10:59 Heather Cynede
2015-09-19 10:59 Heather Cynede
2015-08-22 16:46 Heather Cynede
2015-08-18  8:01 Heather Cynede
2015-08-18  7:56 Heather Cynede
2015-08-17 13:55 Heather Cynede
2015-08-17 13:55 Heather Cynede
2015-08-13  8:14 Heather Cynede
2015-08-05 17:16 Heather Cynede
2015-06-25  7:04 Heather Cynede
2013-09-23 18:38 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=1479031856.9b1a87b06f7f7de87b6a9696506b98c493ecdf03.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