Gentoo Archives: gentoo-commits

From: Brian Evans <grknight@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-php/pecl-raphf/
Date: Wed, 28 Dec 2016 21:20:18
Message-Id: 1482959989.8639a7ef6a57f2e5337d9d81f482f6fba5152589.grknight@gentoo
1 commit: 8639a7ef6a57f2e5337d9d81f482f6fba5152589
2 Author: Brian Evans <grknight <AT> gentoo <DOT> org>
3 AuthorDate: Wed Dec 28 21:01:08 2016 +0000
4 Commit: Brian Evans <grknight <AT> gentoo <DOT> org>
5 CommitDate: Wed Dec 28 21:19:49 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8639a7ef
7
8 dev-php/pecl-raphf: Revision bumps to add php 7.1 support
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11
12 dev-php/pecl-raphf/pecl-raphf-1.1.2-r1.ebuild | 41 +++++++++++++++++++++++++++
13 dev-php/pecl-raphf/pecl-raphf-2.0.0-r1.ebuild | 40 ++++++++++++++++++++++++++
14 2 files changed, 81 insertions(+)
15
16 diff --git a/dev-php/pecl-raphf/pecl-raphf-1.1.2-r1.ebuild b/dev-php/pecl-raphf/pecl-raphf-1.1.2-r1.ebuild
17 new file mode 100644
18 index 00000000..9875d13
19 --- /dev/null
20 +++ b/dev-php/pecl-raphf/pecl-raphf-1.1.2-r1.ebuild
21 @@ -0,0 +1,41 @@
22 +# Copyright 1999-2016 Gentoo Foundation
23 +# Distributed under the terms of the GNU General Public License v2
24 +# $Id$
25 +
26 +EAPI="6"
27 +
28 +PHP_EXT_NAME="raphf"
29 +PHP_EXT_INI="yes"
30 +PHP_EXT_ZENDEXT="no"
31 +PHP_EXT_ECONF_ARGS=""
32 +
33 +USE_PHP="php5-6 php7-0 php7-1"
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 +
50 +src_prepare() {
51 + if use php_targets_php5-6 ; then
52 + php-ext-source-r3_src_prepare
53 + else
54 + default_src_prepare
55 + fi
56 +}
57 +
58 +src_install() {
59 + if use php_targets_php5-6 ; then
60 + php-ext-pecl-r3_src_install
61 + fi
62 +}
63
64 diff --git a/dev-php/pecl-raphf/pecl-raphf-2.0.0-r1.ebuild b/dev-php/pecl-raphf/pecl-raphf-2.0.0-r1.ebuild
65 new file mode 100644
66 index 00000000..c70af56
67 --- /dev/null
68 +++ b/dev-php/pecl-raphf/pecl-raphf-2.0.0-r1.ebuild
69 @@ -0,0 +1,40 @@
70 +# Copyright 1999-2016 Gentoo Foundation
71 +# Distributed under the terms of the GNU General Public License v2
72 +# $Id$
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 +
81 +USE_PHP="php5-6 php7-0 php7-1"
82 +
83 +inherit php-ext-pecl-r3
84 +
85 +# Only really build for 7.x
86 +USE_PHP="php7-0 php7-1"
87 +
88 +KEYWORDS="~amd64 ~x86"
89 +
90 +DESCRIPTION="A reusable, persistent handle and resource factory API"
91 +LICENSE="BSD-2"
92 +SLOT="7"
93 +IUSE=""
94 +
95 +RDEPEND="php_targets_php5-6? ( ${CATEGORY}/${PN}:0[php_targets_php5-6] )"
96 +
97 +src_prepare() {
98 + if use php_targets_php7-0 || use php_targets_php7-1 ; then
99 + php-ext-source-r3_src_prepare
100 + else
101 + default_src_prepare
102 + fi
103 +}
104 +
105 +src_install() {
106 + if use php_targets_php7-0 || use php_targets_php7-1 ; then
107 + php-ext-pecl-r3_src_install
108 + fi
109 +}