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-raphf/
Date: Sun, 17 Nov 2019 21:01:48
Message-Id: 1574024490.8b849f37a4071a4ef2f2ed0b85556a1aa5dc9651.whissi@gentoo
1 commit: 8b849f37a4071a4ef2f2ed0b85556a1aa5dc9651
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Sun Nov 17 20:52:27 2019 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Sun Nov 17 21:01:30 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b849f37
7
8 dev-php/pecl-raphf: bump to v2.0.1
9
10 Package-Manager: Portage-2.3.79, Repoman-2.3.18
11 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
12
13 dev-php/pecl-raphf/Manifest | 1 +
14 dev-php/pecl-raphf/pecl-raphf-2.0.1.ebuild | 40 ++++++++++++++++++++++++++++++
15 2 files changed, 41 insertions(+)
16
17 diff --git a/dev-php/pecl-raphf/Manifest b/dev-php/pecl-raphf/Manifest
18 index 904c5c31024..85a0d1db156 100644
19 --- a/dev-php/pecl-raphf/Manifest
20 +++ b/dev-php/pecl-raphf/Manifest
21 @@ -1,2 +1,3 @@
22 DIST raphf-1.1.2.tgz 15915 BLAKE2B eb6135ab97b7842168c71fd037858c4e9f59573be89e8b4d4192f6cb94b73cb72f3d85fe2cbfe7d99a89c4e6a84480992db6103e969925c556d7790968f499d3 SHA512 dbde89a8ba508727ab2511b977b74fcc06010d75d043c2acca31e75cac2a105a8c322a01995271ab89fcd39d42a16b36c6d1c06a569e33926c0626d30a6672eb
23 DIST raphf-2.0.0.tgz 15715 BLAKE2B bab2997d9ce8358efaa69f2e633f49e4dd16f640e8d30284ebb33767285bead1aabcd973e7133152b82cf624e2c2e68cc6247e424aa5ed540e4211b5ed3da365 SHA512 16b029b694d30817a68a1a9d80bdf031d058ada45a93a4b34b49ec5d61fa8af78d0dbf1a3e5e2f1b950b2a11ac0b86b5a467807551556ab2a77f7f99739ed11b
24 +DIST raphf-2.0.1.tgz 16003 BLAKE2B 4eaf9f89e6572e17e0df347543dc99221f68d45103444f89e59862b9078574722278fbb1e2841b0a5952ffd6dfc4ea0fa81298f2014ffbe8a6b51ed6887f6692 SHA512 0a609fc21a62880963e7afb75297eb75a2598aab2c816cb61e84d665b0453e4952aa9bf25fe2c818cc94492a4b94aed965053c67899fdb984d88661364fffb1e
25
26 diff --git a/dev-php/pecl-raphf/pecl-raphf-2.0.1.ebuild b/dev-php/pecl-raphf/pecl-raphf-2.0.1.ebuild
27 new file mode 100644
28 index 00000000000..f28c7a6bb55
29 --- /dev/null
30 +++ b/dev-php/pecl-raphf/pecl-raphf-2.0.1.ebuild
31 @@ -0,0 +1,40 @@
32 +# Copyright 1999-2019 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI="7"
36 +
37 +PHP_EXT_NAME="raphf"
38 +PHP_EXT_INI="yes"
39 +PHP_EXT_ZENDEXT="no"
40 +PHP_EXT_ECONF_ARGS=""
41 +PHP_INI_NAME="30-${PHP_EXT_NAME}"
42 +
43 +USE_PHP="php5-6 php7-0 php7-1 php7-2 php7-3"
44 +
45 +inherit php-ext-pecl-r3
46 +
47 +# Only really build for 7.x
48 +USE_PHP="php7-1 php7-2 php7-3"
49 +
50 +KEYWORDS="~amd64 ~x86"
51 +
52 +DESCRIPTION="A reusable, persistent handle and resource factory API"
53 +LICENSE="BSD-2"
54 +SLOT="7"
55 +IUSE=""
56 +
57 +RDEPEND="php_targets_php5-6? ( ${CATEGORY}/${PN}:0[php_targets_php5-6] )"
58 +
59 +src_prepare() {
60 + if use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3; then
61 + php-ext-source-r3_src_prepare
62 + else
63 + default_src_prepare
64 + fi
65 +}
66 +
67 +src_install() {
68 + if use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3; then
69 + php-ext-pecl-r3_src_install
70 + fi
71 +}