Skip to content

Commit

Permalink
dev-dotnet/coco: use RollForward to update to .NET 7.0
Browse files Browse the repository at this point in the history
Signed-off-by: Maciej Barć <[email protected]>
  • Loading branch information
xgqt committed Oct 7, 2023
1 parent 8fc067f commit 6c429bf
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

EAPI=8

DOTNET_PKG_COMPAT=6.0
DOTNET_PKG_COMPAT=7.0
unset NUGET_PACKAGES

inherit dotnet-pkg
Expand All @@ -18,19 +18,21 @@ if [[ "${PV}" == *9999* ]] ; then
else
SRC_URI="https://github.com/boogie-org/${PN}/archive/${PV}.tar.gz
-> ${P}.tar.gz"

KEYWORDS="~amd64"
fi

LICENSE="GPL-2+"
SLOT="0"

DOTNET_PKG_BUILD_EXTRA_ARGS=( -p:RollForward=Major )
DOTNET_PKG_PROJECTS=( "${S}/Coco.csproj" )
PATCHES=( "${FILESDIR}/${P}-Coco-csproj.patch" )

src_unpack() {
dotnet-pkg_src_unpack

if [[ -n ${EGIT_REPO_URI} ]] ; then
if [[ -n "${EGIT_REPO_URI}" ]] ; then
git-r3_src_unpack
fi
}

0 comments on commit 6c429bf

Please sign in to comment.