Gentoo Archives: gentoo-commits

From: Mikhail Pukhlikov <cynede@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/dotnet:master commit in: dev-dotnet/system-web-razor/
Date: Wed, 31 Aug 2016 08:31:52
Message-Id: 1472594852.bc45c70cd67fc7986a550b1b2350c7557a492d7a.cynede@gentoo
1 commit: bc45c70cd67fc7986a550b1b2350c7557a492d7a
2 Author: ArsenShnurkov <Arsen.Shnurkov <AT> gmail <DOT> com>
3 AuthorDate: Tue Aug 30 22:07:32 2016 +0000
4 Commit: Mikhail Pukhlikov <cynede <AT> gentoo <DOT> org>
5 CommitDate: Tue Aug 30 22:07:32 2016 +0000
6 URL: https://gitweb.gentoo.org/proj/dotnet.git/commit/?id=bc45c70c
7
8 repoman fixes
9
10 .../system-web-razor-3.2.3_p2014092400.ebuild | 26 +++++++++++-----------
11 1 file changed, 13 insertions(+), 13 deletions(-)
12
13 diff --git a/dev-dotnet/system-web-razor/system-web-razor-3.2.3_p2014092400.ebuild b/dev-dotnet/system-web-razor/system-web-razor-3.2.3_p2014092400.ebuild
14 index 46efc4d..e084cf9 100644
15 --- a/dev-dotnet/system-web-razor/system-web-razor-3.2.3_p2014092400.ebuild
16 +++ b/dev-dotnet/system-web-razor/system-web-razor-3.2.3_p2014092400.ebuild
17 @@ -52,20 +52,20 @@ src_prepare() {
18
19 patch_nuspec_file()
20 {
21 - if use nupkg; then
22 - if use debug; then
23 - DIR="Debug"
24 - else
25 - DIR="Release"
26 + if use nupkg; then
27 + if use debug; then
28 + DIR="Debug"
29 + else
30 + DIR="Release"
31 + fi
32 + FILES_STRING=`sed 's/[\/&]/\\\\&/g' <<-EOF || die "escaping replacement string characters"
33 + <files> <!-- https://docs.nuget.org/create/nuspec-reference -->
34 + <file src="${DLL_PATH}/${DIR}/${DLL_NAME}.dll*" target="lib/net45/" />
35 + </files>
36 + EOF
37 + `
38 + sed -i 's/<\/package>/'"${FILES_STRING//$'\n'/\\$'\n'}"'\n&/g' $1 || die "escaping line endings"
39 fi
40 - FILES_STRING=`sed 's/[\/&]/\\\\&/g' <<-EOF || die "escaping replacement string characters"
41 - <files> <!-- https://docs.nuget.org/create/nuspec-reference -->
42 - <file src="${DLL_PATH}/${DIR}/${DLL_NAME}.dll*" target="lib/net45/" />
43 - </files>
44 - EOF
45 - `
46 - sed -i 's/<\/package>/'"${FILES_STRING//$'\n'/\\$'\n'}"'\n&/g' $1 || die "escaping line endings"
47 - fi
48 }
49
50 src_compile() {