1 |
commit: 238a1079dbf87e7df2e29283a07866b6409ba1c4 |
2 |
Author: Brian Evans <grknight <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 29 15:53:46 2018 +0000 |
4 |
Commit: Brian Evans <grknight <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 29 16:44:01 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=238a1079 |
7 |
|
8 |
dev-php/pecl-raphf: Revbumps to use the new PHP_INI_NAME and php 7.2 |
9 |
|
10 |
Package-Manager: Portage-2.3.20, Repoman-2.3.6 |
11 |
|
12 |
dev-php/pecl-raphf/pecl-raphf-1.1.2-r2.ebuild | 42 +++++++++++++++++++++++++++ |
13 |
dev-php/pecl-raphf/pecl-raphf-2.0.0-r2.ebuild | 40 +++++++++++++++++++++++++ |
14 |
2 files changed, 82 insertions(+) |
15 |
|
16 |
diff --git a/dev-php/pecl-raphf/pecl-raphf-1.1.2-r2.ebuild b/dev-php/pecl-raphf/pecl-raphf-1.1.2-r2.ebuild |
17 |
new file mode 100644 |
18 |
index 00000000000..4fedb7a084a |
19 |
--- /dev/null |
20 |
+++ b/dev-php/pecl-raphf/pecl-raphf-1.1.2-r2.ebuild |
21 |
@@ -0,0 +1,42 @@ |
22 |
+# Copyright 1999-2018 Gentoo Foundation |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+ |
25 |
+EAPI="6" |
26 |
+ |
27 |
+PHP_EXT_NAME="raphf" |
28 |
+PHP_EXT_INI="yes" |
29 |
+PHP_EXT_ZENDEXT="no" |
30 |
+PHP_EXT_ECONF_ARGS="" |
31 |
+PHP_INI_NAME="30-${PHP_EXT_NAME}" |
32 |
+ |
33 |
+USE_PHP="php5-6 php7-0 php7-1 php7-2" |
34 |
+ |
35 |
+inherit php-ext-pecl-r3 |
36 |
+ |
37 |
+USE_PHP="php5-6" |
38 |
+ |
39 |
+KEYWORDS="~amd64 ~x86" |
40 |
+ |
41 |
+DESCRIPTION="A reusable, persistent handle and resource factory API" |
42 |
+LICENSE="BSD-2" |
43 |
+SLOT="0" |
44 |
+IUSE="" |
45 |
+ |
46 |
+PDEPEND=" |
47 |
+ php_targets_php7-0? ( dev-php/pecl-raphf:7[php_targets_php7-0] ) |
48 |
+ php_targets_php7-1? ( dev-php/pecl-raphf:7[php_targets_php7-1] ) |
49 |
+ php_targets_php7-2? ( dev-php/pecl-raphf:7[php_targets_php7-2] )" |
50 |
+ |
51 |
+src_prepare() { |
52 |
+ if use php_targets_php5-6 ; then |
53 |
+ php-ext-source-r3_src_prepare |
54 |
+ else |
55 |
+ default_src_prepare |
56 |
+ fi |
57 |
+} |
58 |
+ |
59 |
+src_install() { |
60 |
+ if use php_targets_php5-6 ; then |
61 |
+ php-ext-pecl-r3_src_install |
62 |
+ fi |
63 |
+} |
64 |
|
65 |
diff --git a/dev-php/pecl-raphf/pecl-raphf-2.0.0-r2.ebuild b/dev-php/pecl-raphf/pecl-raphf-2.0.0-r2.ebuild |
66 |
new file mode 100644 |
67 |
index 00000000000..51817913cb6 |
68 |
--- /dev/null |
69 |
+++ b/dev-php/pecl-raphf/pecl-raphf-2.0.0-r2.ebuild |
70 |
@@ -0,0 +1,40 @@ |
71 |
+# Copyright 1999-2018 Gentoo Foundation |
72 |
+# Distributed under the terms of the GNU General Public License v2 |
73 |
+ |
74 |
+EAPI="6" |
75 |
+ |
76 |
+PHP_EXT_NAME="raphf" |
77 |
+PHP_EXT_INI="yes" |
78 |
+PHP_EXT_ZENDEXT="no" |
79 |
+PHP_EXT_ECONF_ARGS="" |
80 |
+PHP_INI_NAME="30-${PHP_EXT_NAME}" |
81 |
+ |
82 |
+USE_PHP="php5-6 php7-0 php7-1 php7-2" |
83 |
+ |
84 |
+inherit php-ext-pecl-r3 |
85 |
+ |
86 |
+# Only really build for 7.x |
87 |
+USE_PHP="php7-0 php7-1 php7-2" |
88 |
+ |
89 |
+KEYWORDS="~amd64 ~x86" |
90 |
+ |
91 |
+DESCRIPTION="A reusable, persistent handle and resource factory API" |
92 |
+LICENSE="BSD-2" |
93 |
+SLOT="7" |
94 |
+IUSE="" |
95 |
+ |
96 |
+RDEPEND="php_targets_php5-6? ( ${CATEGORY}/${PN}:0[php_targets_php5-6] )" |
97 |
+ |
98 |
+src_prepare() { |
99 |
+ if use php_targets_php7-0 || use php_targets_php7-1 || use php_targets_php7-2; then |
100 |
+ php-ext-source-r3_src_prepare |
101 |
+ else |
102 |
+ default_src_prepare |
103 |
+ fi |
104 |
+} |
105 |
+ |
106 |
+src_install() { |
107 |
+ if use php_targets_php7-0 || use php_targets_php7-1 || use php_targets_php7-2; then |
108 |
+ php-ext-pecl-r3_src_install |
109 |
+ fi |
110 |
+} |