app-emulation/libvirt: depend on acct-user/qemu and acct-group/libvirt
authorMike Gilbert <floppym@gentoo.org>
Mon, 29 Jul 2019 18:20:10 +0000 (14:20 -0400)
committerMike Gilbert <floppym@gentoo.org>
Tue, 30 Jul 2019 13:44:07 +0000 (09:44 -0400)
Package-Manager: Portage-2.3.69_p3, Repoman-2.3.16_p12
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
app-emulation/libvirt/libvirt-5.2.0-r2.ebuild
app-emulation/libvirt/libvirt-5.2.0-r3.ebuild
app-emulation/libvirt/libvirt-5.4.0-r1.ebuild
app-emulation/libvirt/libvirt-5.5.0-r1.ebuild
app-emulation/libvirt/libvirt-9999.ebuild

index ce11748ab1160b28ffb986611e7a426a60f5c961..69d15a2c4477788d37b853c2627196a96c02fa94 100644 (file)
@@ -5,7 +5,7 @@ EAPI=7
 
 PYTHON_COMPAT=( python3_{5,6,7} )
 
-inherit autotools bash-completion-r1 eutils linux-info python-any-r1 readme.gentoo-r1 systemd user
+inherit autotools bash-completion-r1 eutils linux-info python-any-r1 readme.gentoo-r1 systemd
 
 if [[ ${PV} = *9999* ]]; then
        inherit git-r3
@@ -47,6 +47,8 @@ REQUIRED_USE="
 # package will use 3 by default. Since we don't have slot pinning in an API,
 # we must go with the most recent
 RDEPEND="
+       acct-user/qemu
+       policykit? ( acct-group/libvirt )
        app-misc/scrub
        dev-libs/libgcrypt:0
        dev-libs/libnl:3
@@ -127,13 +129,6 @@ PATCHES=(
 )
 
 pkg_setup() {
-       if use qemu; then
-               enewgroup qemu 77
-               enewuser qemu 77 -1 -1 "qemu,kvm"
-       fi
-
-       use policykit && enewgroup libvirt
-
        # Check kernel configuration:
        CONFIG_CHECK=""
        use fuse && CONFIG_CHECK+="
index 6eaa333934d984d5e62a0ee47a8560167ad84fae..8709e69b6fde71a627e5c29d54a50fb9f9c12338 100644 (file)
@@ -5,7 +5,7 @@ EAPI=7
 
 PYTHON_COMPAT=( python3_{5,6,7} )
 
-inherit autotools bash-completion-r1 eutils linux-info python-any-r1 readme.gentoo-r1 systemd user
+inherit autotools bash-completion-r1 eutils linux-info python-any-r1 readme.gentoo-r1 systemd
 
 if [[ ${PV} = *9999* ]]; then
        inherit git-r3
@@ -47,6 +47,8 @@ REQUIRED_USE="
 # package will use 3 by default. Since we don't have slot pinning in an API,
 # we must go with the most recent
 RDEPEND="
+       acct-user/qemu
+       policykit? ( acct-group/libvirt )
        app-misc/scrub
        dev-libs/libgcrypt:0
        dev-libs/libnl:3
@@ -127,13 +129,6 @@ PATCHES=(
 )
 
 pkg_setup() {
-       if use qemu; then
-               enewgroup qemu 77
-               enewuser qemu 77 -1 -1 "qemu,kvm"
-       fi
-
-       use policykit && enewgroup libvirt
-
        # Check kernel configuration:
        CONFIG_CHECK=""
        use fuse && CONFIG_CHECK+="
index 796ca2632a992ff681ab19bf6c510cecb216002d..ea698db7c73be9c46574d5dfb0e94ba311c3033b 100644 (file)
@@ -5,7 +5,7 @@ EAPI=7
 
 PYTHON_COMPAT=( python3_{5,6,7} )
 
-inherit autotools bash-completion-r1 eutils linux-info python-any-r1 readme.gentoo-r1 systemd user
+inherit autotools bash-completion-r1 eutils linux-info python-any-r1 readme.gentoo-r1 systemd
 
 if [[ ${PV} = *9999* ]]; then
        inherit git-r3
@@ -47,6 +47,8 @@ REQUIRED_USE="
 # package will use 3 by default. Since we don't have slot pinning in an API,
 # we must go with the most recent
 RDEPEND="
+       acct-user/qemu
+       policykit? ( acct-group/libvirt )
        app-misc/scrub
        dev-libs/libgcrypt:0
        dev-libs/libnl:3
@@ -127,13 +129,6 @@ PATCHES=(
 )
 
 pkg_setup() {
-       if use qemu; then
-               enewgroup qemu 77
-               enewuser qemu 77 -1 -1 "qemu,kvm"
-       fi
-
-       use policykit && enewgroup libvirt
-
        # Check kernel configuration:
        CONFIG_CHECK=""
        use fuse && CONFIG_CHECK+="
index 5cb42f7609c99e19034cd408886b491b0ce5d9de..5c4936718f6b3d0e7ea88c1cfa159451d8e3b4b2 100644 (file)
@@ -5,7 +5,7 @@ EAPI=7
 
 PYTHON_COMPAT=( python3_{5,6,7} )
 
-inherit autotools bash-completion-r1 eutils linux-info python-any-r1 readme.gentoo-r1 systemd user
+inherit autotools bash-completion-r1 eutils linux-info python-any-r1 readme.gentoo-r1 systemd
 
 if [[ ${PV} = *9999* ]]; then
        inherit git-r3
@@ -47,6 +47,8 @@ REQUIRED_USE="
 # package will use 3 by default. Since we don't have slot pinning in an API,
 # we must go with the most recent
 RDEPEND="
+       acct-user/qemu
+       policykit? ( acct-group/libvirt )
        app-misc/scrub
        dev-libs/libgcrypt:0
        dev-libs/libnl:3
@@ -126,13 +128,6 @@ PATCHES=(
 )
 
 pkg_setup() {
-       if use qemu; then
-               enewgroup qemu 77
-               enewuser qemu 77 -1 -1 "qemu,kvm"
-       fi
-
-       use policykit && enewgroup libvirt
-
        # Check kernel configuration:
        CONFIG_CHECK=""
        use fuse && CONFIG_CHECK+="
index 5cb42f7609c99e19034cd408886b491b0ce5d9de..5c4936718f6b3d0e7ea88c1cfa159451d8e3b4b2 100644 (file)
@@ -5,7 +5,7 @@ EAPI=7
 
 PYTHON_COMPAT=( python3_{5,6,7} )
 
-inherit autotools bash-completion-r1 eutils linux-info python-any-r1 readme.gentoo-r1 systemd user
+inherit autotools bash-completion-r1 eutils linux-info python-any-r1 readme.gentoo-r1 systemd
 
 if [[ ${PV} = *9999* ]]; then
        inherit git-r3
@@ -47,6 +47,8 @@ REQUIRED_USE="
 # package will use 3 by default. Since we don't have slot pinning in an API,
 # we must go with the most recent
 RDEPEND="
+       acct-user/qemu
+       policykit? ( acct-group/libvirt )
        app-misc/scrub
        dev-libs/libgcrypt:0
        dev-libs/libnl:3
@@ -126,13 +128,6 @@ PATCHES=(
 )
 
 pkg_setup() {
-       if use qemu; then
-               enewgroup qemu 77
-               enewuser qemu 77 -1 -1 "qemu,kvm"
-       fi
-
-       use policykit && enewgroup libvirt
-
        # Check kernel configuration:
        CONFIG_CHECK=""
        use fuse && CONFIG_CHECK+="