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: Fri, 29 Nov 2024 05:54:01 +0000 (UTC) [thread overview]
Message-ID: <1732859621.54797a96875918602f4b091395cdd3b18c10eed2.sam@gentoo> (raw)
commit: 54797a96875918602f4b091395cdd3b18c10eed2
Author: Michal Privoznik <michal.privoznik <AT> gmail <DOT> com>
AuthorDate: Fri Nov 29 04:01:10 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Nov 29 05:53:41 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54797a96
app-emulation/virt-manager: Add 5.0.0
New version of virt-manager was just released. And since
virt-manager switched from distutils to meson, the referenced
bug can be closed now.
Closes: https://bugs.gentoo.org/909876
Signed-off-by: Michal Privoznik <michal.privoznik <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/39516
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-emulation/virt-manager/Manifest | 1 +
.../virt-manager/virt-manager-5.0.0.ebuild | 90 ++++++++++++++++++++++
2 files changed, 91 insertions(+)
diff --git a/app-emulation/virt-manager/Manifest b/app-emulation/virt-manager/Manifest
index bead1d85a9f0..c9600713ffce 100644
--- a/app-emulation/virt-manager/Manifest
+++ b/app-emulation/virt-manager/Manifest
@@ -1 +1,2 @@
DIST virt-manager-4.1.0.tar.gz 3151412 BLAKE2B 1b4203be81bd7b82251225d691a4d9068f268e610f049bcadb96de5b539e964ca0b001f22f06ddd8266b58b079f60046f6d11942a1e4eadbc43f0607c46bbddd SHA512 725cb5bcbaebaafae417f95deffb4243ccdad769668cba6e1235f4607e2b29dbd099d2a9a3885981158f53ea854dd71cc29ed9d7557b2791161c13d34f2ef883
+DIST virt-manager-5.0.0.tar.xz 1466724 BLAKE2B b8b93587b1e1cdb398f33e4820aeaa9c1aecfbe26cd54597830fcbc009a51e70b0dd10b947b9392a1d3fdc5b28c19573a1d417b5748c38658b6e03725023bcfb SHA512 d0cb7eb844fc98ad29413717e5fa5834bc6f9f6cb6b9339b59c2721bb37a58f71280e3d2a04a64a6021614626329d76c92474f826bb1d9b7a9040b479f20d4e8
diff --git a/app-emulation/virt-manager/virt-manager-5.0.0.ebuild b/app-emulation/virt-manager/virt-manager-5.0.0.ebuild
new file mode 100644
index 000000000000..d31e6ccd1906
--- /dev/null
+++ b/app-emulation/virt-manager/virt-manager-5.0.0.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+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"
+
+if [[ ${PV} == *9999* ]]; then
+ EGIT_REPO_URI="https://github.com/virt-manager/virt-manager.git"
+ EGIT_BRANCH="main"
+ SRC_URI=""
+ inherit git-r3
+else
+ SRC_URI="https://releases.pagure.org/${PN}/${P}.tar.xz"
+ KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="gui policykit sasl"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+ ${PYTHON_DEPS}
+ || ( dev-libs/libisoburn app-cdr/cdrtools )
+ >=app-emulation/libvirt-glib-1.0.0[introspection]
+ >=sys-libs/libosinfo-0.2.10[introspection]
+ $(python_gen_cond_dep '
+ dev-libs/libxml2[python,${PYTHON_USEDEP}]
+ dev-python/argcomplete[${PYTHON_USEDEP}]
+ >=dev-python/libvirt-python-6.10.0[${PYTHON_USEDEP}]
+ dev-python/pygobject:3[${PYTHON_USEDEP}]
+ dev-python/requests[${PYTHON_USEDEP}]
+ ')
+ gui? (
+ gnome-base/dconf
+ >=net-libs/gtk-vnc-0.3.8[gtk3(+),introspection]
+ net-misc/spice-gtk[usbredir,gtk3,introspection,sasl?]
+ sys-apps/dbus[X]
+ x11-libs/gtk+:3[introspection]
+ x11-libs/gtksourceview:4[introspection]
+ x11-libs/vte:2.91[introspection]
+ policykit? ( sys-auth/polkit[introspection] )
+ )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="dev-python/docutils"
+
+DOCS=( README.md NEWS.md )
+
+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
+ )
+
+ meson_src_configure
+}
+
+pkg_preinst() {
+ if use gui ; then
+ gnome2_pkg_preinst
+
+ cd "${ED}" || die
+ export GNOME2_ECLASS_ICONS=$(find 'usr/share/virt-manager/icons' -maxdepth 1 -mindepth 1 -type d 2> /dev/null || die)
+ else
+ rm -r "${ED}/usr/share/virt-manager/ui/" || die
+ rm -r "${ED}/usr/share/virt-manager/icons/" || die
+ rm -r "${ED}/usr/share/icons/" || die
+ rm -r "${ED}/usr/share/applications/virt-manager.desktop" || die
+ rm -r "${ED}/usr/bin/virt-manager" || die
+ fi
+}
+
+pkg_postinst() {
+ use gui && gnome2_pkg_postinst
+
+ optfeature "SSH_ASKPASS program implementation" lxqt-base/lxqt-openssh-askpass net-misc/ssh-askpass-fullscreen net-misc/x11-ssh-askpass
+ optfeature "QEMU host support" app-emulation/qemu[usbredir,spice]
+}
next reply other threads:[~2024-11-29 5:54 UTC|newest]
Thread overview: 119+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-29 5:54 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-01-07 19:51 [gentoo-commits] repo/gentoo:master commit in: app-emulation/virt-manager/ 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-29 5:54 Sam James
2024-11-13 19:09 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=1732859621.54797a96875918602f4b091395cdd3b18c10eed2.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