commit:     e0fbefccc05db31daa50acd3c09bc823e7bf6e00
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sat Oct  7 21:47:06 2023 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sat Oct  7 22:39:04 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0fbefcc

dev-lang/mond: use RollForward to update to .NET 7.0

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

 dev-lang/mond/{mond-0.9.4.ebuild => mond-0.9.4-r1.ebuild} | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/dev-lang/mond/mond-0.9.4.ebuild 
b/dev-lang/mond/mond-0.9.4-r1.ebuild
similarity index 94%
rename from dev-lang/mond/mond-0.9.4.ebuild
rename to dev-lang/mond/mond-0.9.4-r1.ebuild
index 99a0a2af7a4f..1b9f50069855 100644
--- a/dev-lang/mond/mond-0.9.4.ebuild
+++ b/dev-lang/mond/mond-0.9.4-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-DOTNET_PKG_COMPAT=6.0
+DOTNET_PKG_COMPAT=7.0
 NUGETS="
 [email protected]
 [email protected]
@@ -102,6 +102,7 @@ SRC_URI+=" ${NUGET_URIS} "
 LICENSE="MIT"
 SLOT="0"
 
+DOTNET_PKG_BUILD_EXTRA_ARGS=( -p:RollForward=Major )
 DOTNET_PKG_PROJECTS=( Mond.Repl/Mond.Repl.csproj )
 
 DOCS=( README.md Examples )
@@ -109,11 +110,15 @@ DOCS=( README.md Examples )
 src_unpack() {
        dotnet-pkg_src_unpack
 
-       if [[ -n ${EGIT_REPO_URI} ]] ; then
+       if [[ -n "${EGIT_REPO_URI}" ]] ; then
                git-r3_src_unpack
        fi
 }
 
+src_test() {
+       dotnet-pkg-base_test -p:RollForward=Major Mond.sln
+}
+
 src_install() {
        dotnet-pkg-base_install
        dotnet-pkg-base_dolauncher "/usr/share/${P}/Mond.Repl" "${PN}"

Reply via email to