1 |
commit: cfd8e2602a8058819acac11b4ac5e560feb5f15f |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Nov 29 12:38:02 2019 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Nov 29 12:38:02 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cfd8e260 |
7 |
|
8 |
dev-php/pecl-yaml: 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-yaml/pecl-yaml-2.0.4.ebuild | 12 ++++++------ |
14 |
1 file changed, 6 insertions(+), 6 deletions(-) |
15 |
|
16 |
diff --git a/dev-php/pecl-yaml/pecl-yaml-2.0.4.ebuild b/dev-php/pecl-yaml/pecl-yaml-2.0.4.ebuild |
17 |
index 804cd88748e..3a1a1abfdb9 100644 |
18 |
--- a/dev-php/pecl-yaml/pecl-yaml-2.0.4.ebuild |
19 |
+++ b/dev-php/pecl-yaml/pecl-yaml-2.0.4.ebuild |
20 |
@@ -1,7 +1,7 @@ |
21 |
-# Copyright 1999-2018 Gentoo Authors |
22 |
+# Copyright 1999-2019 Gentoo Authors |
23 |
# Distributed under the terms of the GNU General Public License v2 |
24 |
|
25 |
-EAPI=6 |
26 |
+EAPI=7 |
27 |
|
28 |
MY_PV="${PV/_rc/RC}" |
29 |
PHP_EXT_PECL_FILENAME="yaml-${MY_PV}.tgz" |
30 |
@@ -10,13 +10,13 @@ PHP_EXT_INI="yes" |
31 |
PHP_EXT_ZENDEXT="no" |
32 |
DOCS=( CREDITS README ) |
33 |
|
34 |
-USE_PHP="php7-0 php7-1 php7-2 php7-3 php5-6" |
35 |
+USE_PHP="php7-0 php7-1 php7-2 php7-3 php7-4 php5-6" |
36 |
|
37 |
inherit php-ext-pecl-r3 |
38 |
|
39 |
S="${WORKDIR}/yaml-${MY_PV}" |
40 |
PHP_EXT_S="${S}" |
41 |
-USE_PHP="php7-0 php7-1 php7-2 php7-3" |
42 |
+USE_PHP="php7-0 php7-1 php7-2 php7-3 php7-4" |
43 |
|
44 |
KEYWORDS="~amd64 ~x86" |
45 |
|
46 |
@@ -30,7 +30,7 @@ RDEPEND="${DEPEND} php_targets_php5-6? ( dev-php/pecl-yaml:0[php_targets_php5-6] |
47 |
PHP_EXT_ECONF_ARGS="" |
48 |
|
49 |
src_prepare() { |
50 |
- if use php_targets_php7-0 || use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3 ; then |
51 |
+ 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 |
52 |
php-ext-source-r3_src_prepare |
53 |
else |
54 |
default_src_prepare |
55 |
@@ -38,7 +38,7 @@ src_prepare() { |
56 |
} |
57 |
|
58 |
src_install() { |
59 |
- if use php_targets_php7-0 || use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3 ; then |
60 |
+ 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 |
61 |
php-ext-pecl-r3_src_install |
62 |
fi |
63 |
} |