commit:     f834322b238f03bf6150626906c469578c901dd2
Author:     Brian Evans <grknight <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 21 18:07:22 2021 +0000
Commit:     Brian Evans <grknight <AT> gentoo <DOT> org>
CommitDate: Thu Jan 21 18:08:54 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f834322b

dev-php/libvirt-php: Update live ebuild

PHP 8 is broken until upstream fixes things

Signed-off-by: Brian Evans <grknight <AT> gentoo.org>

 dev-php/libvirt-php/libvirt-php-9999.ebuild | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/dev-php/libvirt-php/libvirt-php-9999.ebuild 
b/dev-php/libvirt-php/libvirt-php-9999.ebuild
index 2963ecd32d7..395c151a9ce 100644
--- a/dev-php/libvirt-php/libvirt-php-9999.ebuild
+++ b/dev-php/libvirt-php/libvirt-php-9999.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
 
 PHP_EXT_NAME="libvirt-php"
 PHP_EXT_SKIP_PHPIZE="yes"
-USE_PHP="php5-6 php7-0 php7-1 php7-2 php7-3"
+USE_PHP="php7-3 php7-4"
 PHP_EXT_ECONF_ARGS=()
 
 inherit php-ext-source-r3 git-r3 autotools
@@ -26,7 +26,6 @@ DEPEND="${RDEPEND}
        virtual/pkgconfig
        doc? ( app-text/xhtml1 )"
 
-RESTRICT="test"
 DOCS=( ChangeLog NEWS README )
 # Remove the insane check for pecl-imagick which is only used in examples
 # and is not called upon in any build
@@ -63,3 +62,10 @@ src_install() {
                dodoc -r docs/*
        fi
 }
+
+src_test() {
+       for slot in $(php_get_slots); do
+               php_init_slot_env ${slot}
+               default
+       done
+}

Reply via email to