app-misc/solaar: Use acct-group/plugdev
authorMichał Górny <mgorny@gentoo.org>
Fri, 13 Sep 2019 12:15:56 +0000 (14:15 +0200)
committerMichał Górny <mgorny@gentoo.org>
Fri, 13 Sep 2019 12:42:37 +0000 (14:42 +0200)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
app-misc/solaar/solaar-0.9.2-r3.ebuild

index bf85118667864fd69048137f0061ff77eb54ff07..55fc4c787a27e7209dbb92918da06f09901e6971 100644 (file)
@@ -4,7 +4,7 @@
 EAPI=5
 PYTHON_COMPAT=( python{2_7,3_5,3_6} )
 
-inherit distutils-r1 udev user linux-info gnome2-utils
+inherit distutils-r1 udev linux-info gnome2-utils
 
 DESCRIPTION="A Linux device manager for Logitech's Unifying Receiver peripherals"
 HOMEPAGE="https://pwr.github.com/Solaar/"
@@ -15,7 +15,9 @@ SLOT="0"
 KEYWORDS="amd64 ~arm x86"
 IUSE="doc"
 
-RDEPEND=">=dev-python/pyudev-0.13[${PYTHON_USEDEP}]
+RDEPEND="
+       acct-group/plugdev
+       >=dev-python/pyudev-0.13[${PYTHON_USEDEP}]
        dev-python/pygobject:3[${PYTHON_USEDEP}]
        x11-libs/gtk+:3[introspection]"
 
@@ -45,8 +47,6 @@ python_install_all() {
 }
 
 pkg_postinst() {
-       enewgroup plugdev
-
        if [[ -z ${REPLACING_VERSIONS} ]] ; then
                elog "Users must be in the plugdev group to use this application."
        fi