* [gentoo-commits] repo/gentoo:master commit in: dev-dotnet/dotnet-sdk/
@ 2023-09-15 20:49 Maciej Barć
0 siblings, 0 replies; 28+ messages in thread
From: Maciej Barć @ 2023-09-15 20:49 UTC (permalink / raw
To: gentoo-commits
commit: 24db3efe53aa6b8801326cd8ef97d1db801fb34b
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 15 16:56:00 2023 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Fri Sep 15 20:48:42 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24db3efe
dev-dotnet/dotnet-sdk: new package; add 7.0.105
Bug: https://bugs.gentoo.org/900597
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
dev-dotnet/dotnet-sdk/Manifest | 1 +
dev-dotnet/dotnet-sdk/dotnet-sdk-7.0.105.ebuild | 90 +++++++++++++++++++++++++
dev-dotnet/dotnet-sdk/metadata.xml | 15 +++++
3 files changed, 106 insertions(+)
diff --git a/dev-dotnet/dotnet-sdk/Manifest b/dev-dotnet/dotnet-sdk/Manifest
new file mode 100644
index 000000000000..1ef44346ab87
--- /dev/null
+++ b/dev-dotnet/dotnet-sdk/Manifest
@@ -0,0 +1 @@
+DIST dotnet-sdk-7.0.105-prepared-gentoo-amd64.tar.xz 1617916684 BLAKE2B 729d2027e3c356581f7db763d7da09cba512a1a48ddf6492e632dd15eaa547efa8153abeec73c37b5e31e0b8d94c54e0495dd0e67dbe8d1592dbb93b5484e830 SHA512 f45366830435a3adb03221a684818337b3ad6af6b3d46edbf0a664af1c49e7b949c0d2c4507b61c767fdddfa492d32d341cd22e2e4ad28657504ed34757c6aff
diff --git a/dev-dotnet/dotnet-sdk/dotnet-sdk-7.0.105.ebuild b/dev-dotnet/dotnet-sdk/dotnet-sdk-7.0.105.ebuild
new file mode 100644
index 000000000000..f6d6fa9003e4
--- /dev/null
+++ b/dev-dotnet/dotnet-sdk/dotnet-sdk-7.0.105.ebuild
@@ -0,0 +1,90 @@
+# 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
+
+inherit check-reqs
+
+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="
+ dev-util/cmake
+ dev-vcs/git
+ sys-devel/clang
+"
+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
+"
+IDEPEND="app-eselect/eselect-dotnet"
+PDEPEND="
+ ~dev-dotnet/dotnet-runtime-nugets-${RUNTIME_SLOT}
+ ~dev-dotnet/dotnet-runtime-nugets-3.1.32
+ ~dev-dotnet/dotnet-runtime-nugets-6.0.16
+"
+
+CHECKREQS_DISK_BUILD="20G"
+
+# QA_PREBUILT="*" # TODO: Which binaries are created by dotnet itself?
+
+src_prepare() {
+ unset DOTNET_DATA DOTNET_ROOT
+ unset NUGET_DATA NUGET_PACKAGES
+
+ default
+}
+
+src_compile() {
+ # Remove .NET leftover files that block build.
+ if [[ -f /tmp/PackageVersions.props ]] ; then
+ rm /tmp/PackageVersions.props # nonfatal
+ fi
+
+ ebegin "Building .NET SDK ${SDK_SLOT}"
+ bash ./build.sh --clean-while-building
+ eend ${?} || die "build failed"
+}
+
+src_install() {
+ local dest=/usr/$(get_libdir)/${PN}-${SDK_SLOT}
+ dodir ${dest}
+
+ ebegin "Extracting SDK archive"
+ tar xzf artifacts/*/Release/${P}-*.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
+}
diff --git a/dev-dotnet/dotnet-sdk/metadata.xml b/dev-dotnet/dotnet-sdk/metadata.xml
new file mode 100644
index 000000000000..b2549c1c3737
--- /dev/null
+++ b/dev-dotnet/dotnet-sdk/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+
+<pkgmetadata>
+ <maintainer type="project">
+ <email>dotnet@gentoo.org</email>
+ <name>Gentoo Dotnet Project</name>
+ </maintainer>
+ <upstream>
+ <doc>https://learn.microsoft.com/en-us/dotnet/</doc>
+ <bugs-to>https://github.com/dotnet/sdk/issues/</bugs-to>
+ <remote-id type="github">dotnet/installer</remote-id>
+ <remote-id type="github">dotnet/sdk</remote-id>
+ </upstream>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-dotnet/dotnet-sdk/
@ 2023-09-24 4:02 Maciej Barć
0 siblings, 0 replies; 28+ messages in thread
From: Maciej Barć @ 2023-09-24 4:02 UTC (permalink / raw
To: gentoo-commits
commit: 666ca9efcf837ca1a6567b75f321628be4d9d2f2
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 23 13:46:56 2023 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sun Sep 24 04:02:25 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=666ca9ef
dev-dotnet/dotnet-sdk: bump to 8.0.0_rc1234194
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
dev-dotnet/dotnet-sdk/Manifest | 1 +
.../dotnet-sdk/dotnet-sdk-8.0.0_rc1234194.ebuild | 132 +++++++++++++++++++++
2 files changed, 133 insertions(+)
diff --git a/dev-dotnet/dotnet-sdk/Manifest b/dev-dotnet/dotnet-sdk/Manifest
index 1ef44346ab87..165673a9a1fd 100644
--- a/dev-dotnet/dotnet-sdk/Manifest
+++ b/dev-dotnet/dotnet-sdk/Manifest
@@ -1 +1,2 @@
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
diff --git a/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.0_rc1234194.ebuild b/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.0_rc1234194.ebuild
new file mode 100644
index 000000000000..0451091d9c84
--- /dev/null
+++ b/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.0_rc1234194.ebuild
@@ -0,0 +1,132 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Build the tarball:
+# - "$" - shell command,
+# - ">" - 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
+}
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-dotnet/dotnet-sdk/
@ 2023-09-24 22:02 Maciej Barć
0 siblings, 0 replies; 28+ messages in thread
From: Maciej Barć @ 2023-09-24 22:02 UTC (permalink / raw
To: gentoo-commits
commit: d29be4546cb3714a9422272337eef756e24a7b5b
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 24 19:43:16 2023 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sun Sep 24 22:02:40 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d29be454
dev-dotnet/dotnet-sdk: conform to lack of native symlinks
Closes: https://bugs.gentoo.org/914262
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
...net-sdk-7.0.105.ebuild => dotnet-sdk-7.0.105-r1.ebuild} | 14 ++++++++++++--
...1234194.ebuild => dotnet-sdk-8.0.0_rc1234194-r1.ebuild} | 14 ++++++++++++--
2 files changed, 24 insertions(+), 4 deletions(-)
diff --git a/dev-dotnet/dotnet-sdk/dotnet-sdk-7.0.105.ebuild b/dev-dotnet/dotnet-sdk/dotnet-sdk-7.0.105-r1.ebuild
similarity index 90%
rename from dev-dotnet/dotnet-sdk/dotnet-sdk-7.0.105.ebuild
rename to dev-dotnet/dotnet-sdk/dotnet-sdk-7.0.105-r1.ebuild
index f6d6fa9003e4..f9e05d829cc0 100644
--- a/dev-dotnet/dotnet-sdk/dotnet-sdk-7.0.105.ebuild
+++ b/dev-dotnet/dotnet-sdk/dotnet-sdk-7.0.105-r1.ebuild
@@ -13,7 +13,10 @@
EAPI=8
-inherit check-reqs
+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/"
@@ -29,9 +32,10 @@ LICENSE="MIT"
KEYWORDS="~amd64"
BDEPEND="
+ ${PYTHON_DEPS}
+ <sys-devel/clang-$(( LLVM_MAX_SLOT + 1 ))
dev-util/cmake
dev-vcs/git
- sys-devel/clang
"
RDEPEND="
app-crypt/mit-krb5:0/0
@@ -51,6 +55,12 @@ CHECKREQS_DISK_BUILD="20G"
# QA_PREBUILT="*" # TODO: Which binaries are created by dotnet itself?
+pkg_setup() {
+ check-reqs_pkg_setup
+ llvm_pkg_setup
+ python-any-r1_pkg_setup
+}
+
src_prepare() {
unset DOTNET_DATA DOTNET_ROOT
unset NUGET_DATA NUGET_PACKAGES
diff --git a/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.0_rc1234194.ebuild b/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.0_rc1234194-r1.ebuild
similarity index 93%
rename from dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.0_rc1234194.ebuild
rename to dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.0_rc1234194-r1.ebuild
index 0451091d9c84..eaaa960c01c1 100644
--- a/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.0_rc1234194.ebuild
+++ b/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.0_rc1234194-r1.ebuild
@@ -20,7 +20,10 @@
EAPI=8
-inherit check-reqs
+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/
@@ -56,9 +59,10 @@ RDEPEND="
sys-libs/zlib:0/1
"
BDEPEND="
+ ${PYTHON_DEPS}
+ <sys-devel/clang-$(( LLVM_MAX_SLOT + 1 ))
dev-util/cmake
dev-vcs/git
- sys-devel/clang
"
IDEPEND="
app-eselect/eselect-dotnet
@@ -71,6 +75,12 @@ CHECKREQS_DISK_BUILD="20G"
# QA_PREBUILT="*" # TODO: Which binaries are created by dotnet itself?
+pkg_setup() {
+ check-reqs_pkg_setup
+ llvm_pkg_setup
+ python-any-r1_pkg_setup
+}
+
src_prepare() {
default
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-dotnet/dotnet-sdk/
@ 2023-09-25 20:36 Maciej Barć
0 siblings, 0 replies; 28+ messages in thread
From: Maciej Barć @ 2023-09-25 20:36 UTC (permalink / raw
To: gentoo-commits
commit: 64860066a1f1729c82fcd31f0c144fc83acba728
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 25 16:48:14 2023 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Mon Sep 25 20:36:56 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64860066
dev-dotnet/dotnet-sdk: sync env vars settings
remove *_DATA vars which do nothing
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
dev-dotnet/dotnet-sdk/dotnet-sdk-7.0.105-r1.ebuild | 10 +++++++---
dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.0_rc1234194-r1.ebuild | 4 ++--
2 files changed, 9 insertions(+), 5 deletions(-)
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
index f9e05d829cc0..c62ef3c73f57 100644
--- a/dev-dotnet/dotnet-sdk/dotnet-sdk-7.0.105-r1.ebuild
+++ b/dev-dotnet/dotnet-sdk/dotnet-sdk-7.0.105-r1.ebuild
@@ -62,10 +62,14 @@ pkg_setup() {
}
src_prepare() {
- unset DOTNET_DATA DOTNET_ROOT
- unset NUGET_DATA NUGET_PACKAGES
-
default
+
+ unset DOTNET_ROOT
+ unset NUGET_PACKAGES
+
+ export DOTNET_CLI_TELEMETRY_OPTOUT=1
+ export MSBUILDDISABLENODEREUSE=1
+ export UseSharedCompilation=false
}
src_compile() {
diff --git a/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.0_rc1234194-r1.ebuild b/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.0_rc1234194-r1.ebuild
index eaaa960c01c1..c80fc2a817f5 100644
--- a/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.0_rc1234194-r1.ebuild
+++ b/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.0_rc1234194-r1.ebuild
@@ -84,8 +84,8 @@ pkg_setup() {
src_prepare() {
default
- unset DOTNET_DATA DOTNET_ROOT
- unset NUGET_DATA NUGET_PACKAGES
+ unset DOTNET_ROOT
+ unset NUGET_PACKAGES
export DOTNET_CLI_TELEMETRY_OPTOUT=1
export MSBUILDDISABLENODEREUSE=1
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-dotnet/dotnet-sdk/
@ 2023-11-18 1:31 Maciej Barć
0 siblings, 0 replies; 28+ messages in thread
From: Maciej Barć @ 2023-11-18 1:31 UTC (permalink / raw
To: gentoo-commits
commit: 8f3b3cc55dbc3e59b11f6849d3cba7e5c383f78e
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 17 22:30:46 2023 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sat Nov 18 01:31:40 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f3b3cc5
dev-dotnet/dotnet-sdk: bump to 8.0.100
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
dev-dotnet/dotnet-sdk/Manifest | 1 +
dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.100.ebuild | 144 ++++++++++++++++++++++++
2 files changed, 145 insertions(+)
diff --git a/dev-dotnet/dotnet-sdk/Manifest b/dev-dotnet/dotnet-sdk/Manifest
index 165673a9a1fd..de96ef4dda73 100644
--- a/dev-dotnet/dotnet-sdk/Manifest
+++ b/dev-dotnet/dotnet-sdk/Manifest
@@ -1,2 +1,3 @@
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
+DIST dotnet-sdk-8.0.100-prepared-gentoo-amd64.tar.xz 1714535960 BLAKE2B fd6027b86168d8801b1d8a7bbb08e9c358918a7693b03fa4e7e43e2a58568a65d71e2c5907ec7c7a03b83685608cd16aa010706fb4d14cd44ab0f0669654c8c2 SHA512 75efdcf44383445bc81981e2077be03c7311db316e295aa7f960f50d65367cde9bd86351f345072feb827a569c8de4fa8c9829d92000d2cbeb312ee9ddc17b44
diff --git a/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.100.ebuild b/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.100.ebuild
new file mode 100644
index 000000000000..3655919d6a68
--- /dev/null
+++ b/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.100.ebuild
@@ -0,0 +1,144 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Build the tarball:
+# - "$" - shell command,
+# - ">" - manual action.
+# $ git clone --depth 1 -b v8.0.0 https://github.com/dotnet/dotnet \
+# dotnet-sdk-8.0.0
+# $ cd dotnet-sdk-8.0.0
+# > Note the checkout tag hash.
+# $ ./prep.sh
+# $ rm -fr .git
+# $ cd ..
+# $ tar --create --auto-compress --file \
+# dotnet-sdk-8.0.100-prepared-gentoo-amd64.tar.xz dotnet-sdk-8.0.0
+# > Upload dotnet-sdk-8.0.0_rc1234194-prepared-gentoo-amd64.tar.xz
+
+EAPI=8
+
+COMMIT=113d797bc90104bb4f1cc51e1a462cf3d4ef18fc
+
+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"
+SLOT="${SDK_SLOT}/${RUNTIME_SLOT}"
+
+# SDK reports it is version "8.0.100" but the tag .NET SDK team had given
+# it is "8.0.100". I feel that the pattern is to tag based on "RUNTIME_SLOT".
+S="${WORKDIR}/${PN}-${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.25
+ ~dev-dotnet/dotnet-runtime-nugets-7.0.14
+"
+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}
+ <sys-devel/clang-$(( LLVM_MAX_SLOT + 1 ))
+ dev-util/cmake
+ dev-vcs/git
+"
+IDEPEND="
+ app-eselect/eselect-dotnet
+"
+PDEPEND="
+ ${NUGETS_DEPEND}
+"
+
+CHECKREQS_DISK_BUILD="20G"
+
+# QA_PREBUILT="*" # TODO: Which binaries are created by dotnet itself?
+
+pkg_setup() {
+ check-reqs_pkg_setup
+ llvm_pkg_setup
+ python-any-r1_pkg_setup
+}
+
+src_prepare() {
+ default
+
+ unset DOTNET_ROOT
+ unset NUGET_PACKAGES
+
+ export DOTNET_CLI_TELEMETRY_OPTOUT=1
+ export DOTNET_SKIP_FIRST_TIME_EXPERIENCE=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"
+
+ ebegin "Building the .NET SDK ${SDK_SLOT}"
+ bash ./build.sh \
+ --clean-while-building \
+ --source-repository "${source_repository}" \
+ --source-version "${COMMIT}"
+ 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
+}
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-dotnet/dotnet-sdk/
@ 2023-11-18 1:31 Maciej Barć
0 siblings, 0 replies; 28+ messages in thread
From: Maciej Barć @ 2023-11-18 1:31 UTC (permalink / raw
To: gentoo-commits
commit: 2237a3813d2f360c43b7aec26b604b6a5a7ff052
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 18 01:26:41 2023 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sat Nov 18 01:31:43 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2237a381
dev-dotnet/dotnet-sdk: drop old 8.0.0_rc1234194-r1
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
dev-dotnet/dotnet-sdk/Manifest | 1 -
.../dotnet-sdk-8.0.0_rc1234194-r1.ebuild | 142 ---------------------
2 files changed, 143 deletions(-)
diff --git a/dev-dotnet/dotnet-sdk/Manifest b/dev-dotnet/dotnet-sdk/Manifest
index de96ef4dda73..60e2cc286b6b 100644
--- a/dev-dotnet/dotnet-sdk/Manifest
+++ b/dev-dotnet/dotnet-sdk/Manifest
@@ -1,3 +1,2 @@
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
DIST dotnet-sdk-8.0.100-prepared-gentoo-amd64.tar.xz 1714535960 BLAKE2B fd6027b86168d8801b1d8a7bbb08e9c358918a7693b03fa4e7e43e2a58568a65d71e2c5907ec7c7a03b83685608cd16aa010706fb4d14cd44ab0f0669654c8c2 SHA512 75efdcf44383445bc81981e2077be03c7311db316e295aa7f960f50d65367cde9bd86351f345072feb827a569c8de4fa8c9829d92000d2cbeb312ee9ddc17b44
diff --git a/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.0_rc1234194-r1.ebuild b/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.0_rc1234194-r1.ebuild
deleted file mode 100644
index c80fc2a817f5..000000000000
--- a/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.0_rc1234194-r1.ebuild
+++ /dev/null
@@ -1,142 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-# Build the tarball:
-# - "$" - shell command,
-# - ">" - 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}
- <sys-devel/clang-$(( LLVM_MAX_SLOT + 1 ))
- dev-util/cmake
- dev-vcs/git
-"
-IDEPEND="
- app-eselect/eselect-dotnet
-"
-PDEPEND="
- ${NUGETS_DEPEND}
-"
-
-CHECKREQS_DISK_BUILD="20G"
-
-# QA_PREBUILT="*" # TODO: Which binaries are created by dotnet itself?
-
-pkg_setup() {
- check-reqs_pkg_setup
- llvm_pkg_setup
- python-any-r1_pkg_setup
-}
-
-src_prepare() {
- default
-
- unset DOTNET_ROOT
- unset 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
-}
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-dotnet/dotnet-sdk/
@ 2023-11-24 20:09 Maciej Barć
0 siblings, 0 replies; 28+ messages in thread
From: Maciej Barć @ 2023-11-24 20:09 UTC (permalink / raw
To: gentoo-commits
commit: d436ec927836c7d4635ba4ec2a2b8b3f5d860d7e
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 24 19:47:05 2023 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Fri Nov 24 20:09:29 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d436ec92
dev-dotnet/dotnet-sdk: drop old 7.0.105-r1
Bug: https://bugs.gentoo.org/918418
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
dev-dotnet/dotnet-sdk/Manifest | 1 -
dev-dotnet/dotnet-sdk/dotnet-sdk-7.0.105-r1.ebuild | 104 ---------------------
2 files changed, 105 deletions(-)
diff --git a/dev-dotnet/dotnet-sdk/Manifest b/dev-dotnet/dotnet-sdk/Manifest
index 60e2cc286b6b..9529a5a6497a 100644
--- a/dev-dotnet/dotnet-sdk/Manifest
+++ b/dev-dotnet/dotnet-sdk/Manifest
@@ -1,2 +1 @@
-DIST dotnet-sdk-7.0.105-prepared-gentoo-amd64.tar.xz 1617916684 BLAKE2B 729d2027e3c356581f7db763d7da09cba512a1a48ddf6492e632dd15eaa547efa8153abeec73c37b5e31e0b8d94c54e0495dd0e67dbe8d1592dbb93b5484e830 SHA512 f45366830435a3adb03221a684818337b3ad6af6b3d46edbf0a664af1c49e7b949c0d2c4507b61c767fdddfa492d32d341cd22e2e4ad28657504ed34757c6aff
DIST dotnet-sdk-8.0.100-prepared-gentoo-amd64.tar.xz 1714535960 BLAKE2B fd6027b86168d8801b1d8a7bbb08e9c358918a7693b03fa4e7e43e2a58568a65d71e2c5907ec7c7a03b83685608cd16aa010706fb4d14cd44ab0f0669654c8c2 SHA512 75efdcf44383445bc81981e2077be03c7311db316e295aa7f960f50d65367cde9bd86351f345072feb827a569c8de4fa8c9829d92000d2cbeb312ee9ddc17b44
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
deleted file mode 100644
index c62ef3c73f57..000000000000
--- a/dev-dotnet/dotnet-sdk/dotnet-sdk-7.0.105-r1.ebuild
+++ /dev/null
@@ -1,104 +0,0 @@
-# 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}
- <sys-devel/clang-$(( LLVM_MAX_SLOT + 1 ))
- dev-util/cmake
- dev-vcs/git
-"
-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
-"
-IDEPEND="app-eselect/eselect-dotnet"
-PDEPEND="
- ~dev-dotnet/dotnet-runtime-nugets-${RUNTIME_SLOT}
- ~dev-dotnet/dotnet-runtime-nugets-3.1.32
- ~dev-dotnet/dotnet-runtime-nugets-6.0.16
-"
-
-CHECKREQS_DISK_BUILD="20G"
-
-# QA_PREBUILT="*" # TODO: Which binaries are created by dotnet itself?
-
-pkg_setup() {
- check-reqs_pkg_setup
- llvm_pkg_setup
- python-any-r1_pkg_setup
-}
-
-src_prepare() {
- default
-
- unset DOTNET_ROOT
- unset NUGET_PACKAGES
-
- export DOTNET_CLI_TELEMETRY_OPTOUT=1
- export MSBUILDDISABLENODEREUSE=1
- export UseSharedCompilation=false
-}
-
-src_compile() {
- # Remove .NET leftover files that block build.
- if [[ -f /tmp/PackageVersions.props ]] ; then
- rm /tmp/PackageVersions.props # nonfatal
- fi
-
- ebegin "Building .NET SDK ${SDK_SLOT}"
- bash ./build.sh --clean-while-building
- eend ${?} || die "build failed"
-}
-
-src_install() {
- local dest=/usr/$(get_libdir)/${PN}-${SDK_SLOT}
- dodir ${dest}
-
- ebegin "Extracting SDK archive"
- tar xzf artifacts/*/Release/${P}-*.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
-}
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-dotnet/dotnet-sdk/
@ 2023-12-08 0:29 Maciej Barć
0 siblings, 0 replies; 28+ messages in thread
From: Maciej Barć @ 2023-12-08 0:29 UTC (permalink / raw
To: gentoo-commits
commit: b55d64a3ed7d86fe99ff8e852d2fa519d7ef4cad
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 7 22:34:42 2023 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Fri Dec 8 00:29:41 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b55d64a3
dev-dotnet/dotnet-sdk: filter LTO flags
reported by Parona
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.100.ebuild | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.100.ebuild b/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.100.ebuild
index 3655919d6a68..95efff4384e6 100644
--- a/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.100.ebuild
+++ b/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.100.ebuild
@@ -5,7 +5,7 @@
# - "$" - shell command,
# - ">" - manual action.
# $ git clone --depth 1 -b v8.0.0 https://github.com/dotnet/dotnet \
-# dotnet-sdk-8.0.0
+# dotnet-sdk-8.0.0
# $ cd dotnet-sdk-8.0.0
# > Note the checkout tag hash.
# $ ./prep.sh
@@ -22,7 +22,7 @@ COMMIT=113d797bc90104bb4f1cc51e1a462cf3d4ef18fc
LLVM_MAX_SLOT=16
PYTHON_COMPAT=( python3_{10..12} )
-inherit check-reqs llvm python-any-r1
+inherit check-reqs flag-o-matic llvm python-any-r1
DESCRIPTION=".NET is a free, cross-platform, open-source developer platform"
HOMEPAGE="https://dotnet.microsoft.com/
@@ -87,6 +87,8 @@ pkg_setup() {
src_prepare() {
default
+ filter-lto
+
unset DOTNET_ROOT
unset NUGET_PACKAGES
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-dotnet/dotnet-sdk/
@ 2023-12-13 17:17 Maciej Barć
0 siblings, 0 replies; 28+ messages in thread
From: Maciej Barć @ 2023-12-13 17:17 UTC (permalink / raw
To: gentoo-commits
commit: 70f3a844912e1cde23214206bf9a7d92130de141
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 13 11:27:26 2023 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Wed Dec 13 17:17:53 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70f3a844
dev-dotnet/dotnet-sdk: remove 3.1 runtime-nugets dependency
Bug: https://bugs.gentoo.org/917363
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
.../{dotnet-sdk-8.0.100.ebuild => dotnet-sdk-8.0.100-r1.ebuild} | 1 -
1 file changed, 1 deletion(-)
diff --git a/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.100.ebuild b/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.100-r1.ebuild
similarity index 98%
rename from dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.100.ebuild
rename to dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.100-r1.ebuild
index 95efff4384e6..7013e2e8147c 100644
--- a/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.100.ebuild
+++ b/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.100-r1.ebuild
@@ -46,7 +46,6 @@ 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.25
~dev-dotnet/dotnet-runtime-nugets-7.0.14
"
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-dotnet/dotnet-sdk/
@ 2023-12-17 12:39 Sam James
0 siblings, 0 replies; 28+ messages in thread
From: Sam James @ 2023-12-17 12:39 UTC (permalink / raw
To: gentoo-commits
commit: 2e63d5a44ebe1fd31976df2ca25eeaed8ee00e68
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 17 12:39:24 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Dec 17 12:39:24 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e63d5a4
dev-dotnet/dotnet-sdk: Stabilize 8.0.100-r1 amd64, #920169
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.100-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.100-r1.ebuild b/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.100-r1.ebuild
index 7013e2e8147c..7f79a934a917 100644
--- a/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.100-r1.ebuild
+++ b/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.100-r1.ebuild
@@ -40,7 +40,7 @@ SLOT="${SDK_SLOT}/${RUNTIME_SLOT}"
S="${WORKDIR}/${PN}-${RUNTIME_SLOT}"
LICENSE="MIT"
-KEYWORDS="~amd64"
+KEYWORDS="amd64"
CURRENT_NUGETS_DEPEND="
~dev-dotnet/dotnet-runtime-nugets-${RUNTIME_SLOT}
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-dotnet/dotnet-sdk/
@ 2023-12-17 21:45 Maciej Barć
0 siblings, 0 replies; 28+ messages in thread
From: Maciej Barć @ 2023-12-17 21:45 UTC (permalink / raw
To: gentoo-commits
commit: 1cfe887e6e91c7602cd79be7bfad0999d64114f4
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 17 20:44:26 2023 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sun Dec 17 21:45:45 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1cfe887e
dev-dotnet/dotnet-sdk: set locale to en_US
Closes: https://bugs.gentoo.org/920202
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.100-r1.ebuild | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.100-r1.ebuild b/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.100-r1.ebuild
index 7f79a934a917..82a0daec3c76 100644
--- a/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.100-r1.ebuild
+++ b/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.100-r1.ebuild
@@ -81,6 +81,24 @@ pkg_setup() {
check-reqs_pkg_setup
llvm_pkg_setup
python-any-r1_pkg_setup
+
+ if [[ "${MERGE_TYPE}" != binary ]] ; then
+ local locales="$(locale -a)"
+
+ if has en_US.utf8 ${locales} ; then
+ LC_ALL=en_US.utf8
+ elif has en_US.UTF-8 ${locales} ; then
+ LC_ALL=en_US.UTF-8
+ else
+ eerror "The locale en_US.utf8 or en_US.UTF-8 is not available."
+ eerror "Please generate en_US.UTF-8 before building ${CATEGORY}/${P}."
+
+ die "Could not switch to the en_US.UTF-8 locale."
+ fi
+
+ export LC_ALL
+ einfo "Successfully switched to the ${LC_ALL} locale."
+ fi
}
src_prepare() {
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-dotnet/dotnet-sdk/
@ 2024-02-01 10:10 Maciej Barć
0 siblings, 0 replies; 28+ messages in thread
From: Maciej Barć @ 2024-02-01 10:10 UTC (permalink / raw
To: gentoo-commits
commit: def2732bb6bee66f4c09527fe8b1e41dea2de963
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 1 09:37:56 2024 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Thu Feb 1 10:10:13 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=def2732b
dev-dotnet/dotnet-sdk: do not strip the dotnet binary
Bug: https://bugs.gentoo.org/923430
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
.../{dotnet-sdk-8.0.100-r1.ebuild => dotnet-sdk-8.0.100-r2.ebuild} | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.100-r1.ebuild b/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.100-r2.ebuild
similarity index 96%
rename from dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.100-r1.ebuild
rename to dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.100-r2.ebuild
index afef70ed8d0d..c312e4734619 100644
--- a/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.100-r1.ebuild
+++ b/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.100-r2.ebuild
@@ -152,6 +152,10 @@ src_install() {
fperms 0755 "${dest}"
dosym -r "${dest}/dotnet" "/usr/bin/dotnet-${SDK_SLOT}"
+
+ # STRIP="llvm-strip" corrupts some executables when using the patchelf hack,
+ # bug https://bugs.gentoo.org/923430
+ dostrip -x "/${dest}/dotnet"
}
pkg_postinst() {
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-dotnet/dotnet-sdk/
@ 2024-02-01 13:22 Maciej Barć
0 siblings, 0 replies; 28+ messages in thread
From: Maciej Barć @ 2024-02-01 13:22 UTC (permalink / raw
To: gentoo-commits
commit: dae019c3533b10fc0b84b4772367a668adcf01ae
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 1 13:17:04 2024 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Thu Feb 1 13:22:30 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dae019c3
dev-dotnet/dotnet-sdk: do not strip any binaries
Bug: https://bugs.gentoo.org/923430
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.100-r2.ebuild | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.100-r2.ebuild b/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.100-r2.ebuild
index c312e4734619..75ac94521502 100644
--- a/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.100-r2.ebuild
+++ b/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.100-r2.ebuild
@@ -42,6 +42,10 @@ S="${WORKDIR}/${PN}-${RUNTIME_SLOT}"
LICENSE="MIT"
KEYWORDS="amd64"
+# STRIP="llvm-strip" corrupts some executables when using the patchelf hack,
+# bug https://bugs.gentoo.org/923430
+RESTRICT="splitdebug strip"
+
CURRENT_NUGETS_DEPEND="
~dev-dotnet/dotnet-runtime-nugets-${RUNTIME_SLOT}
"
@@ -152,10 +156,6 @@ src_install() {
fperms 0755 "${dest}"
dosym -r "${dest}/dotnet" "/usr/bin/dotnet-${SDK_SLOT}"
-
- # STRIP="llvm-strip" corrupts some executables when using the patchelf hack,
- # bug https://bugs.gentoo.org/923430
- dostrip -x "/${dest}/dotnet"
}
pkg_postinst() {
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-dotnet/dotnet-sdk/
@ 2024-02-02 9:37 Maciej Barć
0 siblings, 0 replies; 28+ messages in thread
From: Maciej Barć @ 2024-02-02 9:37 UTC (permalink / raw
To: gentoo-commits
commit: 496b76180f0ac22c810ccd55bc062df4d3151464
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 1 13:34:19 2024 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Fri Feb 2 09:36:47 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=496b7618
dev-dotnet/dotnet-sdk: update build process
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.100-r2.ebuild | 43 +++++++++++++---------
1 file changed, 26 insertions(+), 17 deletions(-)
diff --git a/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.100-r2.ebuild b/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.100-r2.ebuild
index 75ac94521502..2132c04306d6 100644
--- a/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.100-r2.ebuild
+++ b/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.100-r2.ebuild
@@ -28,7 +28,9 @@ 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 )
+amd64? (
+ https://dev.gentoo.org/~xgqt/distfiles/repackaged/${P}-prepared-gentoo-amd64.tar.xz
+)
"
SDK_SLOT="$(ver_cut 1-2)"
@@ -36,14 +38,14 @@ RUNTIME_SLOT="${SDK_SLOT}.0"
SLOT="${SDK_SLOT}/${RUNTIME_SLOT}"
# SDK reports it is version "8.0.100" but the tag .NET SDK team had given
-# it is "8.0.100". I feel that the pattern is to tag based on "RUNTIME_SLOT".
+# it is "8.0.0". I feel that the pattern is to tag based on "RUNTIME_SLOT".
S="${WORKDIR}/${PN}-${RUNTIME_SLOT}"
LICENSE="MIT"
KEYWORDS="amd64"
-# STRIP="llvm-strip" corrupts some executables when using the patchelf hack,
-# bug https://bugs.gentoo.org/923430
+# STRIP="llvm-strip" corrupts some executables when using the patchelf hack.
+# Be safe and restrict it for source-built too, bug https://bugs.gentoo.org/923430
RESTRICT="splitdebug strip"
CURRENT_NUGETS_DEPEND="
@@ -87,17 +89,22 @@ pkg_setup() {
python-any-r1_pkg_setup
if [[ "${MERGE_TYPE}" != binary ]] ; then
- local locales="$(locale -a)"
-
- if has en_US.utf8 ${locales} ; then
- LC_ALL=en_US.utf8
- elif has en_US.UTF-8 ${locales} ; then
- LC_ALL=en_US.UTF-8
+ if use elibc_glibc ; then
+ local locales
+ locales="$(locale -a)"
+
+ if has en_US.utf8 ${locales} ; then
+ LC_ALL=en_US.utf8
+ elif has en_US.UTF-8 ${locales} ; then
+ LC_ALL=en_US.UTF-8
+ else
+ eerror "The locale en_US.utf8 or en_US.UTF-8 is not available."
+ eerror "Please generate en_US.UTF-8 before building ${CATEGORY}/${P}."
+
+ die "Could not switch to the en_US.UTF-8 locale."
+ fi
else
- eerror "The locale en_US.utf8 or en_US.UTF-8 is not available."
- eerror "Please generate en_US.UTF-8 before building ${CATEGORY}/${P}."
-
- die "Could not switch to the en_US.UTF-8 locale."
+ LC_ALL=en_US.UTF-8
fi
export LC_ALL
@@ -139,10 +146,12 @@ src_compile() {
local source_repository="https://github.com/dotnet/dotnet"
ebegin "Building the .NET SDK ${SDK_SLOT}"
- bash ./build.sh \
- --clean-while-building \
- --source-repository "${source_repository}" \
+ local -a buildopts=(
+ --clean-while-building
+ --source-repository "${source_repository}"
--source-version "${COMMIT}"
+ )
+ bash ./build.sh "${buildopts[@]}"
eend ${?} || die "build failed"
}
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-dotnet/dotnet-sdk/
@ 2024-02-02 23:06 Maciej Barć
0 siblings, 0 replies; 28+ messages in thread
From: Maciej Barć @ 2024-02-02 23:06 UTC (permalink / raw
To: gentoo-commits
commit: 8476661324dc5004b4bdd12c77d06a87b13b91ee
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 2 18:34:44 2024 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Fri Feb 2 23:06:27 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84766613
dev-dotnet/dotnet-sdk: log verbosity settings; set maxCpuCount
Bug: https://github.com/dotnet/source-build/discussions/4082
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.101.ebuild | 17 ++++++++++++++++-
1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.101.ebuild b/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.101.ebuild
index 7595aa29a8ac..1662f5f5ee6c 100644
--- a/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.101.ebuild
+++ b/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.101.ebuild
@@ -1,6 +1,7 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
+# Pre-build (and distribution preparation)
# Build the tarball:
# git clone --depth 1 -b v8.0.1 https://github.com/dotnet/dotnet dotnet-sdk-8.0.1
# cd dotnet-sdk-8.0.1
@@ -11,6 +12,11 @@
# tar -acf dotnet-sdk-8.0.101-prepared-gentoo-amd64.tar.xz dotnet-sdk-8.0.1
# Upload dotnet-sdk-8.0.101-prepared-gentoo-amd64.tar.xz
+# Build ("src_compile")
+# To learn about arguments that are passed to the "build.sh" script see:
+# https://github.com/dotnet/source-build/discussions/4082
+# User variable: GENTOO_DOTNET_BUILD_VERBOSITY - set other verbosity log level.
+
EAPI=8
COMMIT=b27976e5a6850466ee5b4ce24f91ee93bef645f7
@@ -20,7 +26,7 @@ RUNTIME_SLOT="${SDK_SLOT}.1"
LLVM_MAX_SLOT=17
PYTHON_COMPAT=( python3_{10..12} )
-inherit check-reqs flag-o-matic llvm python-any-r1
+inherit check-reqs flag-o-matic llvm multiprocessing python-any-r1
DESCRIPTION=".NET is a free, cross-platform, open-source developer platform"
HOMEPAGE="https://dotnet.microsoft.com/
@@ -140,12 +146,21 @@ src_compile() {
# The "source_repository" should always be the same.
local source_repository="https://github.com/dotnet/dotnet"
+ local verbosity="${GENTOO_DOTNET_BUILD_VERBOSITY:-minimal}"
ebegin "Building the .NET SDK ${SDK_SLOT}"
local -a buildopts=(
--clean-while-building
--source-repository "${source_repository}"
--source-version "${COMMIT}"
+
+ --
+ -maxCpuCount:"$(makeopts_jobs)"
+ -verbosity:"${verbosity}"
+ -p:ContinueOnPrebuiltBaselineError=true
+ -p:LogVerbosity="${verbosity}"
+ -p:MinimalConsoleLogOutput=false
+ -p:verbosity="${verbosity}"
)
bash ./build.sh "${buildopts[@]}"
eend ${?} || die "build failed"
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-dotnet/dotnet-sdk/
@ 2024-03-10 0:29 Maciej Barć
0 siblings, 0 replies; 28+ messages in thread
From: Maciej Barć @ 2024-03-10 0:29 UTC (permalink / raw
To: gentoo-commits
commit: d0ac1c58d53182eafb689245a629d636a2017869
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 10 00:27:06 2024 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sun Mar 10 00:29:23 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0ac1c58
dev-dotnet/dotnet-sdk: bump to 8.0.201
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
dev-dotnet/dotnet-sdk/Manifest | 2 +
dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.201.ebuild | 207 ++++++++++++++++++++++++
2 files changed, 209 insertions(+)
diff --git a/dev-dotnet/dotnet-sdk/Manifest b/dev-dotnet/dotnet-sdk/Manifest
index 9cc1b9d0d364..899db4dd7a0a 100644
--- a/dev-dotnet/dotnet-sdk/Manifest
+++ b/dev-dotnet/dotnet-sdk/Manifest
@@ -1,3 +1,5 @@
DIST dotnet-sdk-8.0.100-prepared-gentoo-amd64.tar.xz 1714535960 BLAKE2B fd6027b86168d8801b1d8a7bbb08e9c358918a7693b03fa4e7e43e2a58568a65d71e2c5907ec7c7a03b83685608cd16aa010706fb4d14cd44ab0f0669654c8c2 SHA512 75efdcf44383445bc81981e2077be03c7311db316e295aa7f960f50d65367cde9bd86351f345072feb827a569c8de4fa8c9829d92000d2cbeb312ee9ddc17b44
DIST dotnet-sdk-8.0.101-prepared-gentoo-amd64.tar.xz 1734234148 BLAKE2B 6fe6b9db8e8399d741c1c7c4b09f7047519fc61e452cc5b319a7e8070acf75685d409741a6fec6f020355a1e003585832c4900dd852d0554d4a456cdb9876598 SHA512 f2f07c647c607d02fc19eb045fa98224636ea5ba79cf9b2b8c28a1c0cbc77cc57bf5886268e94684ddaf5e3895c6c82fa62db11d53d7b8ffd1d31a0371eb4613
DIST dotnet-sdk-8.0.101-prepared-gentoo-musl-amd64.tar.xz 1736552596 BLAKE2B f533603b2d18aedb0c2715b0597973342cab0927f41215f93b6e139df7b666ad32d3cf92866388329d0a5ccd9b169c242a4d9179e03c14856f2572a1363d693b SHA512 0bf9c83fdd310425cb553b798357d0cb9a16608f1341f149a84acf66aa16ec4ff6f81d047c84c06f610d3a861e522c78005b63cec63f78e7e1eebdc80b8ec5a2
+DIST dotnet-sdk-8.0.201-prepared-gentoo-amd64.tar.xz 1794775828 BLAKE2B 72a12b5af020a7f7d77b45eefd147b6fed52889443bbf0a9c5464a8a35a9582af32b75587f73aea9d1eb72d053986d8a204904178f260b2c8532ad821389beaf SHA512 1f7727f22e91783aaec5bccd2324f9dc63700fc95625afebeeb3bde7a99a63754a086b38c1d0921b4536963cbfc53b9c995a2aca519e0edd529f542a89995924
+DIST dotnet-sdk-8.0.201-prepared-gentoo-musl-amd64.tar.xz 1790982284 BLAKE2B 010a1dee8e09402a22c0b45745a6ec7e511c88134ef984f51caa69051d7aec87dcb73392bc338508d5591ade1247e95f7708d4a83961ea665350b4ef29882e33 SHA512 611f96525ac98bae35592074d2f1d863c566080f4f52ca619546b547515f2962d9ae53317461e9bb803067d4381daab50f6c772134f9386bf36962998891563b
diff --git a/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.201.ebuild b/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.201.ebuild
new file mode 100644
index 000000000000..30849bfc89b0
--- /dev/null
+++ b/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.201.ebuild
@@ -0,0 +1,207 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Pre-build (and distribution preparation)
+# Build the tarball:
+# git clone --depth 1 -b v8.0.2 https://github.com/dotnet/dotnet dotnet-sdk-8.0.2
+# cd dotnet-sdk-8.0.2
+# git rev-parse HEAD
+# ./prep.sh
+# rm -fr .git
+# cd ..
+# tar -acf dotnet-sdk-8.0.201-prepared-gentoo-amd64.tar.xz dotnet-sdk-8.0.2
+# Upload dotnet-sdk-8.0.201-prepared-gentoo-amd64.tar.xz
+
+# Build ("src_compile")
+# To learn about arguments that are passed to the "build.sh" script see:
+# https://github.com/dotnet/source-build/discussions/4082
+# User variable: GENTOO_DOTNET_BUILD_VERBOSITY - set other verbosity log level.
+
+EAPI=8
+
+COMMIT=b27976e5a6850466ee5b4ce24f91ee93bef645f7
+SDK_SLOT="$(ver_cut 1-2)"
+RUNTIME_SLOT="${SDK_SLOT}.2"
+
+LLVM_MAX_SLOT=17
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit check-reqs flag-o-matic llvm multiprocessing 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? (
+ elibc_glibc? ( https://dev.gentoo.org/~xgqt/distfiles/repackaged/${P}-prepared-gentoo-amd64.tar.xz )
+ elibc_musl? ( https://dev.gentoo.org/~xgqt/distfiles/repackaged/${P}-prepared-gentoo-musl-amd64.tar.xz )
+)
+"
+S="${WORKDIR}/${PN}-${RUNTIME_SLOT}"
+
+LICENSE="MIT"
+SLOT="${SDK_SLOT}/${RUNTIME_SLOT}"
+KEYWORDS="~amd64"
+
+# STRIP="llvm-strip" corrupts some executables when using the patchelf hack.
+# Be safe and restrict it for source-built too, bug https://bugs.gentoo.org/923430
+RESTRICT="splitdebug strip"
+
+CURRENT_NUGETS_DEPEND="
+ ~dev-dotnet/dotnet-runtime-nugets-${RUNTIME_SLOT}
+"
+EXTRA_NUGETS_DEPEND="
+ ~dev-dotnet/dotnet-runtime-nugets-6.0.27
+ ~dev-dotnet/dotnet-runtime-nugets-7.0.16
+"
+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}
+ <sys-devel/clang-$(( LLVM_MAX_SLOT + 1 ))
+ dev-build/cmake
+ dev-vcs/git
+"
+IDEPEND="
+ app-eselect/eselect-dotnet
+"
+PDEPEND="
+ ${NUGETS_DEPEND}
+"
+
+CHECKREQS_DISK_BUILD="20G"
+
+# Created by dotnet itself:
+QA_PREBUILT="
+usr/lib.*/dotnet-sdk-.*/dotnet
+"
+# .NET runtime, better to not touch it if they want some specific flags.
+QA_FLAGS_IGNORED="
+.*/apphost
+.*/createdump
+.*/libSystem.Globalization.Native.so
+.*/libSystem.IO.Compression.Native.so
+.*/libSystem.Native.so
+.*/libSystem.Net.Security.Native.so
+.*/libSystem.Security.Cryptography.Native.OpenSsl.so
+.*/libclrgc.so
+.*/libclrjit.so
+.*/libcoreclr.so
+.*/libcoreclrtraceptprovider.so
+.*/libhostfxr.so
+.*/libhostpolicy.so
+.*/libmscordaccore.so
+.*/libmscordbi.so
+.*/libnethost.so
+.*/singlefilehost
+"
+
+pkg_setup() {
+ check-reqs_pkg_setup
+ llvm_pkg_setup
+ python-any-r1_pkg_setup
+
+ if [[ "${MERGE_TYPE}" != binary ]] ; then
+ if use elibc_glibc ; then
+ local locales
+ locales="$(locale -a)"
+
+ if has en_US.utf8 ${locales} ; then
+ LC_ALL=en_US.utf8
+ elif has en_US.UTF-8 ${locales} ; then
+ LC_ALL=en_US.UTF-8
+ else
+ eerror "The locale en_US.utf8 or en_US.UTF-8 is not available."
+ eerror "Please generate en_US.UTF-8 before building ${CATEGORY}/${P}."
+
+ die "Could not switch to the en_US.UTF-8 locale."
+ fi
+ else
+ LC_ALL=en_US.UTF-8
+ fi
+
+ export LC_ALL
+ einfo "Successfully switched to the ${LC_ALL} locale."
+ fi
+}
+
+src_prepare() {
+ default
+
+ filter-lto
+
+ unset DOTNET_ROOT
+ unset NUGET_PACKAGES
+
+ export DOTNET_CLI_TELEMETRY_OPTOUT=1
+ export DOTNET_SKIP_FIRST_TIME_EXPERIENCE=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"
+ local verbosity="${GENTOO_DOTNET_BUILD_VERBOSITY:-minimal}"
+
+ ebegin "Building the .NET SDK ${SDK_SLOT}"
+ local -a buildopts=(
+ --clean-while-building
+ --source-repository "${source_repository}"
+ --source-version "${COMMIT}"
+
+ --
+ -maxCpuCount:"$(makeopts_jobs)"
+ -verbosity:"${verbosity}"
+ -p:ContinueOnPrebuiltBaselineError=true
+ -p:LogVerbosity="${verbosity}"
+ -p:MinimalConsoleLogOutput=false
+ -p:verbosity="${verbosity}"
+ )
+ bash ./build.sh "${buildopts[@]}"
+ 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
+}
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-dotnet/dotnet-sdk/
@ 2024-03-10 5:43 Sam James
0 siblings, 0 replies; 28+ messages in thread
From: Sam James @ 2024-03-10 5:43 UTC (permalink / raw
To: gentoo-commits
commit: e371658c1cd9fa5be89cdb5d14f64b4b1246af68
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 10 05:43:22 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Mar 10 05:43:22 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e371658c
dev-dotnet/dotnet-sdk: Stabilize 8.0.101 amd64, #926441
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.101.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.101.ebuild b/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.101.ebuild
index 1662f5f5ee6c..7bd1126ddb90 100644
--- a/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.101.ebuild
+++ b/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.101.ebuild
@@ -41,7 +41,7 @@ S="${WORKDIR}/${PN}-${RUNTIME_SLOT}"
LICENSE="MIT"
SLOT="${SDK_SLOT}/${RUNTIME_SLOT}"
-KEYWORDS="~amd64"
+KEYWORDS="amd64"
# STRIP="llvm-strip" corrupts some executables when using the patchelf hack.
# Be safe and restrict it for source-built too, bug https://bugs.gentoo.org/923430
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-dotnet/dotnet-sdk/
@ 2024-03-11 4:49 Maciej Barć
0 siblings, 0 replies; 28+ messages in thread
From: Maciej Barć @ 2024-03-11 4:49 UTC (permalink / raw
To: gentoo-commits
commit: 135e5ea0a33d8f57120e0225d7055205bd6fb578
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 11 01:49:37 2024 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Mon Mar 11 04:49:56 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=135e5ea0
dev-dotnet/dotnet-sdk: correct to the actual version used by tarball
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
dev-dotnet/dotnet-sdk/Manifest | 4 ++--
.../{dotnet-sdk-8.0.201.ebuild => dotnet-sdk-8.0.102.ebuild} | 0
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dev-dotnet/dotnet-sdk/Manifest b/dev-dotnet/dotnet-sdk/Manifest
index 899db4dd7a0a..ffa8887bb98e 100644
--- a/dev-dotnet/dotnet-sdk/Manifest
+++ b/dev-dotnet/dotnet-sdk/Manifest
@@ -1,5 +1,5 @@
DIST dotnet-sdk-8.0.100-prepared-gentoo-amd64.tar.xz 1714535960 BLAKE2B fd6027b86168d8801b1d8a7bbb08e9c358918a7693b03fa4e7e43e2a58568a65d71e2c5907ec7c7a03b83685608cd16aa010706fb4d14cd44ab0f0669654c8c2 SHA512 75efdcf44383445bc81981e2077be03c7311db316e295aa7f960f50d65367cde9bd86351f345072feb827a569c8de4fa8c9829d92000d2cbeb312ee9ddc17b44
DIST dotnet-sdk-8.0.101-prepared-gentoo-amd64.tar.xz 1734234148 BLAKE2B 6fe6b9db8e8399d741c1c7c4b09f7047519fc61e452cc5b319a7e8070acf75685d409741a6fec6f020355a1e003585832c4900dd852d0554d4a456cdb9876598 SHA512 f2f07c647c607d02fc19eb045fa98224636ea5ba79cf9b2b8c28a1c0cbc77cc57bf5886268e94684ddaf5e3895c6c82fa62db11d53d7b8ffd1d31a0371eb4613
DIST dotnet-sdk-8.0.101-prepared-gentoo-musl-amd64.tar.xz 1736552596 BLAKE2B f533603b2d18aedb0c2715b0597973342cab0927f41215f93b6e139df7b666ad32d3cf92866388329d0a5ccd9b169c242a4d9179e03c14856f2572a1363d693b SHA512 0bf9c83fdd310425cb553b798357d0cb9a16608f1341f149a84acf66aa16ec4ff6f81d047c84c06f610d3a861e522c78005b63cec63f78e7e1eebdc80b8ec5a2
-DIST dotnet-sdk-8.0.201-prepared-gentoo-amd64.tar.xz 1794775828 BLAKE2B 72a12b5af020a7f7d77b45eefd147b6fed52889443bbf0a9c5464a8a35a9582af32b75587f73aea9d1eb72d053986d8a204904178f260b2c8532ad821389beaf SHA512 1f7727f22e91783aaec5bccd2324f9dc63700fc95625afebeeb3bde7a99a63754a086b38c1d0921b4536963cbfc53b9c995a2aca519e0edd529f542a89995924
-DIST dotnet-sdk-8.0.201-prepared-gentoo-musl-amd64.tar.xz 1790982284 BLAKE2B 010a1dee8e09402a22c0b45745a6ec7e511c88134ef984f51caa69051d7aec87dcb73392bc338508d5591ade1247e95f7708d4a83961ea665350b4ef29882e33 SHA512 611f96525ac98bae35592074d2f1d863c566080f4f52ca619546b547515f2962d9ae53317461e9bb803067d4381daab50f6c772134f9386bf36962998891563b
+DIST dotnet-sdk-8.0.102-prepared-gentoo-amd64.tar.xz 1794775828 BLAKE2B 72a12b5af020a7f7d77b45eefd147b6fed52889443bbf0a9c5464a8a35a9582af32b75587f73aea9d1eb72d053986d8a204904178f260b2c8532ad821389beaf SHA512 1f7727f22e91783aaec5bccd2324f9dc63700fc95625afebeeb3bde7a99a63754a086b38c1d0921b4536963cbfc53b9c995a2aca519e0edd529f542a89995924
+DIST dotnet-sdk-8.0.102-prepared-gentoo-musl-amd64.tar.xz 1790982284 BLAKE2B 010a1dee8e09402a22c0b45745a6ec7e511c88134ef984f51caa69051d7aec87dcb73392bc338508d5591ade1247e95f7708d4a83961ea665350b4ef29882e33 SHA512 611f96525ac98bae35592074d2f1d863c566080f4f52ca619546b547515f2962d9ae53317461e9bb803067d4381daab50f6c772134f9386bf36962998891563b
diff --git a/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.201.ebuild b/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.102.ebuild
similarity index 100%
rename from dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.201.ebuild
rename to dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.102.ebuild
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-dotnet/dotnet-sdk/
@ 2024-03-11 4:49 Maciej Barć
0 siblings, 0 replies; 28+ messages in thread
From: Maciej Barć @ 2024-03-11 4:49 UTC (permalink / raw
To: gentoo-commits
commit: 7d6e7c881f74921671dd342bc8de31fd3f85d879
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 11 04:46:18 2024 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Mon Mar 11 04:49:57 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d6e7c88
dev-dotnet/dotnet-sdk: drop old 8.0.100-r2
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
dev-dotnet/dotnet-sdk/Manifest | 1 -
dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.100-r2.ebuild | 176 ---------------------
2 files changed, 177 deletions(-)
diff --git a/dev-dotnet/dotnet-sdk/Manifest b/dev-dotnet/dotnet-sdk/Manifest
index ffa8887bb98e..24348222dde5 100644
--- a/dev-dotnet/dotnet-sdk/Manifest
+++ b/dev-dotnet/dotnet-sdk/Manifest
@@ -1,4 +1,3 @@
-DIST dotnet-sdk-8.0.100-prepared-gentoo-amd64.tar.xz 1714535960 BLAKE2B fd6027b86168d8801b1d8a7bbb08e9c358918a7693b03fa4e7e43e2a58568a65d71e2c5907ec7c7a03b83685608cd16aa010706fb4d14cd44ab0f0669654c8c2 SHA512 75efdcf44383445bc81981e2077be03c7311db316e295aa7f960f50d65367cde9bd86351f345072feb827a569c8de4fa8c9829d92000d2cbeb312ee9ddc17b44
DIST dotnet-sdk-8.0.101-prepared-gentoo-amd64.tar.xz 1734234148 BLAKE2B 6fe6b9db8e8399d741c1c7c4b09f7047519fc61e452cc5b319a7e8070acf75685d409741a6fec6f020355a1e003585832c4900dd852d0554d4a456cdb9876598 SHA512 f2f07c647c607d02fc19eb045fa98224636ea5ba79cf9b2b8c28a1c0cbc77cc57bf5886268e94684ddaf5e3895c6c82fa62db11d53d7b8ffd1d31a0371eb4613
DIST dotnet-sdk-8.0.101-prepared-gentoo-musl-amd64.tar.xz 1736552596 BLAKE2B f533603b2d18aedb0c2715b0597973342cab0927f41215f93b6e139df7b666ad32d3cf92866388329d0a5ccd9b169c242a4d9179e03c14856f2572a1363d693b SHA512 0bf9c83fdd310425cb553b798357d0cb9a16608f1341f149a84acf66aa16ec4ff6f81d047c84c06f610d3a861e522c78005b63cec63f78e7e1eebdc80b8ec5a2
DIST dotnet-sdk-8.0.102-prepared-gentoo-amd64.tar.xz 1794775828 BLAKE2B 72a12b5af020a7f7d77b45eefd147b6fed52889443bbf0a9c5464a8a35a9582af32b75587f73aea9d1eb72d053986d8a204904178f260b2c8532ad821389beaf SHA512 1f7727f22e91783aaec5bccd2324f9dc63700fc95625afebeeb3bde7a99a63754a086b38c1d0921b4536963cbfc53b9c995a2aca519e0edd529f542a89995924
diff --git a/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.100-r2.ebuild b/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.100-r2.ebuild
deleted file mode 100644
index 2132c04306d6..000000000000
--- a/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.100-r2.ebuild
+++ /dev/null
@@ -1,176 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-# Build the tarball:
-# - "$" - shell command,
-# - ">" - manual action.
-# $ git clone --depth 1 -b v8.0.0 https://github.com/dotnet/dotnet \
-# dotnet-sdk-8.0.0
-# $ cd dotnet-sdk-8.0.0
-# > Note the checkout tag hash.
-# $ ./prep.sh
-# $ rm -fr .git
-# $ cd ..
-# $ tar --create --auto-compress --file \
-# dotnet-sdk-8.0.100-prepared-gentoo-amd64.tar.xz dotnet-sdk-8.0.0
-# > Upload dotnet-sdk-8.0.0_rc1234194-prepared-gentoo-amd64.tar.xz
-
-EAPI=8
-
-COMMIT=113d797bc90104bb4f1cc51e1a462cf3d4ef18fc
-
-LLVM_MAX_SLOT=16
-PYTHON_COMPAT=( python3_{10..12} )
-
-inherit check-reqs flag-o-matic 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"
-SLOT="${SDK_SLOT}/${RUNTIME_SLOT}"
-
-# SDK reports it is version "8.0.100" but the tag .NET SDK team had given
-# it is "8.0.0". I feel that the pattern is to tag based on "RUNTIME_SLOT".
-S="${WORKDIR}/${PN}-${RUNTIME_SLOT}"
-
-LICENSE="MIT"
-KEYWORDS="amd64"
-
-# STRIP="llvm-strip" corrupts some executables when using the patchelf hack.
-# Be safe and restrict it for source-built too, bug https://bugs.gentoo.org/923430
-RESTRICT="splitdebug strip"
-
-CURRENT_NUGETS_DEPEND="
- ~dev-dotnet/dotnet-runtime-nugets-${RUNTIME_SLOT}
-"
-EXTRA_NUGETS_DEPEND="
- ~dev-dotnet/dotnet-runtime-nugets-6.0.25
- ~dev-dotnet/dotnet-runtime-nugets-7.0.14
-"
-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}
- <sys-devel/clang-$(( LLVM_MAX_SLOT + 1 ))
- dev-build/cmake
- dev-vcs/git
-"
-IDEPEND="
- app-eselect/eselect-dotnet
-"
-PDEPEND="
- ${NUGETS_DEPEND}
-"
-
-CHECKREQS_DISK_BUILD="20G"
-
-# QA_PREBUILT="*" # TODO: Which binaries are created by dotnet itself?
-
-pkg_setup() {
- check-reqs_pkg_setup
- llvm_pkg_setup
- python-any-r1_pkg_setup
-
- if [[ "${MERGE_TYPE}" != binary ]] ; then
- if use elibc_glibc ; then
- local locales
- locales="$(locale -a)"
-
- if has en_US.utf8 ${locales} ; then
- LC_ALL=en_US.utf8
- elif has en_US.UTF-8 ${locales} ; then
- LC_ALL=en_US.UTF-8
- else
- eerror "The locale en_US.utf8 or en_US.UTF-8 is not available."
- eerror "Please generate en_US.UTF-8 before building ${CATEGORY}/${P}."
-
- die "Could not switch to the en_US.UTF-8 locale."
- fi
- else
- LC_ALL=en_US.UTF-8
- fi
-
- export LC_ALL
- einfo "Successfully switched to the ${LC_ALL} locale."
- fi
-}
-
-src_prepare() {
- default
-
- filter-lto
-
- unset DOTNET_ROOT
- unset NUGET_PACKAGES
-
- export DOTNET_CLI_TELEMETRY_OPTOUT=1
- export DOTNET_SKIP_FIRST_TIME_EXPERIENCE=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"
-
- ebegin "Building the .NET SDK ${SDK_SLOT}"
- local -a buildopts=(
- --clean-while-building
- --source-repository "${source_repository}"
- --source-version "${COMMIT}"
- )
- bash ./build.sh "${buildopts[@]}"
- 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
-}
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-dotnet/dotnet-sdk/
@ 2024-03-11 4:49 Maciej Barć
0 siblings, 0 replies; 28+ messages in thread
From: Maciej Barć @ 2024-03-11 4:49 UTC (permalink / raw
To: gentoo-commits
commit: 216027022567af13721621cd0262aabdac3cdc4e
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 11 01:47:27 2024 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Mon Mar 11 04:49:56 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21602702
dev-dotnet/dotnet-sdk: correct the used dotnet repo commit
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.201.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.201.ebuild b/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.201.ebuild
index 30849bfc89b0..5bf1be3a2689 100644
--- a/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.201.ebuild
+++ b/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.201.ebuild
@@ -19,7 +19,7 @@
EAPI=8
-COMMIT=b27976e5a6850466ee5b4ce24f91ee93bef645f7
+COMMIT=d396b0c4d3e51c2d8d679b2f7233912bc5bfc2fa
SDK_SLOT="$(ver_cut 1-2)"
RUNTIME_SLOT="${SDK_SLOT}.2"
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-dotnet/dotnet-sdk/
@ 2024-04-07 16:20 Maciej Barć
0 siblings, 0 replies; 28+ messages in thread
From: Maciej Barć @ 2024-04-07 16:20 UTC (permalink / raw
To: gentoo-commits
commit: 6d9a22f367d01196e3ac470d87766c26b0780560
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 7 14:29:24 2024 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sun Apr 7 16:20:05 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d9a22f3
dev-dotnet/dotnet-sdk: also apply runtime-64.patch to 102
Closes: https://bugs.gentoo.org/928742
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.102.ebuild | 3 +++
1 file changed, 3 insertions(+)
diff --git a/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.102.ebuild b/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.102.ebuild
index 5bf1be3a2689..6eea4fc79aef 100644
--- a/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.102.ebuild
+++ b/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.102.ebuild
@@ -79,6 +79,9 @@ PDEPEND="
"
CHECKREQS_DISK_BUILD="20G"
+PATCHES=(
+ "${FILESDIR}/${PN}-8.0.101-runtime-64.patch"
+)
# Created by dotnet itself:
QA_PREBUILT="
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-dotnet/dotnet-sdk/
@ 2024-04-11 4:55 Arthur Zamarin
0 siblings, 0 replies; 28+ messages in thread
From: Arthur Zamarin @ 2024-04-11 4:55 UTC (permalink / raw
To: gentoo-commits
commit: f373030da9b2cb0beb5e790779502074f36fa283
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 11 04:55:35 2024 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu Apr 11 04:55:35 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f373030d
dev-dotnet/dotnet-sdk: Stabilize 8.0.102 amd64, #929109
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.102.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.102.ebuild b/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.102.ebuild
index 6eea4fc79aef..49051dc868f3 100644
--- a/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.102.ebuild
+++ b/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.102.ebuild
@@ -41,7 +41,7 @@ S="${WORKDIR}/${PN}-${RUNTIME_SLOT}"
LICENSE="MIT"
SLOT="${SDK_SLOT}/${RUNTIME_SLOT}"
-KEYWORDS="~amd64"
+KEYWORDS="amd64"
# STRIP="llvm-strip" corrupts some executables when using the patchelf hack.
# Be safe and restrict it for source-built too, bug https://bugs.gentoo.org/923430
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-dotnet/dotnet-sdk/
@ 2024-04-14 21:57 Maciej Barć
0 siblings, 0 replies; 28+ messages in thread
From: Maciej Barć @ 2024-04-14 21:57 UTC (permalink / raw
To: gentoo-commits
commit: 9a1672ed9a28f1f29979e72488267ac5997630cf
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 14 21:37:48 2024 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sun Apr 14 21:57:35 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a1672ed
dev-dotnet/dotnet-sdk: drop old 8.0.101
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
dev-dotnet/dotnet-sdk/Manifest | 2 -
dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.101.ebuild | 187 ------------------------
2 files changed, 189 deletions(-)
diff --git a/dev-dotnet/dotnet-sdk/Manifest b/dev-dotnet/dotnet-sdk/Manifest
index 24348222dde5..17ceacd14c99 100644
--- a/dev-dotnet/dotnet-sdk/Manifest
+++ b/dev-dotnet/dotnet-sdk/Manifest
@@ -1,4 +1,2 @@
-DIST dotnet-sdk-8.0.101-prepared-gentoo-amd64.tar.xz 1734234148 BLAKE2B 6fe6b9db8e8399d741c1c7c4b09f7047519fc61e452cc5b319a7e8070acf75685d409741a6fec6f020355a1e003585832c4900dd852d0554d4a456cdb9876598 SHA512 f2f07c647c607d02fc19eb045fa98224636ea5ba79cf9b2b8c28a1c0cbc77cc57bf5886268e94684ddaf5e3895c6c82fa62db11d53d7b8ffd1d31a0371eb4613
-DIST dotnet-sdk-8.0.101-prepared-gentoo-musl-amd64.tar.xz 1736552596 BLAKE2B f533603b2d18aedb0c2715b0597973342cab0927f41215f93b6e139df7b666ad32d3cf92866388329d0a5ccd9b169c242a4d9179e03c14856f2572a1363d693b SHA512 0bf9c83fdd310425cb553b798357d0cb9a16608f1341f149a84acf66aa16ec4ff6f81d047c84c06f610d3a861e522c78005b63cec63f78e7e1eebdc80b8ec5a2
DIST dotnet-sdk-8.0.102-prepared-gentoo-amd64.tar.xz 1794775828 BLAKE2B 72a12b5af020a7f7d77b45eefd147b6fed52889443bbf0a9c5464a8a35a9582af32b75587f73aea9d1eb72d053986d8a204904178f260b2c8532ad821389beaf SHA512 1f7727f22e91783aaec5bccd2324f9dc63700fc95625afebeeb3bde7a99a63754a086b38c1d0921b4536963cbfc53b9c995a2aca519e0edd529f542a89995924
DIST dotnet-sdk-8.0.102-prepared-gentoo-musl-amd64.tar.xz 1790982284 BLAKE2B 010a1dee8e09402a22c0b45745a6ec7e511c88134ef984f51caa69051d7aec87dcb73392bc338508d5591ade1247e95f7708d4a83961ea665350b4ef29882e33 SHA512 611f96525ac98bae35592074d2f1d863c566080f4f52ca619546b547515f2962d9ae53317461e9bb803067d4381daab50f6c772134f9386bf36962998891563b
diff --git a/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.101.ebuild b/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.101.ebuild
deleted file mode 100644
index 7bd1126ddb90..000000000000
--- a/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.101.ebuild
+++ /dev/null
@@ -1,187 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-# Pre-build (and distribution preparation)
-# Build the tarball:
-# git clone --depth 1 -b v8.0.1 https://github.com/dotnet/dotnet dotnet-sdk-8.0.1
-# cd dotnet-sdk-8.0.1
-# git rev-parse HEAD
-# ./prep.sh
-# rm -fr .git
-# cd ..
-# tar -acf dotnet-sdk-8.0.101-prepared-gentoo-amd64.tar.xz dotnet-sdk-8.0.1
-# Upload dotnet-sdk-8.0.101-prepared-gentoo-amd64.tar.xz
-
-# Build ("src_compile")
-# To learn about arguments that are passed to the "build.sh" script see:
-# https://github.com/dotnet/source-build/discussions/4082
-# User variable: GENTOO_DOTNET_BUILD_VERBOSITY - set other verbosity log level.
-
-EAPI=8
-
-COMMIT=b27976e5a6850466ee5b4ce24f91ee93bef645f7
-SDK_SLOT="$(ver_cut 1-2)"
-RUNTIME_SLOT="${SDK_SLOT}.1"
-
-LLVM_MAX_SLOT=17
-PYTHON_COMPAT=( python3_{10..12} )
-
-inherit check-reqs flag-o-matic llvm multiprocessing 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? (
- elibc_glibc? ( https://dev.gentoo.org/~xgqt/distfiles/repackaged/${P}-prepared-gentoo-amd64.tar.xz )
- elibc_musl? ( https://dev.gentoo.org/~xgqt/distfiles/repackaged/${P}-prepared-gentoo-musl-amd64.tar.xz )
-)
-"
-S="${WORKDIR}/${PN}-${RUNTIME_SLOT}"
-
-LICENSE="MIT"
-SLOT="${SDK_SLOT}/${RUNTIME_SLOT}"
-KEYWORDS="amd64"
-
-# STRIP="llvm-strip" corrupts some executables when using the patchelf hack.
-# Be safe and restrict it for source-built too, bug https://bugs.gentoo.org/923430
-RESTRICT="splitdebug strip"
-
-CURRENT_NUGETS_DEPEND="
- ~dev-dotnet/dotnet-runtime-nugets-${RUNTIME_SLOT}
-"
-EXTRA_NUGETS_DEPEND="
- ~dev-dotnet/dotnet-runtime-nugets-6.0.26
- ~dev-dotnet/dotnet-runtime-nugets-7.0.15
-"
-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}
- <sys-devel/clang-$(( LLVM_MAX_SLOT + 1 ))
- dev-build/cmake
- dev-vcs/git
-"
-IDEPEND="
- app-eselect/eselect-dotnet
-"
-PDEPEND="
- ${NUGETS_DEPEND}
-"
-
-CHECKREQS_DISK_BUILD="20G"
-PATCHES=(
- "${FILESDIR}/${PN}-8.0.101-runtime-64.patch"
-)
-
-# QA_PREBUILT="*" # TODO: Which binaries are created by dotnet itself?
-
-pkg_setup() {
- check-reqs_pkg_setup
- llvm_pkg_setup
- python-any-r1_pkg_setup
-
- if [[ "${MERGE_TYPE}" != binary ]] ; then
- if use elibc_glibc ; then
- local locales
- locales="$(locale -a)"
-
- if has en_US.utf8 ${locales} ; then
- LC_ALL=en_US.utf8
- elif has en_US.UTF-8 ${locales} ; then
- LC_ALL=en_US.UTF-8
- else
- eerror "The locale en_US.utf8 or en_US.UTF-8 is not available."
- eerror "Please generate en_US.UTF-8 before building ${CATEGORY}/${P}."
-
- die "Could not switch to the en_US.UTF-8 locale."
- fi
- else
- LC_ALL=en_US.UTF-8
- fi
-
- export LC_ALL
- einfo "Successfully switched to the ${LC_ALL} locale."
- fi
-}
-
-src_prepare() {
- default
-
- filter-lto
-
- unset DOTNET_ROOT
- unset NUGET_PACKAGES
-
- export DOTNET_CLI_TELEMETRY_OPTOUT=1
- export DOTNET_SKIP_FIRST_TIME_EXPERIENCE=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"
- local verbosity="${GENTOO_DOTNET_BUILD_VERBOSITY:-minimal}"
-
- ebegin "Building the .NET SDK ${SDK_SLOT}"
- local -a buildopts=(
- --clean-while-building
- --source-repository "${source_repository}"
- --source-version "${COMMIT}"
-
- --
- -maxCpuCount:"$(makeopts_jobs)"
- -verbosity:"${verbosity}"
- -p:ContinueOnPrebuiltBaselineError=true
- -p:LogVerbosity="${verbosity}"
- -p:MinimalConsoleLogOutput=false
- -p:verbosity="${verbosity}"
- )
- bash ./build.sh "${buildopts[@]}"
- 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
-}
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-dotnet/dotnet-sdk/
@ 2024-05-10 17:22 Maciej Barć
0 siblings, 0 replies; 28+ messages in thread
From: Maciej Barć @ 2024-05-10 17:22 UTC (permalink / raw
To: gentoo-commits
commit: 7c9c54240012d0e69be44abb78d0cb14883faed0
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Fri May 10 17:21:20 2024 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Fri May 10 17:22:17 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c9c5424
dev-dotnet/dotnet-sdk: check for locales in pkg_pretend
Bug: https://bugs.gentoo.org/931648
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.102.ebuild | 20 +++++++++++++++-----
1 file changed, 15 insertions(+), 5 deletions(-)
diff --git a/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.102.ebuild b/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.102.ebuild
index 49051dc868f3..483499226303 100644
--- a/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.102.ebuild
+++ b/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.102.ebuild
@@ -108,11 +108,7 @@ QA_FLAGS_IGNORED="
.*/singlefilehost
"
-pkg_setup() {
- check-reqs_pkg_setup
- llvm_pkg_setup
- python-any-r1_pkg_setup
-
+check_requirements_locale() {
if [[ "${MERGE_TYPE}" != binary ]] ; then
if use elibc_glibc ; then
local locales
@@ -137,6 +133,20 @@ pkg_setup() {
fi
}
+pkg_pretend() {
+ check-reqs_pkg_pretend
+
+ check_requirements_locale
+}
+
+pkg_setup() {
+ check-reqs_pkg_setup
+ llvm_pkg_setup
+ python-any-r1_pkg_setup
+
+ check_requirements_locale
+}
+
src_prepare() {
default
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-dotnet/dotnet-sdk/
@ 2024-05-17 0:32 Maciej Barć
0 siblings, 0 replies; 28+ messages in thread
From: Maciej Barć @ 2024-05-17 0:32 UTC (permalink / raw
To: gentoo-commits
commit: 292cef89e0028bf24bc31d96b5e7454537c0bc55
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Thu May 16 23:29:26 2024 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Fri May 17 00:32:47 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=292cef89
dev-dotnet/dotnet-sdk: enable building with any lttng-ust
Closes: https://bugs.gentoo.org/931991
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
.../{dotnet-sdk-8.0.102.ebuild => dotnet-sdk-8.0.102-r1.ebuild} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.102.ebuild b/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.102-r1.ebuild
similarity index 99%
rename from dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.102.ebuild
rename to dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.102-r1.ebuild
index 483499226303..982744ca426b 100644
--- a/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.102.ebuild
+++ b/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.102-r1.ebuild
@@ -62,7 +62,7 @@ RDEPEND="
app-crypt/mit-krb5:0/0
dev-libs/icu
dev-libs/openssl:=
- dev-util/lttng-ust:0/2.12
+ dev-util/lttng-ust:=
sys-libs/zlib:0/1
"
BDEPEND="
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-dotnet/dotnet-sdk/
@ 2024-05-17 0:32 Maciej Barć
0 siblings, 0 replies; 28+ messages in thread
From: Maciej Barć @ 2024-05-17 0:32 UTC (permalink / raw
To: gentoo-commits
commit: f85cdae32d080591e1b24ce8f0419e68016b3c0c
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Thu May 16 23:31:38 2024 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Fri May 17 00:32:47 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f85cdae3
dev-dotnet/dotnet-sdk: bump python compat
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.102-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.102-r1.ebuild b/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.102-r1.ebuild
index 982744ca426b..b13b6bf6d2a1 100644
--- a/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.102-r1.ebuild
+++ b/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.102-r1.ebuild
@@ -24,7 +24,7 @@ SDK_SLOT="$(ver_cut 1-2)"
RUNTIME_SLOT="${SDK_SLOT}.2"
LLVM_MAX_SLOT=17
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( python3_{10..13} )
inherit check-reqs flag-o-matic llvm multiprocessing python-any-r1
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-dotnet/dotnet-sdk/
@ 2024-07-31 0:03 Maciej Barć
0 siblings, 0 replies; 28+ messages in thread
From: Maciej Barć @ 2024-07-31 0:03 UTC (permalink / raw
To: gentoo-commits
commit: 19674cd1eccec7acfff868e6b01eebcd44fde972
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 30 22:40:02 2024 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Wed Jul 31 00:02:52 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19674cd1
dev-dotnet/dotnet-sdk: bump to 8.0.107
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
dev-dotnet/dotnet-sdk/Manifest | 2 +
dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.107.ebuild | 225 ++++++++++++++++++++++++
2 files changed, 227 insertions(+)
diff --git a/dev-dotnet/dotnet-sdk/Manifest b/dev-dotnet/dotnet-sdk/Manifest
index 2af82484db67..30f0ba089773 100644
--- a/dev-dotnet/dotnet-sdk/Manifest
+++ b/dev-dotnet/dotnet-sdk/Manifest
@@ -1,2 +1,4 @@
DIST dotnet-sdk-8.0.105-prepared-gentoo-amd64.tar.xz 1774585908 BLAKE2B c8c14bb513e9421ed04df81bf4388a7b84333ff76cf678f5adfb658d4c32d4e3c90ad8f78676261cb0148d1f1a3f4763e4a4aad9e7d822f94c943ec6ca81f872 SHA512 6032f34c92c046fade8edf1e4c86b315e6f51ae38b7d505084b2903f6a883dcb9c3b17a67d2da28daffcf6f3bc4e2ebd19b481f2842716fad910fbc663980c8a
DIST dotnet-sdk-8.0.105-prepared-gentoo-musl-amd64.tar.xz 1788053336 BLAKE2B 5cf9328ec19413ed6c82adb48f70346197e2d76926ab752c81c77fde94782c19a30f52aab07e2ddc7545280821bf64251de42afece08b5bcd0d52eceefca3064 SHA512 73b906a282d059e3829841f78e45b58beab980eb8a1c23857746af20630b1070ce9fca1e38d837d78ab039dc40273dc732be4b3ba10978df00dfdaa320dfd77e
+DIST dotnet-sdk-8.0.107-prepared-gentoo-amd64.tar.xz 1792165680 BLAKE2B 08d380090ef6475cae9a102383d0d925089733cb69f0cc97fa8fedb39ed17fcd50d5e17e5a10009640b30476220588bfd254de0c49362bfca8c015d677d58d87 SHA512 2362487033b6401e578918feabecb7d981fd87b4ab6bf09d61e5d62482c44ea6d6dd9f7fa5957abba7c537a8931d4487dd8c01ad86122af9b716bc817bed1564
+DIST dotnet-sdk-8.0.107-prepared-gentoo-musl-amd64.tar.xz 1785364676 BLAKE2B 50782e24f48484e0e4bfb03f08e3a67060eb5eb15e03f09036147b041828c1ddd039cf1eae03e9c48e0197c78f68532ff4e74b7cbfbbeaf59e70262190868aa5 SHA512 b196c7fea4f75bd39093148cf4d5034773fd1aa03024ca0fddc6a117c009555b8b125d7452df071181947957ba042f964e63e8ec6d18cebb62a766add7de50db
diff --git a/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.107.ebuild b/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.107.ebuild
new file mode 100644
index 000000000000..0009a1c7aedc
--- /dev/null
+++ b/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.107.ebuild
@@ -0,0 +1,225 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Pre-build (and distribution preparation)
+# Build the tarball:
+# git clone --depth 1 -b v8.0.7 https://github.com/dotnet/dotnet dotnet-sdk-8.0.7
+# cd dotnet-sdk-8.0.7
+# git rev-parse HEAD
+# ./prep.sh
+# rm -fr .git
+# cd ..
+# tar -acf dotnet-sdk-8.0.107-prepared-gentoo-amd64.tar.xz dotnet-sdk-8.0.7
+# Upload dotnet-sdk-8.0.107-prepared-gentoo-amd64.tar.xz
+
+# Build ("src_compile")
+# To learn about arguments that are passed to the "build.sh" script see:
+# https://github.com/dotnet/source-build/discussions/4082
+# User variable: GENTOO_DOTNET_BUILD_VERBOSITY - set other verbosity log level.
+
+EAPI=8
+
+COMMIT="8be139ddde52d33e24c7d82f813248ff9fc54b97"
+SDK_SLOT="$(ver_cut 1-2)"
+RUNTIME_SLOT="${SDK_SLOT}.7"
+
+LLVM_COMPAT=( {17..18} )
+PYTHON_COMPAT=( python3_{11..13} )
+
+inherit check-reqs flag-o-matic llvm-r1 multiprocessing 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? (
+ elibc_glibc? (
+ https://dev.gentoo.org/~xgqt/distfiles/repackaged/${P}-prepared-gentoo-amd64.tar.xz
+ )
+ elibc_musl? (
+ https://dev.gentoo.org/~xgqt/distfiles/repackaged/${P}-prepared-gentoo-musl-amd64.tar.xz
+ )
+)
+"
+S="${WORKDIR}/${PN}-${RUNTIME_SLOT}"
+
+LICENSE="MIT"
+SLOT="${SDK_SLOT}/${RUNTIME_SLOT}"
+KEYWORDS="~amd64"
+
+# STRIP="llvm-strip" corrupts some executables when using the patchelf hack.
+# Be safe and restrict it for source-built too, bug https://bugs.gentoo.org/923430
+RESTRICT="splitdebug strip"
+
+CURRENT_NUGETS_DEPEND="
+ ~dev-dotnet/dotnet-runtime-nugets-${RUNTIME_SLOT}
+"
+EXTRA_NUGETS_DEPEND="
+ ~dev-dotnet/dotnet-runtime-nugets-6.0.32
+ ~dev-dotnet/dotnet-runtime-nugets-7.0.20
+"
+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:=
+ sys-libs/zlib:0/1
+"
+BDEPEND="
+ ${PYTHON_DEPS}
+ dev-build/cmake
+ dev-vcs/git
+ $(llvm_gen_dep '
+ sys-devel/clang:${LLVM_SLOT}
+ sys-devel/llvm:${LLVM_SLOT}
+ ')
+"
+IDEPEND="
+ app-eselect/eselect-dotnet
+"
+PDEPEND="
+ ${NUGETS_DEPEND}
+"
+
+CHECKREQS_DISK_BUILD="20G"
+
+# Created by dotnet itself:
+QA_PREBUILT="
+usr/lib.*/dotnet-sdk-.*/dotnet
+"
+
+# .NET runtime, better to not touch it if they want some specific flags.
+QA_FLAGS_IGNORED="
+.*/apphost
+.*/createdump
+.*/libSystem.Globalization.Native.so
+.*/libSystem.IO.Compression.Native.so
+.*/libSystem.Native.so
+.*/libSystem.Net.Security.Native.so
+.*/libSystem.Security.Cryptography.Native.OpenSsl.so
+.*/libclrgc.so
+.*/libclrjit.so
+.*/libcoreclr.so
+.*/libcoreclrtraceptprovider.so
+.*/libhostfxr.so
+.*/libhostpolicy.so
+.*/libmscordaccore.so
+.*/libmscordbi.so
+.*/libnethost.so
+.*/singlefilehost
+"
+
+check_requirements_locale() {
+ if [[ "${MERGE_TYPE}" != binary ]] ; then
+ if use elibc_glibc ; then
+ local locales
+ locales="$(locale -a)"
+
+ if has en_US.utf8 ${locales} ; then
+ LC_ALL="en_US.utf8"
+ elif has en_US.UTF-8 ${locales} ; then
+ LC_ALL="en_US.UTF-8"
+ else
+ eerror "The locale en_US.utf8 or en_US.UTF-8 is not available."
+ eerror "Please generate en_US.UTF-8 before building ${CATEGORY}/${P}."
+
+ die "Could not switch to the en_US.UTF-8 locale."
+ fi
+ else
+ LC_ALL="en_US.UTF-8"
+ fi
+
+ export LC_ALL
+ einfo "Successfully switched to the ${LC_ALL} locale."
+ fi
+}
+
+pkg_pretend() {
+ check-reqs_pkg_pretend
+
+ check_requirements_locale
+}
+
+pkg_setup() {
+ check-reqs_pkg_setup
+ llvm-r1_pkg_setup
+ python-any-r1_pkg_setup
+
+ check_requirements_locale
+}
+
+src_prepare() {
+ default
+
+ filter-lto
+
+ unset DOTNET_ROOT
+ unset NUGET_PACKAGES
+
+ export DOTNET_CLI_TELEMETRY_OPTOUT="1"
+ export DOTNET_SKIP_FIRST_TIME_EXPERIENCE="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"
+ local verbosity="${GENTOO_DOTNET_BUILD_VERBOSITY:-minimal}"
+
+ ebegin "Building the .NET SDK ${SDK_SLOT}"
+ local -a buildopts=(
+ --clean-while-building
+ --source-repository "${source_repository}"
+ --source-version "${COMMIT}"
+
+ --
+ -maxCpuCount:"$(makeopts_jobs)"
+ -verbosity:"${verbosity}"
+ -p:ContinueOnPrebuiltBaselineError="true"
+ -p:LogVerbosity="${verbosity}"
+ -p:MinimalConsoleLogOutput="false"
+ -p:verbosity="${verbosity}"
+ )
+ bash ./build.sh "${buildopts[@]}"
+ 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
+}
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-dotnet/dotnet-sdk/
@ 2024-09-04 8:09 Maciej Barć
0 siblings, 0 replies; 28+ messages in thread
From: Maciej Barć @ 2024-09-04 8:09 UTC (permalink / raw
To: gentoo-commits
commit: a07838b22029a7a119e45cb55d65eb3d174036c2
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 4 07:52:50 2024 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Wed Sep 4 08:09:38 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a07838b2
dev-dotnet/dotnet-sdk: drop old 8.0.105
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
dev-dotnet/dotnet-sdk/Manifest | 2 -
dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.105.ebuild | 217 ------------------------
2 files changed, 219 deletions(-)
diff --git a/dev-dotnet/dotnet-sdk/Manifest b/dev-dotnet/dotnet-sdk/Manifest
index 30f0ba089773..7b3c51f30a41 100644
--- a/dev-dotnet/dotnet-sdk/Manifest
+++ b/dev-dotnet/dotnet-sdk/Manifest
@@ -1,4 +1,2 @@
-DIST dotnet-sdk-8.0.105-prepared-gentoo-amd64.tar.xz 1774585908 BLAKE2B c8c14bb513e9421ed04df81bf4388a7b84333ff76cf678f5adfb658d4c32d4e3c90ad8f78676261cb0148d1f1a3f4763e4a4aad9e7d822f94c943ec6ca81f872 SHA512 6032f34c92c046fade8edf1e4c86b315e6f51ae38b7d505084b2903f6a883dcb9c3b17a67d2da28daffcf6f3bc4e2ebd19b481f2842716fad910fbc663980c8a
-DIST dotnet-sdk-8.0.105-prepared-gentoo-musl-amd64.tar.xz 1788053336 BLAKE2B 5cf9328ec19413ed6c82adb48f70346197e2d76926ab752c81c77fde94782c19a30f52aab07e2ddc7545280821bf64251de42afece08b5bcd0d52eceefca3064 SHA512 73b906a282d059e3829841f78e45b58beab980eb8a1c23857746af20630b1070ce9fca1e38d837d78ab039dc40273dc732be4b3ba10978df00dfdaa320dfd77e
DIST dotnet-sdk-8.0.107-prepared-gentoo-amd64.tar.xz 1792165680 BLAKE2B 08d380090ef6475cae9a102383d0d925089733cb69f0cc97fa8fedb39ed17fcd50d5e17e5a10009640b30476220588bfd254de0c49362bfca8c015d677d58d87 SHA512 2362487033b6401e578918feabecb7d981fd87b4ab6bf09d61e5d62482c44ea6d6dd9f7fa5957abba7c537a8931d4487dd8c01ad86122af9b716bc817bed1564
DIST dotnet-sdk-8.0.107-prepared-gentoo-musl-amd64.tar.xz 1785364676 BLAKE2B 50782e24f48484e0e4bfb03f08e3a67060eb5eb15e03f09036147b041828c1ddd039cf1eae03e9c48e0197c78f68532ff4e74b7cbfbbeaf59e70262190868aa5 SHA512 b196c7fea4f75bd39093148cf4d5034773fd1aa03024ca0fddc6a117c009555b8b125d7452df071181947957ba042f964e63e8ec6d18cebb62a766add7de50db
diff --git a/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.105.ebuild b/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.105.ebuild
deleted file mode 100644
index 4b6ea2c7bab1..000000000000
--- a/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.105.ebuild
+++ /dev/null
@@ -1,217 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-# Pre-build (and distribution preparation)
-# Build the tarball:
-# git clone --depth 1 -b v8.0.2 https://github.com/dotnet/dotnet dotnet-sdk-8.0.2
-# cd dotnet-sdk-8.0.2
-# git rev-parse HEAD
-# ./prep.sh
-# rm -fr .git
-# cd ..
-# tar -acf dotnet-sdk-8.0.201-prepared-gentoo-amd64.tar.xz dotnet-sdk-8.0.2
-# Upload dotnet-sdk-8.0.201-prepared-gentoo-amd64.tar.xz
-
-# Build ("src_compile")
-# To learn about arguments that are passed to the "build.sh" script see:
-# https://github.com/dotnet/source-build/discussions/4082
-# User variable: GENTOO_DOTNET_BUILD_VERBOSITY - set other verbosity log level.
-
-EAPI=8
-
-COMMIT=d396b0c4d3e51c2d8d679b2f7233912bc5bfc2fa
-SDK_SLOT="$(ver_cut 1-2)"
-RUNTIME_SLOT="${SDK_SLOT}.5"
-
-LLVM_MAX_SLOT=17
-PYTHON_COMPAT=( python3_{10..13} )
-
-inherit check-reqs flag-o-matic llvm multiprocessing 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? (
- elibc_glibc? ( https://dev.gentoo.org/~xgqt/distfiles/repackaged/${P}-prepared-gentoo-amd64.tar.xz )
- elibc_musl? ( https://dev.gentoo.org/~xgqt/distfiles/repackaged/${P}-prepared-gentoo-musl-amd64.tar.xz )
-)
-"
-S="${WORKDIR}/${PN}-${RUNTIME_SLOT}"
-
-LICENSE="MIT"
-SLOT="${SDK_SLOT}/${RUNTIME_SLOT}"
-KEYWORDS="amd64"
-
-# STRIP="llvm-strip" corrupts some executables when using the patchelf hack.
-# Be safe and restrict it for source-built too, bug https://bugs.gentoo.org/923430
-RESTRICT="splitdebug strip"
-
-CURRENT_NUGETS_DEPEND="
- ~dev-dotnet/dotnet-runtime-nugets-${RUNTIME_SLOT}
-"
-EXTRA_NUGETS_DEPEND="
- ~dev-dotnet/dotnet-runtime-nugets-6.0.30
- ~dev-dotnet/dotnet-runtime-nugets-7.0.19
-"
-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:=
- sys-libs/zlib:0/1
-"
-BDEPEND="
- ${PYTHON_DEPS}
- <sys-devel/clang-$(( LLVM_MAX_SLOT + 1 ))
- dev-build/cmake
- dev-vcs/git
-"
-IDEPEND="
- app-eselect/eselect-dotnet
-"
-PDEPEND="
- ${NUGETS_DEPEND}
-"
-
-CHECKREQS_DISK_BUILD="20G"
-
-# Created by dotnet itself:
-QA_PREBUILT="
-usr/lib.*/dotnet-sdk-.*/dotnet
-"
-# .NET runtime, better to not touch it if they want some specific flags.
-QA_FLAGS_IGNORED="
-.*/apphost
-.*/createdump
-.*/libSystem.Globalization.Native.so
-.*/libSystem.IO.Compression.Native.so
-.*/libSystem.Native.so
-.*/libSystem.Net.Security.Native.so
-.*/libSystem.Security.Cryptography.Native.OpenSsl.so
-.*/libclrgc.so
-.*/libclrjit.so
-.*/libcoreclr.so
-.*/libcoreclrtraceptprovider.so
-.*/libhostfxr.so
-.*/libhostpolicy.so
-.*/libmscordaccore.so
-.*/libmscordbi.so
-.*/libnethost.so
-.*/singlefilehost
-"
-
-check_requirements_locale() {
- if [[ "${MERGE_TYPE}" != binary ]] ; then
- if use elibc_glibc ; then
- local locales
- locales="$(locale -a)"
-
- if has en_US.utf8 ${locales} ; then
- LC_ALL=en_US.utf8
- elif has en_US.UTF-8 ${locales} ; then
- LC_ALL=en_US.UTF-8
- else
- eerror "The locale en_US.utf8 or en_US.UTF-8 is not available."
- eerror "Please generate en_US.UTF-8 before building ${CATEGORY}/${P}."
-
- die "Could not switch to the en_US.UTF-8 locale."
- fi
- else
- LC_ALL=en_US.UTF-8
- fi
-
- export LC_ALL
- einfo "Successfully switched to the ${LC_ALL} locale."
- fi
-}
-
-pkg_pretend() {
- check-reqs_pkg_pretend
-
- check_requirements_locale
-}
-
-pkg_setup() {
- check-reqs_pkg_setup
- llvm_pkg_setup
- python-any-r1_pkg_setup
-
- check_requirements_locale
-}
-
-src_prepare() {
- default
-
- filter-lto
-
- unset DOTNET_ROOT
- unset NUGET_PACKAGES
-
- export DOTNET_CLI_TELEMETRY_OPTOUT=1
- export DOTNET_SKIP_FIRST_TIME_EXPERIENCE=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"
- local verbosity="${GENTOO_DOTNET_BUILD_VERBOSITY:-minimal}"
-
- ebegin "Building the .NET SDK ${SDK_SLOT}"
- local -a buildopts=(
- --clean-while-building
- --source-repository "${source_repository}"
- --source-version "${COMMIT}"
-
- --
- -maxCpuCount:"$(makeopts_jobs)"
- -verbosity:"${verbosity}"
- -p:ContinueOnPrebuiltBaselineError=true
- -p:LogVerbosity="${verbosity}"
- -p:MinimalConsoleLogOutput=false
- -p:verbosity="${verbosity}"
- )
- bash ./build.sh "${buildopts[@]}"
- 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
-}
^ permalink raw reply related [flat|nested] 28+ messages in thread
end of thread, other threads:[~2024-09-04 8:09 UTC | newest]
Thread overview: 28+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-18 1:31 [gentoo-commits] repo/gentoo:master commit in: dev-dotnet/dotnet-sdk/ Maciej Barć
-- strict thread matches above, loose matches on Subject: below --
2024-09-04 8:09 Maciej Barć
2024-07-31 0:03 Maciej Barć
2024-05-17 0:32 Maciej Barć
2024-05-17 0:32 Maciej Barć
2024-05-10 17:22 Maciej Barć
2024-04-14 21:57 Maciej Barć
2024-04-11 4:55 Arthur Zamarin
2024-04-07 16:20 Maciej Barć
2024-03-11 4:49 Maciej Barć
2024-03-11 4:49 Maciej Barć
2024-03-11 4:49 Maciej Barć
2024-03-10 5:43 Sam James
2024-03-10 0:29 Maciej Barć
2024-02-02 23:06 Maciej Barć
2024-02-02 9:37 Maciej Barć
2024-02-01 13:22 Maciej Barć
2024-02-01 10:10 Maciej Barć
2023-12-17 21:45 Maciej Barć
2023-12-17 12:39 Sam James
2023-12-13 17:17 Maciej Barć
2023-12-08 0:29 Maciej Barć
2023-11-24 20:09 Maciej Barć
2023-11-18 1:31 Maciej Barć
2023-09-25 20:36 Maciej Barć
2023-09-24 22:02 Maciej Barć
2023-09-24 4:02 Maciej Barć
2023-09-15 20:49 Maciej Barć
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox