The upstream repository includes testdata which some of the tests
need to pass. Unfortunately, the tarball does not include them.
Delete the tests for now as the next release will resolve this issue.
Closes: https://bugs.gentoo.org/667486
Signed-off-by: Brian Evans <grknight@gentoo.org>
Package-Manager: Portage-2.3.50, Repoman-2.3.11
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
src_prepare() {
if use php_targets_php7-0 || use php_targets_php7-1 || use php_targets_php7-2 ; then
+ # Missing test source files in archive. Fixed upstream in next release.
+ rm tests/011.phpt tests/bug001.phpt || die
php-ext-source-r3_src_prepare
else
default