Skip to content

Commit

Permalink
dev-dotnet/dotnet-sdk: conform to lack of native symlinks
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/914262
Signed-off-by: Maciej Barć <[email protected]>
  • Loading branch information
xgqt committed Sep 24, 2023
1 parent 688882c commit d29be45
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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/"
Expand All @@ -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
Expand All @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down Expand Up @@ -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
Expand All @@ -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

Expand Down

0 comments on commit d29be45

Please sign in to comment.