Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 501818 - app-emulation/virtinst-0.600.4 should RDEPEND on dev-python/libvirt-python
Summary: app-emulation/virtinst-0.600.4 should RDEPEND on dev-python/libvirt-python
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Virtualization Team
URL:
Whiteboard:
Keywords:
Depends on: 508250
Blocks:
  Show dependency tree
 
Reported: 2014-02-19 20:02 UTC by Doug Warner
Modified: 2014-12-10 00:10 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Doug Warner 2014-02-19 20:02:25 UTC
libvirt has moved its python bindings out to libvirt-python and no longer provides a "python" use flag.  I've made the following patch which allows installing the package against either package/version:

--- /usr/portage/app-emulation/virtinst/virtinst-0.600.4.ebuild 2013-07-04 22:31:04.000000000 +1000
+++ app-emulation/virtinst/virtinst-0.600.4-r1.ebuild   2014-02-20 06:50:55.759651031 +1100
@@ -32,7 +32,7 @@
 LICENSE="GPL-2"
 SLOT="0"
 IUSE=""
-RDEPEND=">=app-emulation/libvirt-0.7.0[python]
+RDEPEND="|| ( >=app-emulation/libvirt-0.7.0[python] >=dev-python/libvirt-python-1.2.0 )
        dev-python/urlgrabber
        dev-libs/libxml2[python]"
 DEPEND="${RDEPEND}"
Comment 1 Ian Delaney (RETIRED) gentoo-dev 2014-03-25 07:49:02 UTC
Do I have to join the virtualization herd so as to do this?  The ebuild also desperately requires a revbump -> distutils-r1 eclass
Comment 2 Doug Goldstein (RETIRED) gentoo-dev 2014-04-20 17:36:01 UTC
(In reply to Ian Delaney from comment #1)
> Do I have to join the virtualization herd so as to do this?  The ebuild also
> desperately requires a revbump -> distutils-r1 eclass

virtinst should actually go away. Upstream has merged virtinst into virt-manager and I provide the same functionality of virtinst by the following:

USE=-gtk emerge virt-manager
Comment 3 Doug Goldstein (RETIRED) gentoo-dev 2014-04-20 17:38:35 UTC
I now see why this hasn't happened. I'm still waiting on the stabilization request of the version of virt-manager that actually incorporates that change.
Comment 4 Andreis Vinogradovs ( slepnoga ) 2014-04-24 20:49:46 UTC
On a fresh installation of habit put Gentoo. did emerge app-emulation/virtinst; read this bug. Result - +2 servers on ubuntu 14.04
P.S
 # USE=-gtk emerge virt-manager
Calculating dependencies... done!

The following USE changes are necessary to proceed:
 (see "package.use" in the portage(5) man page for more details)
# required by app-emulation/virt-manager-0.10.0-r1
# required by virt-manager (argument)
>=net-libs/gtk-vnc-0.5.3 python
# required by app-emulation/virt-manager-0.10.0-r1
# required by virt-manager (argument)
>=app-emulation/libvirt-glib-0.1.7 python
# required by app-emulation/virt-manager-0.10.0-r1
# required by virt-manager (argument)
>=net-misc/spice-gtk-0.21 python gtk3

Use --autounmask-write to write changes to config files (honoring
CONFIG_PROTECT). Carefully examine the list of proposed changes,
paying special attention to mask or keyword changes that may expose
experimental or unstable packages.

!!! The ebuild selected to satisfy "x11-libs/gtk+:3[introspection]" has unmet requirements.
- x11-libs/gtk+-3.10.8::gentoo USE="introspection -X (-aqua) -colord -cups -debug -examples (-packagekit) -test -vim-syntax -wayland -xinerama"

  The following REQUIRED_USE flag constraints are unsatisfied:
    any-of ( aqua wayland X )
Comment 5 Matthias Maier gentoo-dev 2014-10-31 06:49:26 UTC
(In reply to Doug Goldstein from comment #3)
> I now see why this hasn't happened. I'm still waiting on the stabilization
> request of the version of virt-manager that actually incorporates that
> change.

bug 508250 is closed now. What about removing app-emulation/virtinst now?
Comment 6 Matthias Maier gentoo-dev 2014-12-10 00:10:26 UTC
app-emulation/virtinst was removed from the tree.