app-emulation/virt-manager-9999: Drop python2 support
authorMichal Privoznik <mprivozn@redhat.com>
Sat, 24 Mar 2018 10:02:15 +0000 (11:02 +0100)
committerMatthias Maier <tamiko@gentoo.org>
Sat, 24 Mar 2018 15:23:02 +0000 (10:23 -0500)
With upstream commit of bd891eb380cdf771f0296a39193614a10749088b
virt-manager is strictly python3 only. Update the ebuild to
follow this change.

Closes: https://bugs.gentoo.org/650790
Closes: https://bugs.gentoo.org/647376

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Signed-off-by: Matthias Maier <tamiko@gentoo.org>
app-emulation/virt-manager/virt-manager-9999.ebuild

index a3b8ec6f3540781df9f7f718d661d5a5bd2dca8b..9a719e6ef546c471eb458a0ac66c96e0379e923a 100644 (file)
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-PYTHON_COMPAT=( python2_7 )
+PYTHON_COMPAT=( python3_{4,5,6} )
 DISTUTILS_SINGLE_IMPL=1
 
 inherit gnome2 distutils-r1
@@ -69,9 +69,6 @@ src_install() {
        local mydistutilsargs=( --no-update-icon-cache --no-compile-schemas )
 
        distutils-r1_src_install
-
-       python_fix_shebang \
-               "${ED}"/usr/share/virt-manager/virt-{clone,convert,install,manager}
 }
 
 pkg_preinst() {