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 (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id F1217158042 for ; Wed, 13 Nov 2024 19:09:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 48B3FE0870; Wed, 13 Nov 2024 19:09:32 +0000 (UTC) Received: from smtp.gentoo.org (mail.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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 406E5E0870 for ; Wed, 13 Nov 2024 19:09:31 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 36750342FE8 for ; Wed, 13 Nov 2024 19:09:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C9B4C1DC3 for ; Wed, 13 Nov 2024 19:09:28 +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: <1731524923.c5ca13d818262729e691e4d23487cb427b50665d.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/virt-manager/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-emulation/virt-manager/virt-manager-9999.ebuild X-VCS-Directories: app-emulation/virt-manager/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: c5ca13d818262729e691e4d23487cb427b50665d X-VCS-Branch: master Date: Wed, 13 Nov 2024 19:09:28 +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: 50144be4-6a54-4c85-a2d7-6800e36d3370 X-Archives-Hash: dd3f9d5754a122df5a7b8cd31d79881c commit: c5ca13d818262729e691e4d23487cb427b50665d Author: Michal Privoznik gmail com> AuthorDate: Wed Nov 13 15:13:05 2024 +0000 Commit: Sam James gentoo org> CommitDate: Wed Nov 13 19:08:43 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5ca13d8 app-emulation/virt-manager: Update live ebuild Virt-manager just switched to meson [1]. Adapt our live ebuild to it. Oh, and while at it - drop test useflag. Running tests doesn't make much sense for virt-manger since the even the current ebuild ignores pretty much all of them (as it ignores failed tests from test_cli.py where pretty much 90% of test suite lives). The referenced bug below is not closed with this just yet, as this is just live ebuild. But we can expect new release soon, in which case the bug will be fixed. 1: https://github.com/virt-manager/virt-manager/commit/cbd2a7ef925cd11e525448561174ce6cc0e14e9a Bug: https://bugs.gentoo.org/909876 Signed-off-by: Michal Privoznik gmail.com> Closes: https://github.com/gentoo/gentoo/pull/39305 Signed-off-by: Sam James gentoo.org> .../virt-manager/virt-manager-9999.ebuild | 43 +++++++--------------- 1 file changed, 14 insertions(+), 29 deletions(-) diff --git a/app-emulation/virt-manager/virt-manager-9999.ebuild b/app-emulation/virt-manager/virt-manager-9999.ebuild index 1051e0881e70..054d03a48f7f 100644 --- a/app-emulation/virt-manager/virt-manager-9999.ebuild +++ b/app-emulation/virt-manager/virt-manager-9999.ebuild @@ -4,9 +4,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{10..13} ) -DISTUTILS_SINGLE_IMPL=1 -DISTUTILS_USE_SETUPTOOLS=no -inherit gnome2 distutils-r1 optfeature +inherit gnome2 python-single-r1 optfeature meson DESCRIPTION="A graphical tool for administering virtual machines" HOMEPAGE="https://virt-manager.org https://github.com/virt-manager/virt-manager" @@ -25,6 +23,8 @@ LICENSE="GPL-2" SLOT="0" IUSE="gui policykit sasl" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + RDEPEND=" ${PYTHON_DEPS} || ( dev-libs/libisoburn app-cdr/cdrtools ) @@ -53,33 +53,18 @@ BDEPEND="dev-python/docutils" DOCS=( README.md NEWS.md ) -DISTUTILS_ARGS=( - --no-update-icon-cache - --no-compile-schemas -) - -EPYTEST_IGNORE=( - # Wants to use /tmp osinfo config? - tests/test_cli.py - - # These seem to be essentially coverage tests - tests/test_checkprops.py -) - -distutils_enable_tests pytest - -python_configure() { - esetup.py configure --default-graphics=spice -} - -python_test() { - export VIRTINST_TEST_SUITE_FORCE_LIBOSINFO=0 - - epytest -} +src_configure() { + # While in the past we did allow test suite to run, any errors from + # test_cli.py were ignored. Since that's where like 90% of tests actually + # lives, just disable tests (and do not drag additional dependencies). + local emesonargs=( + -Dcompile-schemas=false + -Ddefault-graphics=spice + -Dtests=disabled + -Dupdate-icon-cache=false + ) -python_install() { - esetup.py install + meson_src_configure } pkg_preinst() {