public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Maciej Barć" <xgqt@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-shells/pwsh/
Date: Tue, 22 Oct 2024 00:08:48 +0000 (UTC)	[thread overview]
Message-ID: <1729555721.cf728706ef23913f37b16a64144c7b70b6d99e45.xgqt@gentoo> (raw)

commit:     cf728706ef23913f37b16a64144c7b70b6d99e45
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 21 19:25:04 2024 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Tue Oct 22 00:08:41 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf728706

app-shells/pwsh: disable telemetry if USE=-vanilla

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

 .../pwsh/{pwsh-7.4.1-r1.ebuild => pwsh-7.4.1-r2.ebuild}       | 11 ++++++++---
 .../pwsh/{pwsh-7.4.5-r1.ebuild => pwsh-7.4.5-r2.ebuild}       | 11 ++++++++---
 2 files changed, 16 insertions(+), 6 deletions(-)

diff --git a/app-shells/pwsh/pwsh-7.4.1-r1.ebuild b/app-shells/pwsh/pwsh-7.4.1-r2.ebuild
similarity index 98%
rename from app-shells/pwsh/pwsh-7.4.1-r1.ebuild
rename to app-shells/pwsh/pwsh-7.4.1-r2.ebuild
index 6953d1d14729..029b12e0dff1 100644
--- a/app-shells/pwsh/pwsh-7.4.1-r1.ebuild
+++ b/app-shells/pwsh/pwsh-7.4.1-r2.ebuild
@@ -7,7 +7,7 @@
 
 EAPI=8
 
-DOTNET_PKG_COMPAT=8.0
+DOTNET_PKG_COMPAT="8.0"
 NUGET_APIS=(
 	"https://api.nuget.org/v3-flatcontainer"
 	"https://www.powershellgallery.com/api/v2"
@@ -260,7 +260,7 @@ SRC_URI="
 LICENSE="MIT"
 SLOT="$(ver_cut 1-2)"
 KEYWORDS="amd64 arm arm64"
-IUSE="gui"
+IUSE="gui vanilla"
 
 # TODO: "LibraryImports.g.cs", "PSVersionInfo.g.cs" not found.
 RESTRICT="test"
@@ -291,7 +291,6 @@ DOTNET_PKG_PROJECTS=(
 )
 PATCHES=(
 	"${FILESDIR}/pwsh-7.3.3-disable-update-check.patch"
-	"${FILESDIR}/pwsh-7.4.0-disable-telemetry.patch"
 )
 
 DOCS=( CHANGELOG CHANGELOG.md CODE_OF_CONDUCT.md README.md docs )
@@ -342,6 +341,12 @@ pkg_setup() {
 }
 
 src_prepare() {
+	if ! use vanilla ; then
+		PATCHES+=(
+			"${FILESDIR}/pwsh-7.4.0-disable-telemetry.patch"
+		)
+	fi
+
 	dotnet-pkg_src_prepare
 
 	# This is guarded by "RegexGitVersion" in "PowerShell.Common.props".

diff --git a/app-shells/pwsh/pwsh-7.4.5-r1.ebuild b/app-shells/pwsh/pwsh-7.4.5-r2.ebuild
similarity index 98%
rename from app-shells/pwsh/pwsh-7.4.5-r1.ebuild
rename to app-shells/pwsh/pwsh-7.4.5-r2.ebuild
index 8cf2a585c24f..4f2443ed89d9 100644
--- a/app-shells/pwsh/pwsh-7.4.5-r1.ebuild
+++ b/app-shells/pwsh/pwsh-7.4.5-r2.ebuild
@@ -7,7 +7,7 @@
 
 EAPI=8
 
-DOTNET_PKG_COMPAT=8.0
+DOTNET_PKG_COMPAT="8.0"
 NUGET_APIS=(
 	"https://api.nuget.org/v3-flatcontainer"
 	"https://www.powershellgallery.com/api/v2"
@@ -265,7 +265,7 @@ SRC_URI="
 LICENSE="MIT"
 SLOT="$(ver_cut 1-2)"
 KEYWORDS="~amd64 ~arm ~arm64"
-IUSE="gui"
+IUSE="gui vanilla"
 
 # TODO: "LibraryImports.g.cs", "PSVersionInfo.g.cs" not found.
 RESTRICT="test"
@@ -296,7 +296,6 @@ DOTNET_PKG_PROJECTS=(
 )
 PATCHES=(
 	"${FILESDIR}/pwsh-7.3.3-disable-update-check.patch"
-	"${FILESDIR}/pwsh-7.4.0-disable-telemetry.patch"
 	"${FILESDIR}/pwsh-7.4.5-downgrade-codeanalysis.patch"
 )
 
@@ -348,6 +347,12 @@ pkg_setup() {
 }
 
 src_prepare() {
+	if ! use vanilla ; then
+		PATCHES+=(
+			"${FILESDIR}/pwsh-7.4.0-disable-telemetry.patch"
+		)
+	fi
+
 	dotnet-pkg_src_prepare
 
 	# This is guarded by "RegexGitVersion" in "PowerShell.Common.props".


             reply	other threads:[~2024-10-22  0:08 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-22  0:08 Maciej Barć [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-12-06  8:31 [gentoo-commits] repo/gentoo:master commit in: app-shells/pwsh/ Maciej Barć
2024-12-06  8:31 Maciej Barć
2024-12-06  7:49 Sam James
2024-12-05 22:26 Sam James
2024-12-05 22:26 Sam James
2024-10-29 23:22 Maciej Barć
2024-09-23 10:00 Maciej Barć
2024-05-16 16:47 Arthur Zamarin
2024-05-10 17:22 Maciej Barć
2024-04-04  9:01 Jakov Smolić
2024-04-04  1:07 Sam James
2024-03-10  0:29 Maciej Barć
2024-01-23 22:07 Maciej Barć
2024-01-21  0:44 Maciej Barć
2023-12-16 21:45 Maciej Barć
2023-11-26  0:04 Maciej Barć
2023-11-26  0:04 Maciej Barć
2023-11-26  0:04 Maciej Barć
2023-10-28 14:05 Maciej Barć
2023-10-11  0:19 Maciej Barć
2023-10-04 23:32 Maciej Barć
2023-09-16 10:26 Sam James
2023-09-16 10:11 Sam James

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1729555721.cf728706ef23913f37b16a64144c7b70b6d99e45.xgqt@gentoo \
    --to=xgqt@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox