Gentoo Archives: gentoo-commits

From: Brian Evans <grknight@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-php/pecl-mailparse/
Date: Mon, 01 Oct 2018 19:14:17
Message-Id: 1538421196.ab787cec6787cb8af40d6377b43ff41a0e448e03.grknight@gentoo
1 commit: ab787cec6787cb8af40d6377b43ff41a0e448e03
2 Author: Brian Evans <grknight <AT> gentoo <DOT> org>
3 AuthorDate: Mon Oct 1 19:13:16 2018 +0000
4 Commit: Brian Evans <grknight <AT> gentoo <DOT> org>
5 CommitDate: Mon Oct 1 19:13:16 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab787cec
7
8 dev-php/pecl-mailparse: Fix tests
9
10 The upstream repository includes testdata which some of the tests
11 need to pass. Unfortunately, the tarball does not include them.
12
13 Delete the tests for now as the next release will resolve this issue.
14
15 Closes: https://bugs.gentoo.org/667486
16 Signed-off-by: Brian Evans <grknight <AT> gentoo.org>
17 Package-Manager: Portage-2.3.50, Repoman-2.3.11
18
19 dev-php/pecl-mailparse/pecl-mailparse-3.0.2-r1.ebuild | 4 +++-
20 1 file changed, 3 insertions(+), 1 deletion(-)
21
22 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
23 index 9b37d88dcd9..3a5f1f470f6 100644
24 --- a/dev-php/pecl-mailparse/pecl-mailparse-3.0.2-r1.ebuild
25 +++ b/dev-php/pecl-mailparse/pecl-mailparse-3.0.2-r1.ebuild
26 @@ -1,4 +1,4 @@
27 -# Copyright 1999-2018 Gentoo Foundation
28 +# Copyright 1999-2018 Gentoo Authors
29 # Distributed under the terms of the GNU General Public License v2
30
31 EAPI=6
32 @@ -34,6 +34,8 @@ RDEPEND="${PHPUSEDEPEND} php_targets_php5-6? ( dev-php/pecl-mailparse:0[php_targ
33
34 src_prepare() {
35 if use php_targets_php7-0 || use php_targets_php7-1 || use php_targets_php7-2 ; then
36 + # Missing test source files in archive. Fixed upstream in next release.
37 + rm tests/011.phpt tests/bug001.phpt || die
38 php-ext-source-r3_src_prepare
39 else
40 default