commit: 60a692c9508306c2127a2b632ff8770c664e017c
Author: Ben Sagal <bsagal <AT> gmail <DOT> com>
AuthorDate: Wed Jul 13 13:42:31 2016 +0000
Commit: Heather Cynede <cynede <AT> gentoo <DOT> org>
CommitDate: Wed Jul 13 13:42:31 2016 +0000
URL: https://gitweb.gentoo.org/proj/dotnet.git/commit/?id=60a692c9
Fix repoman warnings
.../dotnet-cli-1.0.0_pre2_p003121.ebuild | 122 ++++++++++-----------
1 file changed, 60 insertions(+), 62 deletions(-)
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
index 0211db9..a943f58 100644
--- 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
@@ -20,30 +20,30 @@ CORE_V=${PV%%_*}
CORECLR_N=coreclr-${CORE_V}
COREFX_N=corefx-${CORE_V}
-DESCRIPTION="A command line utility for building, testing, packaging and
running .NET Core applications and libraries"
+DESCRIPTION=".NET Core cli utility for building, testing, packaging and
running projects"
HOMEPAGE="https://www.microsoft.com/net/core"
LICENSE="MIT"
IUSE=""
SRC_URI="https://github.com/dotnet/coreclr/archive/v${CORE_V}.tar.gz ->
${CORECLR_N}.tar.gz
- https://github.com/dotnet/corefx/archive/v${CORE_V}.tar.gz ->
${COREFX_N}.tar.gz
-
https://download.microsoft.com/download/1/5/2/1523EBE1-3764-4328-8961-D1BD8ECA9295/dotnet-dev-${DIST}.${MY_PV}.tar.gz"
+ https://github.com/dotnet/corefx/archive/v${CORE_V}.tar.gz ->
${COREFX_N}.tar.gz
+
https://download.microsoft.com/download/1/5/2/1523EBE1-3764-4328-8961-D1BD8ECA9295/dotnet-dev-${DIST}.${MY_PV}.tar.gz"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
- >=sys-devel/llvm-3.7.1-r3[lldb]
- >=sys-libs/libunwind-1.1-r1
- >=dev-libs/icu-57.1
- >=dev-util/lttng-ust-2.8.1
- >=dev-libs/openssl-1.0.2h-r2
- >=net-misc/curl-7.49.0"
+ >=sys-devel/llvm-3.7.1-r3[lldb]
+ >=sys-libs/libunwind-1.1-r1
+ >=dev-libs/icu-57.1
+ >=dev-util/lttng-ust-2.8.1
+ >=dev-libs/openssl-1.0.2h-r2
+ >=net-misc/curl-7.49.0"
DEPEND="${RDEPEND}
- >=dev-util/cmake-3.3.1-r1
- >=sys-devel/make-4.1-r1
- >=sys-devel/clang-3.7.1-r100
- >=sys-devel/gettext-0.19.7"
+ >=dev-util/cmake-3.3.1-r1
+ >=sys-devel/make-4.1-r1
+ >=sys-devel/clang-3.7.1-r100
+ >=sys-devel/gettext-0.19.7"
PATCHES=(
"${FILESDIR}/${CORECLR_N}-icu57-commit-352df35.patch"
@@ -57,69 +57,67 @@ CORECLR_S="${S}/${CORECLR_N}"
COREFX_S="${S}/${COREFX_N}"
CORECLR_FILES=(
- 'libclrjit.so'
- 'libcoreclr.so'
- 'libcoreclrtraceptprovider.so'
- 'libdbgshim.so'
- 'libmscordaccore.so'
- 'libmscordbi.so'
- 'libsos.so'
- 'libsosplugin.so'
- 'System.Globalization.Native.so'
+ 'libclrjit.so'
+ 'libcoreclr.so'
+ 'libcoreclrtraceptprovider.so'
+ 'libdbgshim.so'
+ 'libmscordaccore.so'
+ 'libmscordbi.so'
+ 'libsos.so'
+ 'libsosplugin.so'
+ 'System.Globalization.Native.so'
)
COREFX_FILES=(
- 'System.IO.Compression.Native.so'
- 'System.Native.a'
- 'System.Native.so'
- 'System.Net.Http.Native.so'
- 'System.Net.Security.Native.so'
- 'System.Security.Cryptography.Native.so'
+ 'System.IO.Compression.Native.so'
+ 'System.Native.a'
+ 'System.Native.so'
+ 'System.Net.Http.Native.so'
+ 'System.Net.Security.Native.so'
+ 'System.Security.Cryptography.Native.so'
)
src_unpack() {
- unpack "${CORECLR_N}.tar.gz" "${COREFX_N}.tar.gz"
- mkdir "${CLI_S}" || die
- cd "${CLI_S}" || die
- unpack "dotnet-dev-${DIST}.${MY_PV}.tar.gz"
+ unpack "${CORECLR_N}.tar.gz" "${COREFX_N}.tar.gz"
+ mkdir "${CLI_S}" || die
+ cd "${CLI_S}" || die
+ unpack "dotnet-dev-${DIST}.${MY_PV}.tar.gz"
}
src_prepare() {
- for file in "${CORECLR_FILES[@]}"; do
- rm "${CLI_S}/shared/Microsoft.NETCore.App/${CORE_V}/${file}"
- done
- for file in "${COREFX_FILES[@]}"; do
- rm "${CLI_S}/shared/Microsoft.NETCore.App/${CORE_V}/${file}"
- done
- default_src_prepare
+ for file in "${CORECLR_FILES[@]}"; do
+ rm "${CLI_S}/shared/Microsoft.NETCore.App/${CORE_V}/${file}"
+ done
+ for file in "${COREFX_FILES[@]}"; do
+ rm "${CLI_S}/shared/Microsoft.NETCore.App/${CORE_V}/${file}"
+ done
+ default_src_prepare
}
src_compile() {
- cd "${S}/${CORECLR_N}" || die
- ./build.sh x64 release || die
+ cd "${S}/${CORECLR_N}" || die
+ ./build.sh x64 release || die
- cd "${S}/${COREFX_N}" || die
- ./build.sh native x64 release || die
+ cd "${S}/${COREFX_N}" || die
+ ./build.sh native x64 release || die
}
-
src_install() {
-
- local dest="/opt/dotnet_cli"
- local ddest="${D}/${dest}"
- local ddest_core="${ddest}/shared/Microsoft.NETCore.App/${CORE_V}/"
-
- dodir "${dest}"
- cp -pPR "${CLI_S}"/* "${ddest}" || die
-
- for file in "${CORECLR_FILES[@]}"; do
- cp -pP "${CORECLR_S}/bin/Product/Linux.x64.Release/${file}"
"${ddest_core}" || die
- done
-
- for file in "${COREFX_FILES[@]}"; do
- cp -pP "${COREFX_N}/bin/Linux.x64.Release/Native/${file}"
"${ddest_core}" || die
- done
-
- dosym "../../opt/dotnet_cli/dotnet" "/usr/bin/dotnet"
-
+ local dest="/opt/dotnet_cli"
+ local ddest="${D}/${dest}"
+ local ddest_core="${ddest}/shared/Microsoft.NETCore.App/${CORE_V}/"
+
+ dodir "${dest}"
+ cp -pPR "${CLI_S}"/* "${ddest}" || die
+
+ for file in "${CORECLR_FILES[@]}"; do
+ cp -pP "${CORECLR_S}/bin/Product/Linux.x64.Release/${file}"
"${ddest_core}" || die
+ done
+
+ for file in "${COREFX_FILES[@]}"; do
+ cp -pP "${COREFX_N}/bin/Linux.x64.Release/Native/${file}"
"${ddest_core}" || die
+ done
+
+ dosym "../../opt/dotnet_cli/dotnet" "/usr/bin/dotnet"
+
}