* [gentoo-commits] repo/gentoo:master commit in: dev-php/pecl-mailparse/
@ 2018-10-01 19:14 99% Brian Evans
0 siblings, 0 replies; 1+ results
From: Brian Evans @ 2018-10-01 19:14 UTC (permalink / raw
To: gentoo-commits
commit: ab787cec6787cb8af40d6377b43ff41a0e448e03
Author: Brian Evans <grknight <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 1 19:13:16 2018 +0000
Commit: Brian Evans <grknight <AT> gentoo <DOT> org>
CommitDate: Mon Oct 1 19:13:16 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab787cec
dev-php/pecl-mailparse: Fix tests
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 <AT> gentoo.org>
Package-Manager: Portage-2.3.50, Repoman-2.3.11
dev-php/pecl-mailparse/pecl-mailparse-3.0.2-r1.ebuild | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/dev-php/pecl-mailparse/pecl-mailparse-3.0.2-r1.ebuild b/dev-php/pecl-mailparse/pecl-mailparse-3.0.2-r1.ebuild
index 9b37d88dcd9..3a5f1f470f6 100644
--- a/dev-php/pecl-mailparse/pecl-mailparse-3.0.2-r1.ebuild
+++ b/dev-php/pecl-mailparse/pecl-mailparse-3.0.2-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -34,6 +34,8 @@ RDEPEND="${PHPUSEDEPEND} php_targets_php5-6? ( dev-php/pecl-mailparse:0[php_targ
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
^ permalink raw reply related [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2018-10-01 19:14 99% [gentoo-commits] repo/gentoo:master commit in: dev-php/pecl-mailparse/ Brian Evans
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox