commit:     f64428cdb67c6311384b95599fd042c4ec3fd227
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 10 12:34:41 2024 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sat Feb 10 16:24:47 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f64428cd

dev-dotnet/dotnet-outdated: use dotnet-pkg_force-compat

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 dev-dotnet/dotnet-outdated/dotnet-outdated-4.6.0.ebuild       |  7 ++++---
 .../dotnet-outdated/files/dotnet-outdated-4.6.0-net8.0.patch  | 11 +++++++++++
 2 files changed, 15 insertions(+), 3 deletions(-)

diff --git a/dev-dotnet/dotnet-outdated/dotnet-outdated-4.6.0.ebuild 
b/dev-dotnet/dotnet-outdated/dotnet-outdated-4.6.0.ebuild
index d24124764595..e65bf02e28d5 100644
--- a/dev-dotnet/dotnet-outdated/dotnet-outdated-4.6.0.ebuild
+++ b/dev-dotnet/dotnet-outdated/dotnet-outdated-4.6.0.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
@@ -301,11 +301,12 @@ SLOT="0"
 
 CHECKREQS_DISK_BUILD="1500M"
 DOTNET_PKG_PROJECTS=( src/DotNetOutdated/DotNetOutdated.csproj )
-DOTNET_PKG_BUILD_EXTRA_ARGS=( -p:RollForward=Major )
-DOTNET_PKG_TEST_EXTRA_ARGS=( "${DOTNET_PKG_BUILD_EXTRA_ARGS[@]}" )
+PATCHES=( "${FILESDIR}/${PN}-4.6.0-net8.0.patch"  )
 
 DOCS=( CHANGELOG.md README.md )
 
+dotnet-pkg_force-compat
+
 pkg_setup() {
        check-reqs_pkg_setup
        dotnet-pkg_pkg_setup

diff --git 
a/dev-dotnet/dotnet-outdated/files/dotnet-outdated-4.6.0-net8.0.patch 
b/dev-dotnet/dotnet-outdated/files/dotnet-outdated-4.6.0-net8.0.patch
new file mode 100644
index 000000000000..aa0ae953f2bb
--- /dev/null
+++ b/dev-dotnet/dotnet-outdated/files/dotnet-outdated-4.6.0-net8.0.patch
@@ -0,0 +1,11 @@
+--- a/src/DotNetOutdated.Core/DotNetOutdated.Core.csproj
++++ b/src/DotNetOutdated.Core/DotNetOutdated.Core.csproj
+@@ -1,7 +1,7 @@
+ <Project Sdk="Microsoft.NET.Sdk">
+ 
+   <PropertyGroup>
+-    <TargetFramework>netstandard2.1</TargetFramework>
++    <TargetFramework>net8.0</TargetFramework>
+     <IsPackable>true</IsPackable>
+     <PackageTags>dotnet;outdated;core;lib</PackageTags>
+     <Description>The core functionality of DotNet Outdated as a library which 
allows you to embed it into your own applications</Description>

Reply via email to