From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 01C94158089 for ; Sat, 7 Oct 2023 22:39:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F1B092BC048; Sat, 7 Oct 2023 22:39:09 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D54052BC048 for ; Sat, 7 Oct 2023 22:39:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DEC3C335C2A for ; Sat, 7 Oct 2023 22:39:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8CE749ED for ; Sat, 7 Oct 2023 22:39:07 +0000 (UTC) From: "Maciej Barć" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Maciej Barć" Message-ID: <1696718344.e0fbefccc05db31daa50acd3c09bc823e7bf6e00.xgqt@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/mond/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/mond/mond-0.9.4-r1.ebuild dev-lang/mond/mond-0.9.4.ebuild X-VCS-Directories: dev-lang/mond/ X-VCS-Committer: xgqt X-VCS-Committer-Name: Maciej Barć X-VCS-Revision: e0fbefccc05db31daa50acd3c09bc823e7bf6e00 X-VCS-Branch: master Date: Sat, 7 Oct 2023 22:39:07 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 53fbb68a-d3b7-4173-81f5-818775c4c6fe X-Archives-Hash: 4161eb84c0f1c1f15f8cc3eef1d0f847 commit: e0fbefccc05db31daa50acd3c09bc823e7bf6e00 Author: Maciej Barć gentoo org> AuthorDate: Sat Oct 7 21:47:06 2023 +0000 Commit: Maciej Barć gentoo 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ć 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=" fleck@1.2.0 microsoft.build.tasks.git@1.1.1 @@ -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}"