1 |
commit: ae67dc262a42bbbfe720eff3f552ed257530ed69 |
2 |
Author: Brian Evans <grknight <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Apr 6 17:31:30 2018 +0000 |
4 |
Commit: Brian Evans <grknight <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Apr 6 17:31:30 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae67dc26 |
7 |
|
8 |
dev-php/pecl-oauth: Revbump for 7.2 support |
9 |
|
10 |
Package-Manager: Portage-2.3.28, Repoman-2.3.9 |
11 |
|
12 |
...cl-oauth-2.0.2-r1.ebuild => pecl-oauth-2.0.2-r2.ebuild} | 14 ++++++++------ |
13 |
1 file changed, 8 insertions(+), 6 deletions(-) |
14 |
|
15 |
diff --git a/dev-php/pecl-oauth/pecl-oauth-2.0.2-r1.ebuild b/dev-php/pecl-oauth/pecl-oauth-2.0.2-r2.ebuild |
16 |
similarity index 67% |
17 |
rename from dev-php/pecl-oauth/pecl-oauth-2.0.2-r1.ebuild |
18 |
rename to dev-php/pecl-oauth/pecl-oauth-2.0.2-r2.ebuild |
19 |
index 988ba351a82..987a87b85ee 100644 |
20 |
--- a/dev-php/pecl-oauth/pecl-oauth-2.0.2-r1.ebuild |
21 |
+++ b/dev-php/pecl-oauth/pecl-oauth-2.0.2-r2.ebuild |
22 |
@@ -1,4 +1,4 @@ |
23 |
-# Copyright 1999-2017 Gentoo Foundation |
24 |
+# Copyright 1999-2018 Gentoo Foundation |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
|
27 |
EAPI="6" |
28 |
@@ -6,12 +6,12 @@ PHP_EXT_NAME="oauth" |
29 |
PHP_EXT_INI="yes" |
30 |
PHP_EXT_ZENDEXT="no" |
31 |
|
32 |
-USE_PHP="php5-6 php7-0 php7-1" |
33 |
+USE_PHP="php5-6 php7-0 php7-1 php7-2" |
34 |
|
35 |
inherit php-ext-pecl-r3 |
36 |
|
37 |
# Really only build for 7.0 |
38 |
-USE_PHP="php7-0 php7-1" |
39 |
+USE_PHP="php7-0 php7-1 php7-2" |
40 |
|
41 |
KEYWORDS="~amd64 ~x86" |
42 |
|
43 |
@@ -24,11 +24,13 @@ DEPEND="php_targets_php7-0? ( dev-lang/php:7.0[hash] |
44 |
dev-libs/libpcre:3= curl? ( net-misc/curl:0= ) ) |
45 |
php_targets_php7-1? ( dev-lang/php:7.1[hash] |
46 |
dev-libs/libpcre:3= curl? ( net-misc/curl:0= ) ) |
47 |
+ php_targets_php7-2? ( dev-lang/php:7.2[hash] |
48 |
+ dev-libs/libpcre:3= curl? ( net-misc/curl:0= ) ) |
49 |
" |
50 |
RDEPEND="${DEPEND} php_targets_php5-6? ( ${CATEGORY}/${PN}:0[php_targets_php5-6(-)?] )" |
51 |
|
52 |
src_prepare() { |
53 |
- if use php_targets_php7-0 || use php_targets_php7-1 ; then |
54 |
+ if use php_targets_php7-0 || use php_targets_php7-1 || use php_targets_php7-2; then |
55 |
local PATCHES=( "${FILESDIR}/${PV}-compare_segfault.patch" ) |
56 |
php-ext-source-r3_src_prepare |
57 |
else |
58 |
@@ -37,7 +39,7 @@ src_prepare() { |
59 |
} |
60 |
|
61 |
src_configure() { |
62 |
- if use php_targets_php7-0 || use php_targets_php7-1 ; then |
63 |
+ if use php_targets_php7-0 || use php_targets_php7-1 || use php_targets_php7-2; then |
64 |
local PHP_EXT_ECONF_ARGS=( |
65 |
--enable-oauth |
66 |
$(use_with curl) |
67 |
@@ -48,7 +50,7 @@ src_configure() { |
68 |
} |
69 |
|
70 |
src_install() { |
71 |
- if use php_targets_php7-0 || use php_targets_php7-1 ; then |
72 |
+ if use php_targets_php7-0 || use php_targets_php7-1 || use php_targets_php7-2; then |
73 |
php-ext-pecl-r3_src_install |
74 |
fi |
75 |
} |