public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Joonas Niilola" <juippis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/virt-viewer/
Date: Fri,  3 Sep 2021 06:25:49 +0000 (UTC)	[thread overview]
Message-ID: <1630650342.433ef0b0cd6ab479df919435abd720f2fa71867f.juippis@gentoo> (raw)

commit:     433ef0b0cd6ab479df919435abd720f2fa71867f
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Fri Sep  3 06:24:44 2021 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Fri Sep  3 06:25:42 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=433ef0b0

app-emulation/virt-viewer: fix native-symlinks build

Closes: https://bugs.gentoo.org/811408
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 .../virt-viewer/virt-viewer-10.0_p20210730.ebuild         | 15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)

diff --git a/app-emulation/virt-viewer/virt-viewer-10.0_p20210730.ebuild b/app-emulation/virt-viewer/virt-viewer-10.0_p20210730.ebuild
index f0e4ed5973d..628627555ce 100644
--- a/app-emulation/virt-viewer/virt-viewer-10.0_p20210730.ebuild
+++ b/app-emulation/virt-viewer/virt-viewer-10.0_p20210730.ebuild
@@ -3,7 +3,9 @@
 
 EAPI=7
 
-inherit meson xdg
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit meson python-any-r1 xdg
 
 DESCRIPTION="Graphical console client for connecting to virtual machines"
 HOMEPAGE="https://virt-manager.org/"
@@ -29,12 +31,21 @@ RDEPEND="dev-libs/glib:2
 	vnc? ( >=net-libs/gtk-vnc-0.5.0[sasl?,gtk3(+)] )"
 DEPEND="${RDEPEND}
 	spice? ( >=app-emulation/spice-protocol-0.12.10 )"
-BDEPEND="dev-lang/perl
+BDEPEND="${PYTHON_DEPS}
+	dev-lang/perl
 	>=dev-util/intltool-0.35.0
 	virtual/pkgconfig"
 
 REQUIRED_USE="|| ( spice vnc )"
 
+src_prepare() {
+	default
+
+	# Fix python shebangs for python-exec[-native-symlinks], #811408
+	local shebangs=($(grep -rl "#!/usr/bin/env python3" || die))
+	python_fix_shebang -q ${shebangs[*]}
+}
+
 src_configure() {
 	local emesonargs=(
 		$(meson_feature libvirt libvirt)


             reply	other threads:[~2021-09-03  6:25 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-03  6:25 Joonas Niilola [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-06-19 10:33 [gentoo-commits] repo/gentoo:master commit in: app-emulation/virt-viewer/ Pacho Ramos
2023-10-04 17:46 Matthias Maier
2023-02-17 11:23 Sam James
2023-02-17 11:23 Sam James
2022-08-19 16:54 Sam James
2022-08-19  7:11 Agostino Sarubbo
2022-08-19  2:40 Sam James
2022-05-03 18:38 Sam James
2022-04-29  8:21 Joonas Niilola
2022-04-29  8:21 Joonas Niilola
2022-04-29  7:50 Sam James
2022-03-25  1:48 Sam James
2021-09-02  6:53 Joonas Niilola
2021-09-02  6:53 Joonas Niilola
2021-09-02  6:53 Joonas Niilola
2021-07-19  7:47 Joonas Niilola
2020-07-01  6:58 Joonas Niilola
2020-03-18 11:04 Agostino Sarubbo
2020-03-17 18:44 Agostino Sarubbo
2019-09-22  2:29 Matthias Maier
2019-09-22  2:29 Matthias Maier
2019-07-01 17:10 Matthias Maier
2019-07-01 17:10 Matthias Maier
2018-11-05 15:53 Mikle Kolyada
2018-11-04 19:14 Thomas Deutschmann
2018-08-25 22:01 Virgil Dupras
2018-08-17 15:31 Matthias Maier
2018-04-14 22:52 Matthias Maier
2018-04-14 22:52 Matthias Maier
2018-02-14 13:29 Jason Zaman
2018-02-12 21:36 Thomas Deutschmann
2018-02-12  1:58 Matthias Maier
2017-09-01  2:01 Matthias Maier
2017-05-12  8:39 Agostino Sarubbo
2017-05-12  0:22 Matthias Maier
2016-12-03  4:56 Yixun Lan
2016-12-01 17:05 Matthias Maier
2016-12-01 17:05 Matthias Maier
2016-10-10  2:47 Matthias Maier
2016-02-28  6:15 Matthias Maier
2016-02-28  6:15 Matthias Maier
2016-01-13 22:34 Manuel Rüger
2015-12-12  6:39 Matthias Maier
2015-10-18 18:04 Mikle Kolyada

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=1630650342.433ef0b0cd6ab479df919435abd720f2fa71867f.juippis@gentoo \
    --to=juippis@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