From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1451589-garchives=archives.gentoo.org@lists.gentoo.org>
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 617B5158020
	for <garchives@archives.gentoo.org>; Sun, 30 Oct 2022 13:10:30 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 265ACE0871;
	Sun, 30 Oct 2022 13:10:29 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(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 12846E0871
	for <gentoo-commits@lists.gentoo.org>; Sun, 30 Oct 2022 13:10:29 +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) server-digest SHA256)
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 373A2340E9C
	for <gentoo-commits@lists.gentoo.org>; Sun, 30 Oct 2022 13:10:28 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 548FE622
	for <gentoo-commits@lists.gentoo.org>; Sun, 30 Oct 2022 13:10:26 +0000 (UTC)
From: "Pacho Ramos" <pacho@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Pacho Ramos" <pacho@gentoo.org>
Message-ID: <1667135414.04b4d28193c3866ea9584cbc2d4cdac5bbf55304.pacho@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: gnome-extra/gnome-network-displays/
X-VCS-Repository: repo/gentoo
X-VCS-Files: gnome-extra/gnome-network-displays/gnome-network-displays-0.90.5.ebuild
X-VCS-Directories: gnome-extra/gnome-network-displays/
X-VCS-Committer: pacho
X-VCS-Committer-Name: Pacho Ramos
X-VCS-Revision: 04b4d28193c3866ea9584cbc2d4cdac5bbf55304
X-VCS-Branch: master
Date: Sun, 30 Oct 2022 13:10:26 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 0f8d986e-15ae-4ce5-a846-8f90ecdcfd43
X-Archives-Hash: 7420fff7cce60ba505c8704259b4a305

commit:     04b4d28193c3866ea9584cbc2d4cdac5bbf55304
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 30 13:08:52 2022 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sun Oct 30 13:10:14 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04b4d281

gnome-extra/gnome-network-displays: Fix tests and call EPYTHON

Closes: https://bugs.gentoo.org/878599
Closes: https://bugs.gentoo.org/878601
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

 .../gnome-network-displays-0.90.5.ebuild             | 20 ++++++++++++++++----
 1 file changed, 16 insertions(+), 4 deletions(-)

diff --git a/gnome-extra/gnome-network-displays/gnome-network-displays-0.90.5.ebuild b/gnome-extra/gnome-network-displays/gnome-network-displays-0.90.5.ebuild
index b0daf152a1a2..d8d6653a52a5 100644
--- a/gnome-extra/gnome-network-displays/gnome-network-displays-0.90.5.ebuild
+++ b/gnome-extra/gnome-network-displays/gnome-network-displays-0.90.5.ebuild
@@ -2,7 +2,8 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
-inherit gnome.org gnome2-utils meson xdg
+PYTHON_COMPAT=( python3_{8..11} )
+inherit gnome.org gnome2-utils meson python-any-r1 xdg
 
 DESCRIPTION="Stream the desktop to Wi-Fi Display capable devices"
 HOMEPAGE="https://gitlab.gnome.org/GNOME/gnome-network-displays"
@@ -10,7 +11,8 @@ HOMEPAGE="https://gitlab.gnome.org/GNOME/gnome-network-displays"
 LICENSE="GPL-3+"
 SLOT="0"
 KEYWORDS="~amd64"
-IUSE="firewalld"
+IUSE="firewalld test"
+RESTRICT="!test? ( test )"
 
 RDEPEND="
 	dev-libs/glib:2
@@ -29,14 +31,24 @@ RDEPEND="
 "
 DEPEND="${RDEPEND}"
 BDEPEND="
-	dev-libs/appstream-glib
-	dev-util/desktop-file-utils
+	${PYTHON_DEPS}
 	sys-devel/gettext
 	virtual/pkgconfig
+	test? (
+		dev-libs/appstream-glib
+		dev-util/desktop-file-utils
+	)
 "
 
 DOCS=( README.md )
 
+src_prepare() {
+	default
+	# https://gitlab.gnome.org/GNOME/gnome-network-displays/-/issues/272
+	sed -i -e "s/args: \['validate'/args: \['--nonet', 'validate'/" \
+		data/meson.build || die
+}
+
 src_configure() {
 	local emesonargs=(
 		$(meson_use firewalld firewalld_zone)