Skip to content

Commit

Permalink
dev-php/libvirt-php: Update live ebuild
Browse files Browse the repository at this point in the history
PHP 8 is broken until upstream fixes things

Signed-off-by: Brian Evans <[email protected]>
  • Loading branch information
Brian Evans committed Jan 21, 2021
1 parent 4fd40c7 commit f834322
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions dev-php/libvirt-php/libvirt-php-9999.ebuild
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
}

0 comments on commit f834322

Please sign in to comment.