sys-apps/pmount: Use acct-group/plugdev
authorMichał Górny <mgorny@gentoo.org>
Fri, 13 Sep 2019 12:16:14 +0000 (14:16 +0200)
committerMichał Górny <mgorny@gentoo.org>
Fri, 13 Sep 2019 12:42:50 +0000 (14:42 +0200)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
sys-apps/pmount/pmount-0.9.99_alpha-r5.ebuild

index f035b7abd4226b7f58d9740e1888886e9f068671..52df8b15b9ffc398806394b3ace3961ddabb3570 100644 (file)
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
-inherit eutils user bash-completion-r1
+inherit eutils bash-completion-r1
 
 DESCRIPTION="Policy based mounter that gives the ability to mount removable devices as a user"
 HOMEPAGE="https://launchpad.net/pmount"
@@ -13,7 +13,9 @@ SLOT="0"
 KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~sh sparc x86"
 IUSE="crypt"
 
-RDEPEND=">=sys-apps/util-linux-2.17.2
+RDEPEND="
+       acct-group/plugdev
+       >=sys-apps/util-linux-2.17.2
        crypt? ( >=sys-fs/cryptsetup-1.0.6-r2 )"
 DEPEND="${RDEPEND}
        dev-util/intltool
@@ -21,10 +23,6 @@ DEPEND="${RDEPEND}
 
 S=${WORKDIR}/${P/_/-}
 
-pkg_setup() {
-       enewgroup plugdev
-}
-
 src_prepare() {
        # Restore default value from pmount <= 0.9.23 wrt #393633
        sed -i -e '/^not_physically_logged_allow/s:=.*:= yes:' etc/pmount.conf || die