app-emulation/libvirt: fix src_test, bug #576148
authorMatthias Maier <tamiko@gentoo.org>
Tue, 16 Aug 2016 07:11:14 +0000 (02:11 -0500)
committerMatthias Maier <tamiko@gentoo.org>
Tue, 16 Aug 2016 07:26:47 +0000 (02:26 -0500)
Package-Manager: portage-2.2.28

app-emulation/libvirt/libvirt-2.0.0-r2.ebuild
app-emulation/libvirt/libvirt-2.1.0-r1.ebuild
app-emulation/libvirt/libvirt-9999.ebuild
app-emulation/libvirt/metadata.xml

index d24ed9fcaef880ffeeeb15267d4d4353bed14139..9244e85d8b340b02af995e52163ab046bf0289b1 100644 (file)
@@ -31,10 +31,12 @@ fi
 DESCRIPTION="C toolkit to manipulate virtual machines"
 HOMEPAGE="http://www.libvirt.org/"
 LICENSE="LGPL-2.1"
-IUSE="apparmor audit avahi +caps firewalld fuse glusterfs iscsi +libvirtd lvm \
-       lxc +macvtap nfs nls numa openvz parted pcap phyp pm-utils policykit \
-       +qemu rbd sasl selinux +udev uml +vepa virtualbox virt-network
-       wireshark-plugins xen elibc_glibc"
+IUSE="
+       apparmor audit avahi +caps firewalld fuse glusterfs iscsi +libvirtd lvm
+       lxc +macvtap nfs nls numa openvz parted pcap phyp policykit +qemu rbd
+       sasl selinux +udev uml +vepa virtualbox virt-network wireshark-plugins
+       xen elibc_glibc
+"
 
 REQUIRED_USE="
        firewalld? ( virt-network )
@@ -88,7 +90,6 @@ RDEPEND="
                sys-fs/lvm2[-device-mapper-only(-)]
        )
        pcap? ( >=net-libs/libpcap-1.0.0 )
-       pm-utils? ( sys-power/pm-utils )
        policykit? ( >=sys-auth/polkit-0.9 )
        qemu? (
                >=app-emulation/qemu-0.13.0
@@ -269,7 +270,6 @@ src_configure() {
                $(use_with parted storage-disk)
                $(use_with pcap libpcap)
                $(use_with phyp)
-               $(use_with pm-utils pm-utils)
                $(use_with policykit polkit)
                $(use_with qemu)
                $(use_with qemu yajl)
@@ -325,7 +325,8 @@ src_configure() {
 }
 
 src_test() {
-       # Explicitly allow parallel build of tests
+       cd "${BUILD_DIR}"
+
        export VIR_TEST_DEBUG=1
        HOME="${T}" emake check || die "tests failed"
 }
index d24ed9fcaef880ffeeeb15267d4d4353bed14139..9244e85d8b340b02af995e52163ab046bf0289b1 100644 (file)
@@ -31,10 +31,12 @@ fi
 DESCRIPTION="C toolkit to manipulate virtual machines"
 HOMEPAGE="http://www.libvirt.org/"
 LICENSE="LGPL-2.1"
-IUSE="apparmor audit avahi +caps firewalld fuse glusterfs iscsi +libvirtd lvm \
-       lxc +macvtap nfs nls numa openvz parted pcap phyp pm-utils policykit \
-       +qemu rbd sasl selinux +udev uml +vepa virtualbox virt-network
-       wireshark-plugins xen elibc_glibc"
+IUSE="
+       apparmor audit avahi +caps firewalld fuse glusterfs iscsi +libvirtd lvm
+       lxc +macvtap nfs nls numa openvz parted pcap phyp policykit +qemu rbd
+       sasl selinux +udev uml +vepa virtualbox virt-network wireshark-plugins
+       xen elibc_glibc
+"
 
 REQUIRED_USE="
        firewalld? ( virt-network )
@@ -88,7 +90,6 @@ RDEPEND="
                sys-fs/lvm2[-device-mapper-only(-)]
        )
        pcap? ( >=net-libs/libpcap-1.0.0 )
-       pm-utils? ( sys-power/pm-utils )
        policykit? ( >=sys-auth/polkit-0.9 )
        qemu? (
                >=app-emulation/qemu-0.13.0
@@ -269,7 +270,6 @@ src_configure() {
                $(use_with parted storage-disk)
                $(use_with pcap libpcap)
                $(use_with phyp)
-               $(use_with pm-utils pm-utils)
                $(use_with policykit polkit)
                $(use_with qemu)
                $(use_with qemu yajl)
@@ -325,7 +325,8 @@ src_configure() {
 }
 
 src_test() {
-       # Explicitly allow parallel build of tests
+       cd "${BUILD_DIR}"
+
        export VIR_TEST_DEBUG=1
        HOME="${T}" emake check || die "tests failed"
 }
index f1a8bae2540988a3c9c45ebb0ddedd1a95105889..690843d36c3af4236193b5130a81bf060973f4bf 100644 (file)
@@ -31,10 +31,12 @@ fi
 DESCRIPTION="C toolkit to manipulate virtual machines"
 HOMEPAGE="http://www.libvirt.org/"
 LICENSE="LGPL-2.1"
-IUSE="apparmor audit avahi +caps firewalld fuse glusterfs iscsi +libvirtd lvm \
-       lxc +macvtap nfs nls numa openvz parted pcap phyp pm-utils policykit \
-       +qemu rbd sasl selinux +udev uml +vepa virtualbox virt-network
-       wireshark-plugins xen elibc_glibc"
+IUSE="
+       apparmor audit avahi +caps firewalld fuse glusterfs iscsi +libvirtd lvm
+       lxc +macvtap nfs nls numa openvz parted pcap phyp policykit +qemu rbd
+       sasl selinux +udev uml +vepa virtualbox virt-network wireshark-plugins
+       xen elibc_glibc
+"
 
 REQUIRED_USE="
        firewalld? ( virt-network )
@@ -88,7 +90,6 @@ RDEPEND="
                sys-fs/lvm2[-device-mapper-only(-)]
        )
        pcap? ( >=net-libs/libpcap-1.0.0 )
-       pm-utils? ( sys-power/pm-utils )
        policykit? ( >=sys-auth/polkit-0.9 )
        qemu? (
                >=app-emulation/qemu-0.13.0
@@ -269,7 +270,6 @@ src_configure() {
                $(use_with parted storage-disk)
                $(use_with pcap libpcap)
                $(use_with phyp)
-               $(use_with pm-utils pm-utils)
                $(use_with policykit polkit)
                $(use_with qemu)
                $(use_with qemu yajl)
@@ -321,7 +321,8 @@ src_configure() {
 }
 
 src_test() {
-       # Explicitly allow parallel build of tests
+       cd "${BUILD_DIR}"
+
        export VIR_TEST_DEBUG=1
        HOME="${T}" emake check || die "tests failed"
 }
index 640311f62e3b394c2d9f3d168cd4e02950b92004..d36271c83f15123001efff81e81fe5fa52d4f078 100644 (file)
@@ -72,8 +72,6 @@
                macvtap support requires very new kernels and is
                currently evolving. Support for this is experimental at best.
        </flag>
-       <flag name="pm-utils">Use sys-power/pm-utils for power management.
-       </flag>
        <flag name="vepa">Virtual Ethernet Port Aggregator (VEPA) / 802.1Qbg
                support. Relies on macvtap support.</flag>
        <flag name="virt-network">