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-rrd/
Date: Fri, 29 Nov 2019 13:34:33
Message-Id: 1575033266.c835d8e03ab9f3a806620a0f26f4a4565c6ccb90.whissi@gentoo
1 commit: c835d8e03ab9f3a806620a0f26f4a4565c6ccb90
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Fri Nov 29 13:14:26 2019 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Fri Nov 29 13:14:26 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c835d8e0
7
8 dev-php/pecl-rrd: 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-rrd/pecl-rrd-2.0.1-r3.ebuild | 13 +++++++------
14 1 file changed, 7 insertions(+), 6 deletions(-)
15
16 diff --git a/dev-php/pecl-rrd/pecl-rrd-2.0.1-r3.ebuild b/dev-php/pecl-rrd/pecl-rrd-2.0.1-r3.ebuild
17 index 19278bc6f6d..16e4bc48402 100644
18 --- a/dev-php/pecl-rrd/pecl-rrd-2.0.1-r3.ebuild
19 +++ b/dev-php/pecl-rrd/pecl-rrd-2.0.1-r3.ebuild
20 @@ -4,12 +4,12 @@
21 EAPI="7"
22
23 # Define 5.6 here to have the {I,REQUIRED_}USE generated
24 -USE_PHP="php5-6 php7-1 php7-2 php7-3"
25 +USE_PHP="php5-6 php7-1 php7-2 php7-3 php7-4"
26
27 inherit php-ext-pecl-r3
28
29 # But we really only build 7.0
30 -USE_PHP="php7-1 php7-2 php7-3"
31 +USE_PHP="php7-1 php7-2 php7-3 php7-4"
32
33 DESCRIPTION="RRDtool bindings for PHP"
34 LICENSE="BSD"
35 @@ -20,11 +20,12 @@ DEPEND="
36 php_targets_php7-1? ( net-analyzer/rrdtool[graph] )
37 php_targets_php7-2? ( net-analyzer/rrdtool[graph] )
38 php_targets_php7-3? ( net-analyzer/rrdtool[graph] )
39 + php_targets_php7-4? ( net-analyzer/rrdtool[graph] )
40 "
41 RDEPEND="${DEPEND} php_targets_php5-6? ( ${CATEGORY}/${PN}:0 )"
42
43 src_prepare() {
44 - if use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3 ; then
45 + if use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3 || use php_targets_php7-4 ; then
46 php-ext-source-r3_src_prepare
47 else
48 default
49 @@ -32,21 +33,21 @@ src_prepare() {
50 }
51
52 src_configure() {
53 - if use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3 ; then
54 + if use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3 || use php_targets_php7-3 || use php_targets_php7-4 ; then
55 local PHP_EXT_ECONF_ARGS=()
56 php-ext-source-r3_src_configure
57 fi
58 }
59
60 src_install() {
61 - if use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3 ; then
62 + if use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3 || use php_targets_php7-3 || use php_targets_php7-4 ; then
63 php-ext-pecl-r3_src_install
64 fi
65 }
66
67 src_test() {
68 local slot
69 - if use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3 ; then
70 + if use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3 || use php_targets_php7-3 || use php_targets_php7-4 ; then
71 for slot in $(php_get_slots); do
72 php_init_slot_env "${slot}"
73 # Prepare test data