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-apcu_bc/
Date: Fri, 07 Jun 2019 14:14:15
Message-Id: 1559916470.7f5592301502852ba9a645d09eb3ac73cff051d5.whissi@gentoo
1 commit: 7f5592301502852ba9a645d09eb3ac73cff051d5
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jun 7 12:15:11 2019 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Fri Jun 7 14:07:50 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f559230
7
8 dev-php/pecl-apcu_bc: bump to v1.0.5
9
10 Package-Manager: Portage-2.3.67, Repoman-2.3.14
11 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
12
13 dev-php/pecl-apcu_bc/Manifest | 1 +
14 dev-php/pecl-apcu_bc/pecl-apcu_bc-1.0.5.ebuild | 44 ++++++++++++++++++++++++++
15 2 files changed, 45 insertions(+)
16
17 diff --git a/dev-php/pecl-apcu_bc/Manifest b/dev-php/pecl-apcu_bc/Manifest
18 index 79b88769e0f..99201b68c41 100644
19 --- a/dev-php/pecl-apcu_bc/Manifest
20 +++ b/dev-php/pecl-apcu_bc/Manifest
21 @@ -1 +1,2 @@
22 DIST apcu_bc-1.0.4.tgz 7406 BLAKE2B c7099f13bfe589c9752fb7fa8454f16094a13d63924ceef614db1fef11d37265673e745383241836685dcabca8ae83af3c71ba2f2d8a77b4ab213db209924f12 SHA512 633ae74c4be3ee0c2c98540f696dc440f3f345c52811e856cb46c65c6b6fa8fa9f06ecb1d784cd990cf8b5219b65e14a29b97e57828dc6e7aa6b91d2475e6a0e
23 +DIST apcu_bc-1.0.5.tgz 7415 BLAKE2B d86c5a4949239d9196b4bfc22c19f97ff66b47ec87962540295a0d9f08c72c0f1213439dd6c4006355a73c7fa3dbdcc51e9f897b289f134116d33d9eb2c67cb7 SHA512 60ee1540c31873d7963fd8efa6293006eae19cb6c7815cea1f3b50b197a982840472a1e632cc7af5666f6af5522008bec30e48cd764920240a6c5a0d0eb0e6e0
24
25 diff --git a/dev-php/pecl-apcu_bc/pecl-apcu_bc-1.0.5.ebuild b/dev-php/pecl-apcu_bc/pecl-apcu_bc-1.0.5.ebuild
26 new file mode 100644
27 index 00000000000..2e08b7e24a5
28 --- /dev/null
29 +++ b/dev-php/pecl-apcu_bc/pecl-apcu_bc-1.0.5.ebuild
30 @@ -0,0 +1,44 @@
31 +# Copyright 1999-2019 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI="7"
35 +
36 +PHP_INI_NAME="bc_apc"
37 +PHP_EXT_NAME="apc"
38 +PHP_EXT_INI="yes"
39 +PHP_EXT_ZENDEXT="no"
40 +PHP_EXT_EXTRA_ECONF=""
41 +DOCS=( README.md )
42 +
43 +USE_PHP="php7-1 php7-2 php7-3"
44 +
45 +inherit php-ext-pecl-r3 multilib
46 +
47 +KEYWORDS="~amd64 ~x86"
48 +
49 +DESCRIPTION="Provides APC backwards compatibility functions via APCu"
50 +LICENSE="PHP-3.01"
51 +SLOT="0"
52 +IUSE=""
53 +
54 +DEPEND="dev-php/pecl-apcu:7[php_targets_php7-1?,php_targets_php7-2?,php_targets_php7-3?]"
55 +RDEPEND="${DEPEND}"
56 +
57 +src_test() {
58 + # This fixed version is necessary to have apcu load
59 + # from the install before the tested apc.
60 + # It is intentional to specify phpoptions twice.
61 + # This mimics the Makefile.
62 + local slot phpoptions
63 + for slot in $(php_get_slots); do
64 + php_init_slot_env "${slot}"
65 + ln -s "${EXT_DIR}/apcu$(get_libname)" \
66 + "modules/" || die
67 + phpoptions=( -n -d extension_dir="${PHP_EXT_S}/modules"
68 + -d extension=apcu$(get_libname)
69 + -d extension=apc$(get_libname) )
70 + NO_INTERACTION="yes" TEST_PHP_EXECUTABLE="${PHPCLI}" \
71 + "${PHPCLI}" "${phpoptions[@]}" \
72 + run-tests.php "${phpoptions[@]}" || die
73 + done
74 +}