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-memcached/
Date: Tue, 28 Jan 2020 17:32:02
Message-Id: 1580232713.272453850e553e9f4eae0055d0719ac9e4f77ab3.grknight@gentoo
1 commit: 272453850e553e9f4eae0055d0719ac9e4f77ab3
2 Author: Brian Evans <grknight <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jan 28 17:29:45 2020 +0000
4 Commit: Brian Evans <grknight <AT> gentoo <DOT> org>
5 CommitDate: Tue Jan 28 17:31:53 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27245385
7
8 dev-php/pecl-memcached: Drop old
9
10 Signed-off-by: Brian Evans <grknight <AT> gentoo.org>
11
12 dev-php/pecl-memcached/Manifest | 2 -
13 dev-php/pecl-memcached/pecl-memcached-3.0.4.ebuild | 60 ---------------
14 dev-php/pecl-memcached/pecl-memcached-3.1.3.ebuild | 87 ----------------------
15 dev-php/pecl-memcached/pecl-memcached-3.1.4.ebuild | 81 --------------------
16 dev-php/pecl-memcached/pecl-memcached-3.1.5.ebuild | 81 --------------------
17 5 files changed, 311 deletions(-)
18
19 diff --git a/dev-php/pecl-memcached/Manifest b/dev-php/pecl-memcached/Manifest
20 index 7a9e5dc0271..042f38e9b17 100644
21 --- a/dev-php/pecl-memcached/Manifest
22 +++ b/dev-php/pecl-memcached/Manifest
23 @@ -1,4 +1,2 @@
24 -DIST memcached-3.0.4.tgz 78776 BLAKE2B ce2539e2e4960217d9ee3b50ed5625214d4b22c4d7e64595fdbfa2d130bce0402a67561f76a50690991996d84f16f926f27a057722bfab66ba3c388772ed77a8 SHA512 d0a0f9e99cbcc6829528554551dfacf0d943d54d4be60c9da708de82913a2a0bed7c51d594ae3ecf0c13b56064739f074ce6ada5d7433bdc7e26e8caf9cf5ca2
25 DIST memcached-3.1.3.tgz 82673 BLAKE2B ccb9267cbd974337b7cd8836ab6e35c4fd9398d731dcd333bcb664b91037d1775651e6bb5d00b602767834681289064ede678ea2e6e3641631bba4990a380dee SHA512 9c09648c26011c5e749bee1a556c976e6e5e648dc65580e7caa296dab79e3764edf1408f96edcaca5efb0229320c86fcfa0422e55d486beb6466892f7e08c4a3
26 -DIST memcached-3.1.4.tgz 82920 BLAKE2B 67eb2a26453aa3253ab0d1327023da9318d7af6eb4d935f2c9f1d3da0b1590c58dbcbbea24c491eed6161a9e0462651c749a6e333e98a8cb26432c360ce805d0 SHA512 df1d2c2182c6d3565b929bb55e25a5285c0d5cf8b0fbb75417d756898970abc2b9c4d87e8bb8382d9d4fd62227de3838996c971525fb8a90bf503f025fc6f9f7
27 DIST memcached-3.1.5.tgz 83015 BLAKE2B 80f5cbed8e34f867962792d95d242015690f64ab3b462e09813a11b8b86234b0b05b0f6a78f7c6184482b66ba8015064b37f77bbb816a3aee2edd0ce97ab0cbc SHA512 87d5fd079fcaad81139785d6766da71b23a1a0fe907d4b22f3a787af148a20412c11df11c4d98c165241658baf0d87c8a6b29de15db07a0f9d1fabc8aec8f0e9
28
29 diff --git a/dev-php/pecl-memcached/pecl-memcached-3.0.4.ebuild b/dev-php/pecl-memcached/pecl-memcached-3.0.4.ebuild
30 deleted file mode 100644
31 index f2b36a648ea..00000000000
32 --- a/dev-php/pecl-memcached/pecl-memcached-3.0.4.ebuild
33 +++ /dev/null
34 @@ -1,60 +0,0 @@
35 -# Copyright 1999-2019 Gentoo Authors
36 -# Distributed under the terms of the GNU General Public License v2
37 -
38 -EAPI=6
39 -PHP_EXT_NAME="memcached"
40 -DOCS=( ChangeLog README.markdown )
41 -
42 -USE_PHP="php5-6 php7-0 php7-1 php7-2" # Pretend to support all three targets...
43 -inherit php-ext-pecl-r3
44 -USE_PHP="php7-0 php7-1 php7-2" # But only truly build for these two.
45 -
46 -DESCRIPTION="Interface PHP with memcached via libmemcached library"
47 -LICENSE="PHP-3"
48 -SLOT="7"
49 -KEYWORDS="amd64 x86"
50 -IUSE="examples igbinary json sasl +session "
51 -
52 -COMMON_DEPEND=">=dev-libs/libmemcached-1.0.14[sasl?]
53 - sys-libs/zlib
54 - igbinary? ( dev-php/igbinary[php_targets_php7-0?,php_targets_php7-1?,php_targets_php7-2?] )
55 -"
56 -
57 -DEPEND="
58 - php_targets_php7-0? (
59 - ${COMMON_DEPEND} dev-lang/php:7.0[session?,json?]
60 - )
61 - php_targets_php7-1? (
62 - ${COMMON_DEPEND} dev-lang/php:7.1[session?,json?]
63 - )
64 - php_targets_php7-2? (
65 - ${COMMON_DEPEND} dev-lang/php:7.2[session?,json?]
66 - )"
67 -RDEPEND="${DEPEND}
68 - php_targets_php5-6? (
69 - dev-php/pecl-memcached:0[php_targets_php5-6]
70 - )"
71 -
72 -src_prepare(){
73 - if use php_targets_php7-0 || use php_targets_php7-1 || use php_targets_php7-2 ; then
74 - php-ext-source-r3_src_prepare
75 - else
76 - default_src_prepare
77 - fi
78 -}
79 -
80 -src_configure() {
81 - local PHP_EXT_ECONF_ARGS="--enable-memcached
82 - $(use_enable session memcached-session)
83 - $(use_enable sasl memcached-sasl)
84 - $(use_enable json memcached-json)
85 - $(use_enable igbinary memcached-igbinary)"
86 -
87 - php-ext-source-r3_src_configure
88 -}
89 -
90 -src_install(){
91 - if use php_targets_php7-0 || use php_targets_php7-1 || use php_targets_php7-2 ; then
92 - php-ext-source-r3_src_install
93 - fi
94 -}
95
96 diff --git a/dev-php/pecl-memcached/pecl-memcached-3.1.3.ebuild b/dev-php/pecl-memcached/pecl-memcached-3.1.3.ebuild
97 deleted file mode 100644
98 index 2a670cd01ef..00000000000
99 --- a/dev-php/pecl-memcached/pecl-memcached-3.1.3.ebuild
100 +++ /dev/null
101 @@ -1,87 +0,0 @@
102 -# Copyright 1999-2019 Gentoo Authors
103 -# Distributed under the terms of the GNU General Public License v2
104 -
105 -EAPI=6
106 -PHP_EXT_NAME="memcached"
107 -DOCS=( ChangeLog README.markdown )
108 -
109 -USE_PHP="php5-6 php7-0 php7-1 php7-2 php7-3" # Pretend to support all four targets...
110 -inherit php-ext-pecl-r3
111 -USE_PHP="php7-0 php7-1 php7-2 php7-3" # But only truly build for these three.
112 -
113 -DESCRIPTION="Interface PHP with memcached via libmemcached library"
114 -LICENSE="PHP-3"
115 -SLOT="7"
116 -KEYWORDS="~amd64 x86"
117 -IUSE="examples igbinary json sasl +session test"
118 -RESTRICT="!test? ( test )"
119 -
120 -COMMON_DEPEND=">=dev-libs/libmemcached-1.0.14[sasl?]
121 - sys-libs/zlib
122 - igbinary? ( dev-php/igbinary[php_targets_php7-0(-)?,php_targets_php7-1(-)?,php_targets_php7-2(-)?,php_targets_php7-3(-)?] )
123 -"
124 -
125 -DEPEND="
126 - php_targets_php7-0? (
127 - ${COMMON_DEPEND} dev-lang/php:7.0[session?,json?]
128 - )
129 - php_targets_php7-1? (
130 - ${COMMON_DEPEND} dev-lang/php:7.1[session?,json?]
131 - )
132 - php_targets_php7-2? (
133 - ${COMMON_DEPEND} dev-lang/php:7.2[session?,json?]
134 - )
135 - php_targets_php7-3? (
136 - ${COMMON_DEPEND} dev-lang/php:7.3[session?,json?]
137 - )
138 - test? ( net-misc/memcached )"
139 -RDEPEND="
140 - php_targets_php7-0? (
141 - ${COMMON_DEPEND} dev-lang/php:7.0[session?,json?]
142 - )
143 - php_targets_php7-1? (
144 - ${COMMON_DEPEND} dev-lang/php:7.1[session?,json?]
145 - )
146 - php_targets_php7-2? (
147 - ${COMMON_DEPEND} dev-lang/php:7.2[session?,json?]
148 - )
149 - php_targets_php7-3? (
150 - ${COMMON_DEPEND} dev-lang/php:7.3[session?,json?]
151 - )"
152 -
153 -src_prepare(){
154 - if use php_targets_php7-0 || use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3 ; then
155 - php-ext-source-r3_src_prepare
156 - else
157 - default_src_prepare
158 - fi
159 -}
160 -
161 -src_configure() {
162 - local PHP_EXT_ECONF_ARGS="--enable-memcached
163 - $(use_enable session memcached-session)
164 - $(use_enable sasl memcached-sasl)
165 - $(use_enable json memcached-json)
166 - $(use_enable igbinary memcached-igbinary)"
167 -
168 - php-ext-source-r3_src_configure
169 -}
170 -
171 -src_test() {
172 - local memcached_opts=( -d -P "${T}/memcached.pid" -p 11211 -l 127.0.0.1 )
173 - [[ ${EUID} == 0 ]] && memcached_opts+=( -u portage )
174 - memcached "${memcached_opts[@]}" || die "Can't start memcached test server"
175 -
176 - local exit_status
177 - php-ext-source-r3_src_test
178 - exit_status=$?
179 -
180 - kill "$(<"${T}/memcached.pid")"
181 - return ${exit_status}
182 -}
183 -
184 -src_install(){
185 - if use php_targets_php7-0 || use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3 ; then
186 - php-ext-source-r3_src_install
187 - fi
188 -}
189
190 diff --git a/dev-php/pecl-memcached/pecl-memcached-3.1.4.ebuild b/dev-php/pecl-memcached/pecl-memcached-3.1.4.ebuild
191 deleted file mode 100644
192 index f9b01c82b99..00000000000
193 --- a/dev-php/pecl-memcached/pecl-memcached-3.1.4.ebuild
194 +++ /dev/null
195 @@ -1,81 +0,0 @@
196 -# Copyright 1999-2019 Gentoo Authors
197 -# Distributed under the terms of the GNU General Public License v2
198 -
199 -EAPI=7
200 -PHP_EXT_NAME="memcached"
201 -DOCS=( ChangeLog README.markdown )
202 -
203 -USE_PHP="php5-6 php7-1 php7-2 php7-3 php7-4" # Pretend to support all five targets...
204 -inherit php-ext-pecl-r3
205 -USE_PHP="php7-1 php7-2 php7-3 php7-4" # But only truly build for these four.
206 -
207 -DESCRIPTION="Interface PHP with memcached via libmemcached library"
208 -LICENSE="PHP-3"
209 -SLOT="7"
210 -KEYWORDS="~amd64 ~arm ~arm64 ~x86"
211 -IUSE="examples igbinary json sasl +session test"
212 -
213 -RESTRICT="!test? ( test )"
214 -
215 -COMMON_DEPEND=">=dev-libs/libmemcached-1.0.14[sasl?]
216 - sys-libs/zlib
217 -"
218 -
219 -RDEPEND="
220 - php_targets_php7-1? (
221 - ${COMMON_DEPEND} dev-lang/php:7.1[session?,json?]
222 - igbinary? ( dev-php/igbinary[php_targets_php7-1(-)] )
223 - )
224 - php_targets_php7-2? (
225 - ${COMMON_DEPEND} dev-lang/php:7.2[session?,json?]
226 - igbinary? ( dev-php/igbinary[php_targets_php7-2(-)] )
227 - )
228 - php_targets_php7-3? (
229 - ${COMMON_DEPEND} dev-lang/php:7.3[session?,json?]
230 - igbinary? ( dev-php/igbinary[php_targets_php7-3(-)] )
231 - )
232 - php_targets_php7-4? (
233 - ${COMMON_DEPEND} dev-lang/php:7.4[session?,json?]
234 - igbinary? ( dev-php/igbinary[php_targets_php7-4(-)] )
235 - )"
236 -DEPEND="${RDEPEND} test? ( net-misc/memcached )"
237 -RDEPEND="${RDEPEND} php_targets_php5-6? ( dev-php/pecl-memcached:0[php_targets_php5-6(-)] )"
238 -
239 -src_prepare(){
240 - if use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3 || use php_targets_php7-4 ; then
241 - php-ext-source-r3_src_prepare
242 - else
243 - default_src_prepare
244 - fi
245 -}
246 -
247 -src_configure() {
248 - local PHP_EXT_ECONF_ARGS="--enable-memcached
249 - $(use_enable session memcached-session)
250 - $(use_enable sasl memcached-sasl)
251 - $(use_enable json memcached-json)
252 - $(use_enable igbinary memcached-igbinary)"
253 -
254 - php-ext-source-r3_src_configure
255 -}
256 -
257 -src_test() {
258 - if use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3 || use php_targets_php7-4 ; then
259 - local memcached_opts=( -d -P "${T}/memcached.pid" -p 11211 -l 127.0.0.1 )
260 - [[ ${EUID} == 0 ]] && memcached_opts+=( -u portage )
261 - memcached "${memcached_opts[@]}" || die "Can't start memcached test server"
262 -
263 - local exit_status
264 - php-ext-source-r3_src_test
265 - exit_status=$?
266 -
267 - kill "$(<"${T}/memcached.pid")"
268 - return ${exit_status}
269 - fi
270 -}
271 -
272 -src_install(){
273 - if use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3 || use php_targets_php7-4 ; then
274 - php-ext-source-r3_src_install
275 - fi
276 -}
277
278 diff --git a/dev-php/pecl-memcached/pecl-memcached-3.1.5.ebuild b/dev-php/pecl-memcached/pecl-memcached-3.1.5.ebuild
279 deleted file mode 100644
280 index f9b01c82b99..00000000000
281 --- a/dev-php/pecl-memcached/pecl-memcached-3.1.5.ebuild
282 +++ /dev/null
283 @@ -1,81 +0,0 @@
284 -# Copyright 1999-2019 Gentoo Authors
285 -# Distributed under the terms of the GNU General Public License v2
286 -
287 -EAPI=7
288 -PHP_EXT_NAME="memcached"
289 -DOCS=( ChangeLog README.markdown )
290 -
291 -USE_PHP="php5-6 php7-1 php7-2 php7-3 php7-4" # Pretend to support all five targets...
292 -inherit php-ext-pecl-r3
293 -USE_PHP="php7-1 php7-2 php7-3 php7-4" # But only truly build for these four.
294 -
295 -DESCRIPTION="Interface PHP with memcached via libmemcached library"
296 -LICENSE="PHP-3"
297 -SLOT="7"
298 -KEYWORDS="~amd64 ~arm ~arm64 ~x86"
299 -IUSE="examples igbinary json sasl +session test"
300 -
301 -RESTRICT="!test? ( test )"
302 -
303 -COMMON_DEPEND=">=dev-libs/libmemcached-1.0.14[sasl?]
304 - sys-libs/zlib
305 -"
306 -
307 -RDEPEND="
308 - php_targets_php7-1? (
309 - ${COMMON_DEPEND} dev-lang/php:7.1[session?,json?]
310 - igbinary? ( dev-php/igbinary[php_targets_php7-1(-)] )
311 - )
312 - php_targets_php7-2? (
313 - ${COMMON_DEPEND} dev-lang/php:7.2[session?,json?]
314 - igbinary? ( dev-php/igbinary[php_targets_php7-2(-)] )
315 - )
316 - php_targets_php7-3? (
317 - ${COMMON_DEPEND} dev-lang/php:7.3[session?,json?]
318 - igbinary? ( dev-php/igbinary[php_targets_php7-3(-)] )
319 - )
320 - php_targets_php7-4? (
321 - ${COMMON_DEPEND} dev-lang/php:7.4[session?,json?]
322 - igbinary? ( dev-php/igbinary[php_targets_php7-4(-)] )
323 - )"
324 -DEPEND="${RDEPEND} test? ( net-misc/memcached )"
325 -RDEPEND="${RDEPEND} php_targets_php5-6? ( dev-php/pecl-memcached:0[php_targets_php5-6(-)] )"
326 -
327 -src_prepare(){
328 - if use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3 || use php_targets_php7-4 ; then
329 - php-ext-source-r3_src_prepare
330 - else
331 - default_src_prepare
332 - fi
333 -}
334 -
335 -src_configure() {
336 - local PHP_EXT_ECONF_ARGS="--enable-memcached
337 - $(use_enable session memcached-session)
338 - $(use_enable sasl memcached-sasl)
339 - $(use_enable json memcached-json)
340 - $(use_enable igbinary memcached-igbinary)"
341 -
342 - php-ext-source-r3_src_configure
343 -}
344 -
345 -src_test() {
346 - if use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3 || use php_targets_php7-4 ; then
347 - local memcached_opts=( -d -P "${T}/memcached.pid" -p 11211 -l 127.0.0.1 )
348 - [[ ${EUID} == 0 ]] && memcached_opts+=( -u portage )
349 - memcached "${memcached_opts[@]}" || die "Can't start memcached test server"
350 -
351 - local exit_status
352 - php-ext-source-r3_src_test
353 - exit_status=$?
354 -
355 - kill "$(<"${T}/memcached.pid")"
356 - return ${exit_status}
357 - fi
358 -}
359 -
360 -src_install(){
361 - if use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3 || use php_targets_php7-4 ; then
362 - php-ext-source-r3_src_install
363 - fi
364 -}