From 6c244326e747a9140da30e3660976b2925dd1e60 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Sat, 10 Feb 2024 18:29:33 +0000 Subject: Adding metadata --- dev-python/clr-loader/clr-loader-0.2.6.ebuild | 21 ++++++--------------- 1 file changed, 6 insertions(+), 15 deletions(-) (limited to 'dev-python/clr-loader') diff --git a/dev-python/clr-loader/clr-loader-0.2.6.ebuild b/dev-python/clr-loader/clr-loader-0.2.6.ebuild index 74b62cf4a382..876cf3f6813e 100644 --- a/dev-python/clr-loader/clr-loader-0.2.6.ebuild +++ b/dev-python/clr-loader/clr-loader-0.2.6.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -51,19 +51,20 @@ DOTNET_PKG_PROJECTS=( ) EPYTEST_DESELECT=( - # Mono + # Mono only. 'tests/test_common.py::test_mono' 'tests/test_common.py::test_mono_debug' 'tests/test_common.py::test_mono_signal_chaining' 'tests/test_common.py::test_mono_set_dir' - # MS Windows only + # MS Windows only. 'tests/test_common.py::test_netfx' 'tests/test_common.py::test_netfx_chinese_path' 'tests/test_common.py::test_netfx_separate_domain' ) distutils_enable_tests pytest +dotnet-pkg_force-compat pkg_setup() { check-reqs_pkg_setup @@ -71,8 +72,6 @@ pkg_setup() { } src_prepare() { - distutils-r1_src_prepare - # To be compatible with .NET >= 6.0. cat <<-EOF > Directory.Build.props || die @@ -81,17 +80,9 @@ src_prepare() { EOF + nuget_writeconfig "$(pwd)/" - # Because python scripts perform the build. - cat < NuGet.config || die - - - - - - - -EOF + distutils-r1_src_prepare } src_configure() { -- cgit v1.3