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 7D5C6158086 for ; Sun, 31 Oct 2021 05:06:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C1ED1E0A5B; Sun, 31 Oct 2021 05:06:22 +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 A21D0E0A5B for ; Sun, 31 Oct 2021 05:06:22 +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 93BB1343417 for ; Sun, 31 Oct 2021 05:06:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DA204144 for ; Sun, 31 Oct 2021 05:06:19 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1635656749.58996c17fc14caab6f1a678b5d326be0e76b94a4.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/spice-gtk/, net-misc/spice-gtk/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/spice-gtk/files/spice-gtk-0.39-fix-finding-pyparsing.patch net-misc/spice-gtk/spice-gtk-0.39-r1.ebuild X-VCS-Directories: net-misc/spice-gtk/ net-misc/spice-gtk/files/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 58996c17fc14caab6f1a678b5d326be0e76b94a4 X-VCS-Branch: master Date: Sun, 31 Oct 2021 05:06:19 +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: 4f3ba3ad-dd77-4210-9ec2-9cd61e37213d X-Archives-Hash: 5588b058e08721a953d0edc58bf86e99 commit: 58996c17fc14caab6f1a678b5d326be0e76b94a4 Author: Sam James gentoo org> AuthorDate: Sun Oct 31 05:05:49 2021 +0000 Commit: Sam James gentoo org> CommitDate: Sun Oct 31 05:05:49 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58996c17 net-misc/spice-gtk: fix finding newer pyparsing Closes: https://bugs.gentoo.org/820074 Signed-off-by: Sam James gentoo.org> .../files/spice-gtk-0.39-fix-finding-pyparsing.patch | 13 +++++++++++++ net-misc/spice-gtk/spice-gtk-0.39-r1.ebuild | 8 ++++++-- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/net-misc/spice-gtk/files/spice-gtk-0.39-fix-finding-pyparsing.patch b/net-misc/spice-gtk/files/spice-gtk-0.39-fix-finding-pyparsing.patch new file mode 100644 index 00000000000..9a3cdd09006 --- /dev/null +++ b/net-misc/spice-gtk/files/spice-gtk-0.39-fix-finding-pyparsing.patch @@ -0,0 +1,13 @@ +https://gitlab.freedesktop.org/spice/spice-common/-/issues/5 +https://bugs.gentoo.org/820074 +--- a/subprojects/spice-common/meson.build ++++ b/subprojects/spice-common/meson.build +@@ -132,7 +132,7 @@ if spice_common_generate_client_code or spice_common_generate_server_code + if get_option('python-checks') + foreach module : ['six', 'pyparsing'] + message('Checking for python module @0@'.format(module)) +- cmd = run_command(python, '-m', module) ++ cmd = run_command(python, '-c', 'import @0@'.format(module)) + if cmd.returncode() != 0 + error('Python module @0@ not found'.format(module)) + endif diff --git a/net-misc/spice-gtk/spice-gtk-0.39-r1.ebuild b/net-misc/spice-gtk/spice-gtk-0.39-r1.ebuild index 7005e220e2e..08fdbf6d9fa 100644 --- a/net-misc/spice-gtk/spice-gtk-0.39-r1.ebuild +++ b/net-misc/spice-gtk/spice-gtk-0.39-r1.ebuild @@ -79,9 +79,13 @@ BDEPEND=" ') " +PATCHES=( + "${FILESDIR}"/${PN}-0.39-fix-finding-pyparsing.patch +) + python_check_deps() { - has_version "dev-python/six[${PYTHON_USEDEP}]" && - has_version "dev-python/pyparsing[${PYTHON_USEDEP}]" + has_version -b "dev-python/six[${PYTHON_USEDEP}]" && + has_version -b "dev-python/pyparsing[${PYTHON_USEDEP}]" } src_prepare() {