summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2024-02-10 13:34:41 +0100
committerMaciej Barć <xgqt@gentoo.org>2024-02-10 17:24:47 +0100
commitf64428cdb67c6311384b95599fd042c4ec3fd227 (patch)
treeccc7d3288cc515218ce2275e2970a48bdae674c2 /dev-dotnet/dotnet-outdated
parentdev-dotnet/nuget-license: use dotnet-pkg_force-compat (diff)
downloadgentoo-f64428cdb67c6311384b95599fd042c4ec3fd227.tar.gz
gentoo-f64428cdb67c6311384b95599fd042c4ec3fd227.tar.bz2
gentoo-f64428cdb67c6311384b95599fd042c4ec3fd227.zip
dev-dotnet/dotnet-outdated: use dotnet-pkg_force-compat
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'dev-dotnet/dotnet-outdated')
-rw-r--r--dev-dotnet/dotnet-outdated/dotnet-outdated-4.6.0.ebuild7
-rw-r--r--dev-dotnet/dotnet-outdated/files/dotnet-outdated-4.6.0-net8.0.patch11
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>