summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2023-09-24 21:43:16 +0200
committerMaciej Barć <xgqt@gentoo.org>2023-09-25 00:02:40 +0200
commitd29be4546cb3714a9422272337eef756e24a7b5b (patch)
treed47c4515e9d2a1f0795e9c4f2e418eeaf02f50e8 /dev-dotnet
parentsys-devel/gcc: Stabilize 13.2.1_p20230826 amd64, #914616 (diff)
downloadgentoo-d29be4546cb3714a9422272337eef756e24a7b5b.tar.gz
gentoo-d29be4546cb3714a9422272337eef756e24a7b5b.tar.bz2
gentoo-d29be4546cb3714a9422272337eef756e24a7b5b.zip
dev-dotnet/dotnet-sdk: conform to lack of native symlinks
Closes: https://bugs.gentoo.org/914262 Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'dev-dotnet')
-rw-r--r--dev-dotnet/dotnet-sdk/dotnet-sdk-7.0.105-r1.ebuild (renamed from dev-dotnet/dotnet-sdk/dotnet-sdk-7.0.105.ebuild)14
-rw-r--r--dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.0_rc1234194-r1.ebuild (renamed from dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.0_rc1234194.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
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
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