commit:     cd291b8023155e83f299da46eddcb8d55ae5f472
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 13 12:16:14 2019 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Sep 13 12:42:50 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd291b80

sys-apps/pmount: Use acct-group/plugdev

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 sys-apps/pmount/pmount-0.9.99_alpha-r5.ebuild | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/sys-apps/pmount/pmount-0.9.99_alpha-r5.ebuild 
b/sys-apps/pmount/pmount-0.9.99_alpha-r5.ebuild
index f035b7abd42..52df8b15b9f 100644
--- a/sys-apps/pmount/pmount-0.9.99_alpha-r5.ebuild
+++ b/sys-apps/pmount/pmount-0.9.99_alpha-r5.ebuild
@@ -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

Reply via email to