From 4eda0fe5576868e6c7f97b51aa1c279ff8cd320c Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 25 Sep 2023 05:24:31 +0100 Subject: gentoo auto-resync : 25:09:2023 - 05:24:31 --- dev-dotnet/dotnet-sdk/Manifest | 4 +- dev-dotnet/dotnet-sdk/dotnet-sdk-7.0.105-r1.ebuild | 100 +++++++++++++++ dev-dotnet/dotnet-sdk/dotnet-sdk-7.0.105.ebuild | 90 ------------- .../dotnet-sdk-8.0.0_rc1234194-r1.ebuild | 142 +++++++++++++++++++++ .../dotnet-sdk/dotnet-sdk-8.0.0_rc1234194.ebuild | 132 ------------------- 5 files changed, 244 insertions(+), 224 deletions(-) create mode 100644 dev-dotnet/dotnet-sdk/dotnet-sdk-7.0.105-r1.ebuild delete mode 100644 dev-dotnet/dotnet-sdk/dotnet-sdk-7.0.105.ebuild create mode 100644 dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.0_rc1234194-r1.ebuild delete mode 100644 dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.0_rc1234194.ebuild (limited to 'dev-dotnet/dotnet-sdk') diff --git a/dev-dotnet/dotnet-sdk/Manifest b/dev-dotnet/dotnet-sdk/Manifest index c1b6e0a1c0d5..9bf4e7bbdd80 100644 --- a/dev-dotnet/dotnet-sdk/Manifest +++ b/dev-dotnet/dotnet-sdk/Manifest @@ -1,5 +1,5 @@ DIST dotnet-sdk-7.0.105-prepared-gentoo-amd64.tar.xz 1617916684 BLAKE2B 729d2027e3c356581f7db763d7da09cba512a1a48ddf6492e632dd15eaa547efa8153abeec73c37b5e31e0b8d94c54e0495dd0e67dbe8d1592dbb93b5484e830 SHA512 f45366830435a3adb03221a684818337b3ad6af6b3d46edbf0a664af1c49e7b949c0d2c4507b61c767fdddfa492d32d341cd22e2e4ad28657504ed34757c6aff DIST dotnet-sdk-8.0.0_rc1234194-prepared-gentoo-amd64.tar.xz 1561594596 BLAKE2B c4baf38371fc6f93255dd59a7e00d48dc456eb1c03c480375e37045d79feae26c7bb54d99d0c1660f440115bd6224df6f0b8a23cced7a687272f02d3eb8370a2 SHA512 9a75a83d10cce7fa5c887438e194f0b29baa79b56e7b97ba7f5b8b8a65b0e52a08b7cd9f7b7c3eb93cd1afb03c0eb2e1034b0577379e070cfb8ccf23cf9297f5 -EBUILD dotnet-sdk-7.0.105.ebuild 2138 BLAKE2B 0d21afaa7c6f6b59d685f577e6d03ccfd4c05c89cc8bab3cff4d7fd8ce783780323a1441632ffabf8df32f534c40dd7331e6f979b62c2145d891c16644d20911 SHA512 bf0ea14294b93f52a476eab835d64f816bc08bb583a602e9d7a1da826a78056bb5d1d5fb523e0c23d6d01e455c800ac40035feed02e54dc2c3378d3ea3096870 -EBUILD dotnet-sdk-8.0.0_rc1234194.ebuild 3386 BLAKE2B 3571ee55d9813179ba426c10b49b5c59912ccc7f817fd294ad222a3b790fbb2bfbc6cf577683623e9dec9ff92ae1f7b5bfc3831571a48f3ad1e6915a30eaa521 SHA512 9e16e3b9dd189ac838a9032d7412923dc4fae41b70e120ab14cd983012c89bae5a62037bae9dcdd9646a1f5c4a400fd2ae5e2aec45612fe8d8f55b1885c0cfc5 +EBUILD dotnet-sdk-7.0.105-r1.ebuild 2332 BLAKE2B 5a266dbdb86c4992e29611d587bac2df7bcb69f2f7efbb3f93192655628a910e7bd5bcf5a66129ba98307aaf02818c83ca318942e56525feedaf0ea6455d1210 SHA512 9b1d9f6e5367db600ec4f6bb9f148aed1e998620786da6567e7d8c9ad42d291b69684df903890ceba95364c02b41d57bfbde5e4b1621bb462e2ef2ad491bbbf7 +EBUILD dotnet-sdk-8.0.0_rc1234194-r1.ebuild 3580 BLAKE2B 0a3e9fe7dc0458aa7b9441ee97e25d1b084764708b8e1c57300b35bb0e91bf6d70f7bb51f158655718f5784622fd78248d2c455b910e384462c69cd4483f9534 SHA512 2a9e903130e828529dddfda99b4207297c0a3de6d63b99550f91c054d9e360bf69456f49bf31d01091de97939e851bd8fb1a41f90708d81a6a5667b442078b56 MISC metadata.xml 518 BLAKE2B f9733bd3b6b343126c400ce35dc7e4e57421a6643219341c4beab83d47beb1182306f3d0c5f1e7ff0854fd49818b2c6af37598170b88e2eb82b62d478735abf0 SHA512 940830b1208c39e4cfd72817d399156b027e5ac51dcc7bb983c9ec973f8f2ef76e440a2d358d15f7a2e185c42ae98c986210224f1477923967e3dc70eb0cfde9 diff --git a/dev-dotnet/dotnet-sdk/dotnet-sdk-7.0.105-r1.ebuild b/dev-dotnet/dotnet-sdk/dotnet-sdk-7.0.105-r1.ebuild new file mode 100644 index 000000000000..f9e05d829cc0 --- /dev/null +++ b/dev-dotnet/dotnet-sdk/dotnet-sdk-7.0.105-r1.ebuild @@ -0,0 +1,100 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +## Build the tarball: +## ./build.sh --configuration Release --architecture x64 \ +## /p:ArcadeBuildTarball=true /p:TarballDir="$(pwd)/dotnet-sdk-7.0.105" +## cd dotnet-sdk-7.0.105 +## ./prep.sh --bootstrap +## cd .. +## tar --create --auto-compress --file dotnet-sdk-7.0.105.tar.xz dotnet-sdk-7.0.105 +## mv dotnet-sdk-7.0.105.tar.xz dotnet-sdk-7.0.1050-prepared-gentoo-amd64.tar.xz +## upload dotnet-sdk-7.0.1050-amd64.tar.xz + +EAPI=8 + +LLVM_MAX_SLOT=16 +PYTHON_COMPAT=( python3_{10..12} ) + +inherit check-reqs llvm python-any-r1 + +DESCRIPTION=".NET is a free, cross-platform, open-source developer platform" +HOMEPAGE="https://dotnet.microsoft.com/" +SRC_URI=" + amd64? ( https://dev.gentoo.org/~xgqt/distfiles/repackaged/${P}-prepared-gentoo-amd64.tar.xz ) +" + +SDK_SLOT="$(ver_cut 1-2)" +RUNTIME_SLOT="${SDK_SLOT}.5" +SLOT="${SDK_SLOT}/${RUNTIME_SLOT}" + +LICENSE="MIT" +KEYWORDS="~amd64" + +BDEPEND=" + ${PYTHON_DEPS} + " - manual action. +# $ git clone --depth 1 \ +# -b v8.0.0-rc.1.23419.4 \ +# https://github.com/dotnet/dotnet \ +# dotnet-sdk-8.0.0_rc1234194 +# $ cd dotnet-sdk-8.0.0_rc1234194 +# > Note the checkout tag hash. +# $ ./prep.sh +# $ rm -fr .git +# $ cd .. +# $ tar --create --auto-compress --file \ +# dotnet-sdk-8.0.0_rc1234194-prepared-gentoo-amd64.tar.xz \ +# dotnet-sdk-8.0.0_rc1234194 +# > Upload dotnet-sdk-8.0.0_rc1234194-prepared-gentoo-amd64.tar.xz + +EAPI=8 + +LLVM_MAX_SLOT=16 +PYTHON_COMPAT=( python3_{10..12} ) + +inherit check-reqs llvm python-any-r1 + +DESCRIPTION=".NET is a free, cross-platform, open-source developer platform" +HOMEPAGE="https://dotnet.microsoft.com/ + https://github.com/dotnet/dotnet/" +SRC_URI=" + amd64? ( https://dev.gentoo.org/~xgqt/distfiles/repackaged/${P}-prepared-gentoo-amd64.tar.xz ) +" + +SDK_SLOT="$(ver_cut 1-2)" +RUNTIME_SLOT="${SDK_SLOT}.0_rc1234194" +SLOT="${SDK_SLOT}/${RUNTIME_SLOT}" + +LICENSE="MIT" +KEYWORDS="~amd64" + +CURRENT_NUGETS_DEPEND=" + ~dev-dotnet/dotnet-runtime-nugets-${RUNTIME_SLOT} +" +EXTRA_NUGETS_DEPEND=" + ~dev-dotnet/dotnet-runtime-nugets-3.1.32 + ~dev-dotnet/dotnet-runtime-nugets-6.0.22 + ~dev-dotnet/dotnet-runtime-nugets-7.0.11 +" +NUGETS_DEPEND=" + ${CURRENT_NUGETS_DEPEND} + ${EXTRA_NUGETS_DEPEND} +" +RDEPEND=" + app-crypt/mit-krb5:0/0 + dev-libs/icu + dev-libs/openssl:= + dev-util/lttng-ust:0/2.12 + sys-libs/zlib:0/1 +" +BDEPEND=" + ${PYTHON_DEPS} + " - manual action. -# $ git clone --depth 1 \ -# -b v8.0.0-rc.1.23419.4 \ -# https://github.com/dotnet/dotnet \ -# dotnet-sdk-8.0.0_rc1234194 -# $ cd dotnet-sdk-8.0.0_rc1234194 -# > Note the checkout tag hash. -# $ ./prep.sh -# $ rm -fr .git -# $ cd .. -# $ tar --create --auto-compress --file \ -# dotnet-sdk-8.0.0_rc1234194-prepared-gentoo-amd64.tar.xz \ -# dotnet-sdk-8.0.0_rc1234194 -# > Upload dotnet-sdk-8.0.0_rc1234194-prepared-gentoo-amd64.tar.xz - -EAPI=8 - -inherit check-reqs - -DESCRIPTION=".NET is a free, cross-platform, open-source developer platform" -HOMEPAGE="https://dotnet.microsoft.com/ - https://github.com/dotnet/dotnet/" -SRC_URI=" - amd64? ( https://dev.gentoo.org/~xgqt/distfiles/repackaged/${P}-prepared-gentoo-amd64.tar.xz ) -" - -SDK_SLOT="$(ver_cut 1-2)" -RUNTIME_SLOT="${SDK_SLOT}.0_rc1234194" -SLOT="${SDK_SLOT}/${RUNTIME_SLOT}" - -LICENSE="MIT" -KEYWORDS="~amd64" - -CURRENT_NUGETS_DEPEND=" - ~dev-dotnet/dotnet-runtime-nugets-${RUNTIME_SLOT} -" -EXTRA_NUGETS_DEPEND=" - ~dev-dotnet/dotnet-runtime-nugets-3.1.32 - ~dev-dotnet/dotnet-runtime-nugets-6.0.22 - ~dev-dotnet/dotnet-runtime-nugets-7.0.11 -" -NUGETS_DEPEND=" - ${CURRENT_NUGETS_DEPEND} - ${EXTRA_NUGETS_DEPEND} -" -RDEPEND=" - app-crypt/mit-krb5:0/0 - dev-libs/icu - dev-libs/openssl:= - dev-util/lttng-ust:0/2.12 - sys-libs/zlib:0/1 -" -BDEPEND=" - dev-util/cmake - dev-vcs/git - sys-devel/clang -" -IDEPEND=" - app-eselect/eselect-dotnet -" -PDEPEND=" - ${NUGETS_DEPEND} -" - -CHECKREQS_DISK_BUILD="20G" - -# QA_PREBUILT="*" # TODO: Which binaries are created by dotnet itself? - -src_prepare() { - default - - unset DOTNET_DATA DOTNET_ROOT - unset NUGET_DATA NUGET_PACKAGES - - export DOTNET_CLI_TELEMETRY_OPTOUT=1 - export MSBUILDDISABLENODEREUSE=1 - export UseSharedCompilation=false - - local dotnet_sdk_tmp_directory="${WORKDIR}/dotnet-sdk-tmp" - mkdir -p "${dotnet_sdk_tmp_directory}" || die - - # This should fix the "PackageVersions.props" problem, - # see below, in src_compile. - sed -e "s|/tmp|${dotnet_sdk_tmp_directory}|g" -i build.sh || die -} - -src_compile() { - # Remove .NET leftover files that can be blocking the build. - # Keep this nonfatal! - local package_versions_path="/tmp/PackageVersions.props" - if [[ -f "${package_versions_path}" ]] ; then - rm "${package_versions_path}" || - ewarn "Failed to remove ${package_versions_path}, build may fail!" - fi - - # The "source_repository" should always be the same. - local source_repository="https://github.com/dotnet/dotnet" - # The "source_version" is dependent on the checkout tag commit. - local source_version="113d797bc90104bb4f1cc51e1a462cf3d4ef18fc" - - ebegin "Building the .NET SDK ${SDK_SLOT}" - bash ./build.sh \ - --clean-while-building \ - --source-repository "${source_repository}" \ - --source-version "${source_version}" - eend ${?} || die "build failed" -} - -src_install() { - local dest="/usr/$(get_libdir)/${PN}-${SDK_SLOT}" - dodir "${dest}" - - ebegin "Extracting the .NET SDK archive" - tar xzf artifacts/*/Release/${PN}-${SDK_SLOT}.*.tar.gz -C "${ED}/${dest}" - eend ${?} || die "extraction failed" - - fperms 0755 "${dest}" - dosym -r "${dest}/dotnet" "/usr/bin/dotnet-${SDK_SLOT}" -} - -pkg_postinst() { - eselect dotnet update ifunset -} - -pkg_postrm() { - eselect dotnet update ifunset -} -- cgit v1.2.3