Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-php/pecl-xdiff/
Date: Fri, 29 Nov 2019 13:34:29
Message-Id: 1575031203.998a4b14fe1f5590fc373c9a5d89855d65f839e9.whissi@gentoo
1 commit: 998a4b14fe1f5590fc373c9a5d89855d65f839e9
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Fri Nov 29 12:40:03 2019 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Fri Nov 29 12:40:03 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=998a4b14
7
8 dev-php/pecl-xdiff: add PHP 7.4 support
9
10 Package-Manager: Portage-2.3.80, Repoman-2.3.19
11 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
12
13 dev-php/pecl-xdiff/pecl-xdiff-2.0.1-r2.ebuild | 11 ++++++-----
14 1 file changed, 6 insertions(+), 5 deletions(-)
15
16 diff --git a/dev-php/pecl-xdiff/pecl-xdiff-2.0.1-r2.ebuild b/dev-php/pecl-xdiff/pecl-xdiff-2.0.1-r2.ebuild
17 index f8bd2e2c845..4acbe27c412 100644
18 --- a/dev-php/pecl-xdiff/pecl-xdiff-2.0.1-r2.ebuild
19 +++ b/dev-php/pecl-xdiff/pecl-xdiff-2.0.1-r2.ebuild
20 @@ -7,11 +7,11 @@ PHP_EXT_NAME="xdiff"
21 PHP_EXT_PECL_PKG="xdiff"
22 DOCS=( README.API )
23
24 -USE_PHP="php5-6 php7-0 php7-1 php7-2 php7-3"
25 +USE_PHP="php5-6 php7-0 php7-1 php7-2 php7-3 php7-4"
26
27 inherit php-ext-pecl-r3
28
29 -USE_PHP="php7-0 php7-1 php7-2 php7-3"
30 +USE_PHP="php7-0 php7-1 php7-2 php7-3 php7-4"
31
32 KEYWORDS="~amd64 ~x86"
33
34 @@ -24,11 +24,12 @@ DEPEND="
35 php_targets_php7-1? ( dev-libs/libxdiff )
36 php_targets_php7-2? ( dev-libs/libxdiff )
37 php_targets_php7-3? ( dev-libs/libxdiff )
38 + php_targets_php7-4? ( dev-libs/libxdiff )
39 "
40 RDEPEND="${DEPEND} php_targets_php5-6? ( dev-php/pecl-xdiff:0[php_targets_php5-6] )"
41
42 src_prepare() {
43 - if use php_targets_php7-0 || use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3 ; then
44 + if use php_targets_php7-0 || use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3 || use php_targets_php7-4 ; then
45 php-ext-source-r3_src_prepare
46 else
47 eapply_user
48 @@ -36,14 +37,14 @@ src_prepare() {
49 }
50
51 src_configure() {
52 - if use php_targets_php7-0 || use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3 ; then
53 + if use php_targets_php7-0 || use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3 || use php_targets_php7-4 ; then
54 local PHP_EXT_ECONF_ARGS=()
55 php-ext-source-r3_src_configure
56 fi
57 }
58
59 src_install() {
60 - if use php_targets_php7-0 || use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3 ; then
61 + if use php_targets_php7-0 || use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3 || use php_targets_php7-4 ; then
62 php-ext-pecl-r3_src_install
63 fi
64 }