diff options
author | Pacho Ramos <pacho@gentoo.org> | 2022-10-30 14:08:52 +0100 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2022-10-30 14:10:14 +0100 |
commit | 04b4d28193c3866ea9584cbc2d4cdac5bbf55304 (patch) | |
tree | 1d463d6e390d1d3ba96a8c0ea9423ce0ee91ca64 /gnome-extra/gnome-network-displays | |
parent | net-wireless/gnome-bluetooth: Fix typo (diff) | |
download | gentoo-04b4d28193c3866ea9584cbc2d4cdac5bbf55304.tar.gz gentoo-04b4d28193c3866ea9584cbc2d4cdac5bbf55304.tar.bz2 gentoo-04b4d28193c3866ea9584cbc2d4cdac5bbf55304.zip |
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@gentoo.org>
Diffstat (limited to 'gnome-extra/gnome-network-displays')
-rw-r--r-- | gnome-extra/gnome-network-displays/gnome-network-displays-0.90.5.ebuild | 20 |
1 files 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) |