From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/virt-manager/
Date: Wed, 13 Nov 2024 19:09:28 +0000 (UTC) [thread overview]
Message-ID: <1731524923.c5ca13d818262729e691e4d23487cb427b50665d.sam@gentoo> (raw)
commit: c5ca13d818262729e691e4d23487cb427b50665d
Author: Michal Privoznik <michal.privoznik <AT> gmail <DOT> com>
AuthorDate: Wed Nov 13 15:13:05 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> 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 <michal.privoznik <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/39305
Signed-off-by: Sam James <sam <AT> 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() {
next reply other threads:[~2024-11-13 19:09 UTC|newest]
Thread overview: 135+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-13 19:09 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-10-14 6:12 [gentoo-commits] repo/gentoo:master commit in: app-emulation/virt-manager/ Arthur Zamarin
2025-10-13 19:01 Arthur Zamarin
2025-10-13 19:01 Arthur Zamarin
2025-10-12 16:58 Sam James
2025-10-12 16:49 Sam James
2025-08-30 22:19 Matthias Maier
2025-04-26 12:47 Arthur Zamarin
2025-04-26 10:57 Sam James
2025-04-26 6:08 Sam James
2025-04-26 4:17 Sam James
2025-03-27 12:11 Sam James
2025-03-22 20:06 Michał Górny
2025-03-04 23:26 Jakov Smolić
2025-03-03 20:44 Sam James
2025-03-03 20:11 Sam James
2025-01-07 19:51 Sam James
2025-01-06 8:04 Sam James
2025-01-06 4:16 Sam James
2025-01-06 4:16 Sam James
2025-01-06 3:35 Sam James
2025-01-06 3:35 Sam James
2025-01-06 3:35 Sam James
2025-01-06 3:32 Sam James
2024-12-01 10:42 Sam James
2024-12-01 10:42 Sam James
2024-11-30 23:54 Sam James
2024-11-29 5:54 Sam James
2024-11-29 5:54 Sam James
2024-11-13 19:09 Sam James
2024-11-13 19:09 Sam James
2024-10-03 9:24 Sam James
2024-04-29 21:41 Sam James
2024-02-03 6:56 Sam James
2024-02-02 12:38 Arthur Zamarin
2024-02-02 7:53 Joonas Niilola
2024-02-02 7:47 Joonas Niilola
2024-01-22 5:29 Sam James
2024-01-04 18:11 Arthur Zamarin
2023-12-16 9:31 Sam James
2023-07-09 2:02 Sam James
2023-03-04 9:10 Joonas Niilola
2022-08-24 21:55 John Helmert III
2022-08-19 23:49 Sam James
2022-08-19 23:49 Sam James
2022-08-19 23:48 Sam James
2022-08-19 23:48 Sam James
2022-08-19 23:48 Sam James
2022-05-04 15:11 Jakov Smolić
2022-04-10 20:09 Sam James
2022-03-25 2:52 Sam James
2022-03-19 16:50 Matthias Maier
2022-02-23 9:41 Joonas Niilola
2022-02-23 9:41 Joonas Niilola
2022-02-23 9:41 Joonas Niilola
2022-02-06 1:40 Matthias Maier
2022-01-25 15:11 Joonas Niilola
2022-01-03 0:11 Georgy Yakovlev
2021-06-26 11:45 Sergei Trofimovich
2021-06-26 11:45 Sergei Trofimovich
2021-06-05 11:09 Sergei Trofimovich
2021-05-14 18:23 Agostino Sarubbo
2021-03-30 16:17 Thomas Deutschmann
2021-02-13 0:58 Sam James
2021-02-13 0:58 Sam James
2021-01-05 14:04 Joonas Niilola
2020-12-25 19:58 Matthias Maier
2020-12-17 16:41 Agostino Sarubbo
2020-12-04 22:53 Matthias Maier
2020-10-07 20:45 Thomas Deutschmann
2020-10-03 21:24 Georgy Yakovlev
2020-08-20 13:20 Sam James
2020-06-05 7:21 Mart Raudsepp
2020-05-12 5:41 Matthias Maier
2020-05-12 5:41 Matthias Maier
2020-04-24 18:48 Matthias Maier
2020-04-19 1:06 Brian Evans
2020-04-19 0:32 Matthias Maier
2020-03-17 21:25 Matthias Maier
2020-03-17 21:25 Matthias Maier
2019-12-28 22:11 Georgy Yakovlev
2019-12-28 22:11 Georgy Yakovlev
2019-09-30 15:44 Matthias Maier
2019-07-31 11:03 Agostino Sarubbo
2019-07-31 10:59 Agostino Sarubbo
2019-07-28 18:21 Matthias Maier
2019-07-28 18:21 Matthias Maier
2019-07-01 21:19 Matthias Maier
2019-07-01 17:10 Matthias Maier
2019-07-01 16:59 Matthias Maier
2019-07-01 16:59 Matthias Maier
2019-07-01 16:59 Matthias Maier
2019-07-01 16:59 Matthias Maier
2019-01-02 10:20 Mikle Kolyada
2018-12-29 19:12 Thomas Deutschmann
2018-12-03 2:43 Jonathan Callen
2018-11-04 5:24 Matthias Maier
2018-10-15 12:01 Matthias Maier
2018-04-15 18:58 Thomas Deutschmann
2018-04-15 5:30 Mikle Kolyada
2018-04-14 23:02 Matthias Maier
2018-04-14 23:02 Matthias Maier
2018-04-14 22:52 Matthias Maier
2018-04-14 22:47 Matthias Maier
2018-04-14 22:47 Matthias Maier
2018-04-14 22:47 Matthias Maier
2018-03-24 15:23 Matthias Maier
2018-02-12 1:58 Matthias Maier
2018-02-12 1:58 Matthias Maier
2018-02-12 1:58 Matthias Maier
2018-02-06 16:24 Thomas Deutschmann
2018-01-08 0:28 Mikle Kolyada
2018-01-06 12:23 Ulrich Müller
2017-09-26 22:11 Manuel Rüger
2017-08-09 20:53 Pacho Ramos
2017-03-14 16:39 Matthias Maier
2017-03-14 16:39 Matthias Maier
2017-03-08 18:34 Matthias Maier
2017-03-04 21:27 Matthias Maier
2017-03-04 21:27 Matthias Maier
2017-02-22 21:56 Matthias Maier
2016-12-01 16:56 Matthias Maier
2016-12-01 16:52 Matthias Maier
2016-09-27 2:34 Matthias Maier
2016-08-02 2:22 Matthias Maier
2016-06-30 22:10 Matthias Maier
2016-02-28 6:15 Matthias Maier
2015-12-26 23:31 Matthias Maier
2015-12-26 13:19 Manuel Rüger
2015-12-22 20:50 Manuel Rüger
2015-11-27 20:41 Matthias Maier
2015-11-25 22:57 Matthias Maier
2015-10-23 13:41 Doug Goldstein
2015-10-23 13:41 Doug Goldstein
2015-09-09 15:03 Michał Górny
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=1731524923.c5ca13d818262729e691e4d23487cb427b50665d.sam@gentoo \
--to=sam@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