Gentoo Archives: gentoo-commits

From: Michael Orlitzky <mjo@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-php/pecl-redis/
Date: Tue, 03 Jan 2017 05:50:18
Message-Id: 1483422102.812b3911e50d39f28a459f9974ca92826b984404.mjo@gentoo
1 commit: 812b3911e50d39f28a459f9974ca92826b984404
2 Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jan 3 05:41:42 2017 +0000
4 Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
5 CommitDate: Tue Jan 3 05:41:42 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=812b3911
7
8 dev-php/pecl-redis: remove obsolete versions 2.2.8 and 3.0.0.
9
10 Package-Manager: portage-2.3.0
11
12 dev-php/pecl-redis/Manifest | 2 --
13 dev-php/pecl-redis/pecl-redis-2.2.8.ebuild | 49 -----------------------------
14 dev-php/pecl-redis/pecl-redis-3.0.0.ebuild | 50 ------------------------------
15 3 files changed, 101 deletions(-)
16
17 diff --git a/dev-php/pecl-redis/Manifest b/dev-php/pecl-redis/Manifest
18 index 005c7f9..3133a18 100644
19 --- a/dev-php/pecl-redis/Manifest
20 +++ b/dev-php/pecl-redis/Manifest
21 @@ -1,4 +1,2 @@
22 DIST redis-2.2.7.tgz 134340 SHA256 95e5331cd7e709771eb4479c455bcf326a74b2aea3b1a5cba00b4c95e66dc902 SHA512 88be2abeda62b7c1c95b6d399bbb5f97774d956001b4d13a8e5f183e86fe6336d91f479a8125adcaeff1ad5617a920953961360fc3484ebafc3ed915bcd7f86c WHIRLPOOL e7c8ea7c0c4578933211d4571d742ad09eadb5dd93e207d4f0d5858bfacb7a78eb4bd7ed34cafbc17b465b0d423ea0ff788dee907d89c4939ee4a9acbbe8b95d
23 -DIST redis-2.2.8.tgz 192131 SHA256 fc533752de62848f645707b65cba9d015ab4ed9c7a978c7bd710a5934d97b1b5 SHA512 a0b536dd75934797ee89d21c5a907ee730f5887a8d4cc09c70f3190b7c950f34febf3745d7263ad1fb23adb8b60b7eaf7943514dc0c05553c2b2a620277abfbf WHIRLPOOL 5e9c94e030a0918d7b9bdaf16a2e9434539720d593239d2e46b6a197bc41e12d5d2561ae33908471c1b00dce0980cb64295da0c92e4a587bc0ffef66e12c921b
24 -DIST redis-3.0.0.tgz 189720 SHA256 de0e349027ea0821fbfb7f1961226223f3179bb84c6dada515f0145227993f70 SHA512 0dc4a6363e6bcefdbb50abec500558aaf709ca4e418d11dcebc15509684c81c5286781003725346d7ff748d8b4eea9735cdc82dc9c37fa54c8e7009f6e8bc494 WHIRLPOOL fa612b130ff6611425a4a7e3bb85c40148c006627fce04cd3fd1efcbdbe4780bb3cd3cdb2483d9c385eadf3ba97b82ffd43c906611dd8b5f03b4272a0e24bc4e
25 DIST redis-3.1.0.tgz 197322 SHA256 886c9650815184fb11478a3f3f7a1f1519ed89496ed9fcac47520f01851b8b3e SHA512 b8692ac1b21cb66c1239129a3c539d6235f48ab14675c0fe00a7be5ae40f0b650518466f8619494e6a897fa212262d30de3acb528958c70417fb5280c20d1931 WHIRLPOOL fa7fc0763991d27606dd6cf43db2d2cdfeb8ede59384b20819af41dcf46e985778cc8ee840656979e9c58a93202d4665b40c2aa333f179dae6129c90bc16d914
26
27 diff --git a/dev-php/pecl-redis/pecl-redis-2.2.8.ebuild b/dev-php/pecl-redis/pecl-redis-2.2.8.ebuild
28 deleted file mode 100644
29 index 5e32c6c..00000000
30 --- a/dev-php/pecl-redis/pecl-redis-2.2.8.ebuild
31 +++ /dev/null
32 @@ -1,49 +0,0 @@
33 -# Copyright 1999-2016 Gentoo Foundation
34 -# Distributed under the terms of the GNU General Public License v2
35 -# $Id$
36 -
37 -EAPI=6
38 -
39 -PHP_EXT_NAME="redis"
40 -PHP_EXT_INI="yes"
41 -PHP_EXT_ZENDEXT="no"
42 -
43 -USE_PHP="php5-6 php7-0"
44 -
45 -DOCS=( arrays.markdown README.markdown )
46 -
47 -inherit php-ext-pecl-r3
48 -
49 -USE_PHP="php5-6"
50 -
51 -KEYWORDS="~amd64"
52 -
53 -DESCRIPTION="PHP extension for interfacing with Redis"
54 -LICENSE="PHP-3.01"
55 -SLOT="0"
56 -IUSE="igbinary"
57 -
58 -DEPEND="igbinary? ( php_targets_php5-6? ( dev-php/igbinary[php_targets_php5-6] ) )"
59 -RDEPEND="${DEPEND}"
60 -PDEPEND="php_targets_php7-0? ( dev-php/pecl-redis:7[php_targets_php7-0] )"
61 -
62 -src_prepare() {
63 - if use php_targets_php5-6 ; then
64 - php-ext-source-r3_src_prepare
65 - else
66 - default_src_prepare
67 - fi
68 -}
69 -
70 -src_configure() {
71 - local PHP_EXT_ECONF_ARGS=( --enable-redis
72 - $(use_enable igbinary redis-igbinary) )
73 -
74 - php-ext-source-r3_src_configure
75 -}
76 -
77 -src_install() {
78 - if use php_targets_php5-6 ; then
79 - php-ext-pecl-r3_src_install
80 - fi
81 -}
82
83 diff --git a/dev-php/pecl-redis/pecl-redis-3.0.0.ebuild b/dev-php/pecl-redis/pecl-redis-3.0.0.ebuild
84 deleted file mode 100644
85 index fe9fd03..00000000
86 --- a/dev-php/pecl-redis/pecl-redis-3.0.0.ebuild
87 +++ /dev/null
88 @@ -1,50 +0,0 @@
89 -# Copyright 1999-2016 Gentoo Foundation
90 -# Distributed under the terms of the GNU General Public License v2
91 -# $Id$
92 -
93 -EAPI=5
94 -
95 -PHP_EXT_NAME="redis"
96 -PHP_EXT_INI="yes"
97 -PHP_EXT_ZENDEXT="no"
98 -
99 -USE_PHP="php5-6 php7-0"
100 -
101 -DOCS="arrays.markdown README.markdown"
102 -
103 -inherit php-ext-pecl-r2
104 -
105 -#redefine in order to only build for 7.0
106 -USE_PHP="php7-0"
107 -
108 -KEYWORDS="~amd64"
109 -
110 -DESCRIPTION="PHP extension for interfacing with Redis"
111 -LICENSE="PHP-3.01"
112 -SLOT="7"
113 -IUSE="igbinary"
114 -
115 -DEPEND="igbinary? ( php_targets_php7-0? ( dev-php/igbinary[php_targets_php7-0] ) )"
116 -RDEPEND="${DEPEND} php_targets_php5-6? ( dev-php/pecl-redis:0 )"
117 -
118 -src_configure() {
119 - my_conf="--enable-redis
120 - $(use_enable igbinary redis-igbinary)"
121 -
122 - php-ext-source-r2_src_configure
123 -}
124 -
125 -src_install() {
126 - if use php_targets_php7-0 ; then
127 - php-ext-pecl-r2_src_install
128 - fi
129 -}
130 -
131 -src_test(){
132 - local slot
133 - for slot in `php_get_slots`; do
134 - php_init_slot_env ${slot}
135 - # Run tests for Redis class
136 - ${PHPCLI} -d extension=modules/redis.so tests/TestRedis.php --class Redis --host ${PECL_REDIS_HOST} || die
137 - done
138 -}