Gentoo Archives: gentoo-commits

From: Heather Cynede <cynede@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/dotnet:master commit in: dev-dotnet/dotnet-cli/
Date: Thu, 14 Jul 2016 06:29:16
Message-Id: 1468417351.60a692c9508306c2127a2b632ff8770c664e017c.cynede@gentoo
1 commit: 60a692c9508306c2127a2b632ff8770c664e017c
2 Author: Ben Sagal <bsagal <AT> gmail <DOT> com>
3 AuthorDate: Wed Jul 13 13:42:31 2016 +0000
4 Commit: Heather Cynede <cynede <AT> gentoo <DOT> org>
5 CommitDate: Wed Jul 13 13:42:31 2016 +0000
6 URL: https://gitweb.gentoo.org/proj/dotnet.git/commit/?id=60a692c9
7
8 Fix repoman warnings
9
10 .../dotnet-cli-1.0.0_pre2_p003121.ebuild | 122 ++++++++++-----------
11 1 file changed, 60 insertions(+), 62 deletions(-)
12
13 diff --git a/dev-dotnet/dotnet-cli/dotnet-cli-1.0.0_pre2_p003121.ebuild b/dev-dotnet/dotnet-cli/dotnet-cli-1.0.0_pre2_p003121.ebuild
14 index 0211db9..a943f58 100644
15 --- a/dev-dotnet/dotnet-cli/dotnet-cli-1.0.0_pre2_p003121.ebuild
16 +++ b/dev-dotnet/dotnet-cli/dotnet-cli-1.0.0_pre2_p003121.ebuild
17 @@ -20,30 +20,30 @@ CORE_V=${PV%%_*}
18 CORECLR_N=coreclr-${CORE_V}
19 COREFX_N=corefx-${CORE_V}
20
21 -DESCRIPTION="A command line utility for building, testing, packaging and running .NET Core applications and libraries"
22 +DESCRIPTION=".NET Core cli utility for building, testing, packaging and running projects"
23 HOMEPAGE="https://www.microsoft.com/net/core"
24 LICENSE="MIT"
25
26 IUSE=""
27 SRC_URI="https://github.com/dotnet/coreclr/archive/v${CORE_V}.tar.gz -> ${CORECLR_N}.tar.gz
28 - https://github.com/dotnet/corefx/archive/v${CORE_V}.tar.gz -> ${COREFX_N}.tar.gz
29 - https://download.microsoft.com/download/1/5/2/1523EBE1-3764-4328-8961-D1BD8ECA9295/dotnet-dev-${DIST}.${MY_PV}.tar.gz"
30 + https://github.com/dotnet/corefx/archive/v${CORE_V}.tar.gz -> ${COREFX_N}.tar.gz
31 + https://download.microsoft.com/download/1/5/2/1523EBE1-3764-4328-8961-D1BD8ECA9295/dotnet-dev-${DIST}.${MY_PV}.tar.gz"
32
33 SLOT="0"
34 KEYWORDS="~amd64"
35
36 RDEPEND="
37 - >=sys-devel/llvm-3.7.1-r3[lldb]
38 - >=sys-libs/libunwind-1.1-r1
39 - >=dev-libs/icu-57.1
40 - >=dev-util/lttng-ust-2.8.1
41 - >=dev-libs/openssl-1.0.2h-r2
42 - >=net-misc/curl-7.49.0"
43 + >=sys-devel/llvm-3.7.1-r3[lldb]
44 + >=sys-libs/libunwind-1.1-r1
45 + >=dev-libs/icu-57.1
46 + >=dev-util/lttng-ust-2.8.1
47 + >=dev-libs/openssl-1.0.2h-r2
48 + >=net-misc/curl-7.49.0"
49 DEPEND="${RDEPEND}
50 - >=dev-util/cmake-3.3.1-r1
51 - >=sys-devel/make-4.1-r1
52 - >=sys-devel/clang-3.7.1-r100
53 - >=sys-devel/gettext-0.19.7"
54 + >=dev-util/cmake-3.3.1-r1
55 + >=sys-devel/make-4.1-r1
56 + >=sys-devel/clang-3.7.1-r100
57 + >=sys-devel/gettext-0.19.7"
58
59 PATCHES=(
60 "${FILESDIR}/${CORECLR_N}-icu57-commit-352df35.patch"
61 @@ -57,69 +57,67 @@ CORECLR_S="${S}/${CORECLR_N}"
62 COREFX_S="${S}/${COREFX_N}"
63
64 CORECLR_FILES=(
65 - 'libclrjit.so'
66 - 'libcoreclr.so'
67 - 'libcoreclrtraceptprovider.so'
68 - 'libdbgshim.so'
69 - 'libmscordaccore.so'
70 - 'libmscordbi.so'
71 - 'libsos.so'
72 - 'libsosplugin.so'
73 - 'System.Globalization.Native.so'
74 + 'libclrjit.so'
75 + 'libcoreclr.so'
76 + 'libcoreclrtraceptprovider.so'
77 + 'libdbgshim.so'
78 + 'libmscordaccore.so'
79 + 'libmscordbi.so'
80 + 'libsos.so'
81 + 'libsosplugin.so'
82 + 'System.Globalization.Native.so'
83 )
84
85 COREFX_FILES=(
86 - 'System.IO.Compression.Native.so'
87 - 'System.Native.a'
88 - 'System.Native.so'
89 - 'System.Net.Http.Native.so'
90 - 'System.Net.Security.Native.so'
91 - 'System.Security.Cryptography.Native.so'
92 + 'System.IO.Compression.Native.so'
93 + 'System.Native.a'
94 + 'System.Native.so'
95 + 'System.Net.Http.Native.so'
96 + 'System.Net.Security.Native.so'
97 + 'System.Security.Cryptography.Native.so'
98 )
99
100 src_unpack() {
101 - unpack "${CORECLR_N}.tar.gz" "${COREFX_N}.tar.gz"
102 - mkdir "${CLI_S}" || die
103 - cd "${CLI_S}" || die
104 - unpack "dotnet-dev-${DIST}.${MY_PV}.tar.gz"
105 + unpack "${CORECLR_N}.tar.gz" "${COREFX_N}.tar.gz"
106 + mkdir "${CLI_S}" || die
107 + cd "${CLI_S}" || die
108 + unpack "dotnet-dev-${DIST}.${MY_PV}.tar.gz"
109 }
110
111 src_prepare() {
112 - for file in "${CORECLR_FILES[@]}"; do
113 - rm "${CLI_S}/shared/Microsoft.NETCore.App/${CORE_V}/${file}"
114 - done
115 - for file in "${COREFX_FILES[@]}"; do
116 - rm "${CLI_S}/shared/Microsoft.NETCore.App/${CORE_V}/${file}"
117 - done
118 - default_src_prepare
119 + for file in "${CORECLR_FILES[@]}"; do
120 + rm "${CLI_S}/shared/Microsoft.NETCore.App/${CORE_V}/${file}"
121 + done
122 + for file in "${COREFX_FILES[@]}"; do
123 + rm "${CLI_S}/shared/Microsoft.NETCore.App/${CORE_V}/${file}"
124 + done
125 + default_src_prepare
126 }
127
128 src_compile() {
129 - cd "${S}/${CORECLR_N}" || die
130 - ./build.sh x64 release || die
131 + cd "${S}/${CORECLR_N}" || die
132 + ./build.sh x64 release || die
133
134 - cd "${S}/${COREFX_N}" || die
135 - ./build.sh native x64 release || die
136 + cd "${S}/${COREFX_N}" || die
137 + ./build.sh native x64 release || die
138 }
139
140 -
141 src_install() {
142 -
143 - local dest="/opt/dotnet_cli"
144 - local ddest="${D}/${dest}"
145 - local ddest_core="${ddest}/shared/Microsoft.NETCore.App/${CORE_V}/"
146 -
147 - dodir "${dest}"
148 - cp -pPR "${CLI_S}"/* "${ddest}" || die
149 -
150 - for file in "${CORECLR_FILES[@]}"; do
151 - cp -pP "${CORECLR_S}/bin/Product/Linux.x64.Release/${file}" "${ddest_core}" || die
152 - done
153 -
154 - for file in "${COREFX_FILES[@]}"; do
155 - cp -pP "${COREFX_N}/bin/Linux.x64.Release/Native/${file}" "${ddest_core}" || die
156 - done
157 -
158 - dosym "../../opt/dotnet_cli/dotnet" "/usr/bin/dotnet"
159 -
160 + local dest="/opt/dotnet_cli"
161 + local ddest="${D}/${dest}"
162 + local ddest_core="${ddest}/shared/Microsoft.NETCore.App/${CORE_V}/"
163 +
164 + dodir "${dest}"
165 + cp -pPR "${CLI_S}"/* "${ddest}" || die
166 +
167 + for file in "${CORECLR_FILES[@]}"; do
168 + cp -pP "${CORECLR_S}/bin/Product/Linux.x64.Release/${file}" "${ddest_core}" || die
169 + done
170 +
171 + for file in "${COREFX_FILES[@]}"; do
172 + cp -pP "${COREFX_N}/bin/Linux.x64.Release/Native/${file}" "${ddest_core}" || die
173 + done
174 +
175 + dosym "../../opt/dotnet_cli/dotnet" "/usr/bin/dotnet"
176 +
177 }