app-admin/abrt: drop selinux due to systemd dependency
authorGilles Dartiguelongue <eva@gentoo.org>
Wed, 23 May 2018 23:17:18 +0000 (01:17 +0200)
committerGilles Dartiguelongue <eva@gentoo.org>
Wed, 23 May 2018 23:21:04 +0000 (01:21 +0200)
Also fix configure python not being optional.
Drop xdg-utils as there is no desktop files or mimetypes to update.
Restore gnome2-utils to update icon cache.

Package-Manager: Portage-2.3.36, Repoman-2.3.9

app-admin/abrt/abrt-2.10.9.ebuild

index e17cca9bceff3fe02ed260bbb4c96449abe2c7fd..313aab7271b3df7c4cb91e4750c15c0a17cdf2cf 100644 (file)
@@ -5,7 +5,7 @@ EAPI=6
 
 PYTHON_COMPAT=( python3_{4,5,6} )
 
-inherit autotools xdg-utils python-single-r1 systemd user
+inherit autotools gnome2-utils python-single-r1 systemd user
 
 DESCRIPTION="Automatic bug detection and reporting tool"
 HOMEPAGE="https://github.com/abrt/abrt/wiki/ABRT-Project"
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="debug selinux systemd"
+IUSE="debug selinux"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 COMMON_DEPEND="${PYTHON_DEPS}
@@ -24,6 +24,7 @@ COMMON_DEPEND="${PYTHON_DEPS}
        dev-libs/nss
        >=gnome-base/gsettings-desktop-schemas-3.15.1
        sys-apps/dbus
+       sys-apps/systemd
        sys-auth/polkit
        sys-fs/inotify-tools
        x11-libs/gtk+:3
@@ -77,7 +78,7 @@ src_configure() {
                $(usex selinux "" "--without-selinux")
                --without-python2
                # Fixes "syntax error in VERSION script" and we aren't supporting Python2 anyway
-               $(usex python "--with-python3" "--without-python3")
+               --with-python3
                --without-pythondoc
                # package breaks due to no sphinx-build-3
                --without-pythontests