1 |
commit: 9987da7e577f782fb2b964e6bb260349c6044bae |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Apr 2 09:42:46 2019 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Apr 2 09:43:01 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9987da7e |
7 |
|
8 |
app-emulation/virtualbox: Added python3 support. |
9 |
|
10 |
Replaced gnome2-utils and xdg-utils with xdg eclass. |
11 |
|
12 |
Package-Manager: Portage-2.3.62, Repoman-2.3.12 |
13 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
14 |
|
15 |
app-emulation/virtualbox/virtualbox-6.0.4-r1.ebuild | 14 ++++++++------ |
16 |
1 file changed, 8 insertions(+), 6 deletions(-) |
17 |
|
18 |
diff --git a/app-emulation/virtualbox/virtualbox-6.0.4-r1.ebuild b/app-emulation/virtualbox/virtualbox-6.0.4-r1.ebuild |
19 |
index e8d806027ab..76fe504e8c1 100644 |
20 |
--- a/app-emulation/virtualbox/virtualbox-6.0.4-r1.ebuild |
21 |
+++ b/app-emulation/virtualbox/virtualbox-6.0.4-r1.ebuild |
22 |
@@ -3,8 +3,8 @@ |
23 |
|
24 |
EAPI=6 |
25 |
|
26 |
-PYTHON_COMPAT=( python2_7 ) |
27 |
-inherit flag-o-matic gnome2-utils java-pkg-opt-2 linux-info pax-utils python-single-r1 tmpfiles toolchain-funcs udev xdg-utils |
28 |
+PYTHON_COMPAT=( python{2_7,3_{5,6,7}} ) |
29 |
+inherit flag-o-matic java-pkg-opt-2 linux-info pax-utils python-single-r1 tmpfiles toolchain-funcs udev xdg |
30 |
|
31 |
MY_PV="${PV/beta/BETA}" |
32 |
MY_PV="${MY_PV/rc/RC}" |
33 |
@@ -435,9 +435,12 @@ src_install() { |
34 |
newtmpfiles "${FILESDIR}"/${PN}-vboxusb_tmpfilesd ${PN}-vboxusb.conf |
35 |
} |
36 |
|
37 |
+pkg_preinst() { |
38 |
+ xdg_pkg_preinst |
39 |
+} |
40 |
+ |
41 |
pkg_postinst() { |
42 |
- gnome2_icon_cache_update |
43 |
- xdg_desktop_database_update |
44 |
+ xdg_pkg_postinst |
45 |
|
46 |
if use udev ; then |
47 |
udevadm control --reload-rules \ |
48 |
@@ -479,6 +482,5 @@ pkg_postinst() { |
49 |
} |
50 |
|
51 |
pkg_postrm() { |
52 |
- gnome2_icon_cache_update |
53 |
- xdg_desktop_database_update |
54 |
+ xdg_pkg_postrm |
55 |
} |