From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CEB31138335 for ; Tue, 2 Apr 2019 09:43:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E9972E0B5E; Tue, 2 Apr 2019 09:43:09 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C4CECE0B5E for ; Tue, 2 Apr 2019 09:43:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3A7F6335D10 for ; Tue, 2 Apr 2019 09:43:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D7EBE58A for ; Tue, 2 Apr 2019 09:43:06 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1554198181.9987da7e577f782fb2b964e6bb260349c6044bae.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/virtualbox/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-emulation/virtualbox/virtualbox-6.0.4-r1.ebuild X-VCS-Directories: app-emulation/virtualbox/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: 9987da7e577f782fb2b964e6bb260349c6044bae X-VCS-Branch: master Date: Tue, 2 Apr 2019 09:43:06 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: b39a7b34-75ad-48d7-9c0d-3f044875383f X-Archives-Hash: d52aa5afa62b043205307ddc8e3ef6cf commit: 9987da7e577f782fb2b964e6bb260349c6044bae Author: Lars Wendler gentoo org> AuthorDate: Tue Apr 2 09:42:46 2019 +0000 Commit: Lars Wendler gentoo org> CommitDate: Tue Apr 2 09:43:01 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9987da7e app-emulation/virtualbox: Added python3 support. Replaced gnome2-utils and xdg-utils with xdg eclass. Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Lars Wendler gentoo.org> app-emulation/virtualbox/virtualbox-6.0.4-r1.ebuild | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/app-emulation/virtualbox/virtualbox-6.0.4-r1.ebuild b/app-emulation/virtualbox/virtualbox-6.0.4-r1.ebuild index e8d806027ab..76fe504e8c1 100644 --- a/app-emulation/virtualbox/virtualbox-6.0.4-r1.ebuild +++ b/app-emulation/virtualbox/virtualbox-6.0.4-r1.ebuild @@ -3,8 +3,8 @@ EAPI=6 -PYTHON_COMPAT=( python2_7 ) -inherit flag-o-matic gnome2-utils java-pkg-opt-2 linux-info pax-utils python-single-r1 tmpfiles toolchain-funcs udev xdg-utils +PYTHON_COMPAT=( python{2_7,3_{5,6,7}} ) +inherit flag-o-matic java-pkg-opt-2 linux-info pax-utils python-single-r1 tmpfiles toolchain-funcs udev xdg MY_PV="${PV/beta/BETA}" MY_PV="${MY_PV/rc/RC}" @@ -435,9 +435,12 @@ src_install() { newtmpfiles "${FILESDIR}"/${PN}-vboxusb_tmpfilesd ${PN}-vboxusb.conf } +pkg_preinst() { + xdg_pkg_preinst +} + pkg_postinst() { - gnome2_icon_cache_update - xdg_desktop_database_update + xdg_pkg_postinst if use udev ; then udevadm control --reload-rules \ @@ -479,6 +482,5 @@ pkg_postinst() { } pkg_postrm() { - gnome2_icon_cache_update - xdg_desktop_database_update + xdg_pkg_postrm }