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, 09 Jan 2018 16:34:52
Message-Id: 1515515426.8f687b2050dbc4ee7c3b355e36a604f89d47f2a6.mjo@gentoo
1 commit: 8f687b2050dbc4ee7c3b355e36a604f89d47f2a6
2 Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jan 9 15:10:14 2018 +0000
4 Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
5 CommitDate: Tue Jan 9 16:30:26 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f687b20
7
8 dev-php/pecl-redis: remove "unused" pecl-redis-3.1.3.ebuild.
9
10 Package-Manager: Portage-2.3.13, Repoman-2.3.3
11
12 dev-php/pecl-redis/Manifest | 1 -
13 dev-php/pecl-redis/pecl-redis-3.1.3.ebuild | 51 ------------------------------
14 2 files changed, 52 deletions(-)
15
16 diff --git a/dev-php/pecl-redis/Manifest b/dev-php/pecl-redis/Manifest
17 index 6c81c7e753f..71766f35067 100644
18 --- a/dev-php/pecl-redis/Manifest
19 +++ b/dev-php/pecl-redis/Manifest
20 @@ -1,3 +1,2 @@
21 DIST redis-3.1.2.tgz 199041 BLAKE2B a90f4136dae03155d7e3fc4e5b6b32ab73c918a850c501a19e28ea62c6d105108ebd18edaa3b12a13cf38103302ee6ad0759a47b4c59e4a5464e951f02cff0ea SHA512 14b6321072f8ab41b8293b40ea8e1e2bdac1bb694c4566467ea4e6ced37c8fc41bf5712bd27cebf509f25fda0492765cd2c8d2fe61395bcb0b0d9cbbceebe684
22 -DIST redis-3.1.3.tgz 196180 BLAKE2B 877e4feb94b65b45b239d0a24296bedf3bb6d7cf8acf53a36db1ccbcaac43f9e0d85abb1435326da6cb78f90cee9f6b4d78fe52c3d567981277af2016423e556 SHA512 269a45675e9547fdeebf9d9a1a36e6f75d6f9913ffc1069d0fc2a7f1a5d88ff4fb9f38693f488469339c2a7bfdfd81df102de5e12656e0662af166f874fc5fac
23 DIST redis-3.1.4.tgz 199559 BLAKE2B 0ff46289fe02efe0d774c62a5d2545a954f43a168913f2a9ffe612ed02e09d00ad5231ec395b36cd5685ecfb29ba30ee0349c2225b9769e2101f43bb058e3a81 SHA512 dbf3eecfa761d0d3e97781968378d8bcc74e79bf4a0f85d6c2e8338180755e503179bc78b03ae6ee26a5619f439ead77068db3ab18d1b2dbf58e1643bea3a49f
24
25 diff --git a/dev-php/pecl-redis/pecl-redis-3.1.3.ebuild b/dev-php/pecl-redis/pecl-redis-3.1.3.ebuild
26 deleted file mode 100644
27 index 3c2df8c79d4..00000000000
28 --- a/dev-php/pecl-redis/pecl-redis-3.1.3.ebuild
29 +++ /dev/null
30 @@ -1,51 +0,0 @@
31 -# Copyright 1999-2017 Gentoo Foundation
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=6
35 -
36 -PHP_EXT_NAME="redis"
37 -USE_PHP="php5-6 php7-0 php7-1"
38 -DOCS=( arrays.markdown cluster.markdown README.markdown CREDITS )
39 -MY_P="${PN/pecl-/}-${PV/_rc/RC}"
40 -PHP_EXT_PECL_FILENAME="${MY_P}.tgz"
41 -PHP_EXT_S="${WORKDIR}/${MY_P}"
42 -
43 -inherit php-ext-pecl-r3
44 -
45 -DESCRIPTION="PHP extension for interfacing with Redis"
46 -LICENSE="PHP-3.01"
47 -SLOT="0"
48 -KEYWORDS="~amd64"
49 -IUSE="igbinary +session"
50 -
51 -DEPEND="igbinary? (
52 - php_targets_php5-6? ( dev-php/igbinary[php_targets_php5-6] )
53 - php_targets_php7-0? ( dev-php/igbinary[php_targets_php7-0] )
54 - php_targets_php7-1? ( dev-php/igbinary[php_targets_php7-1] ) )"
55 -RDEPEND="${DEPEND} !dev-php/pecl-redis:7"
56 -
57 -# The test suite requires network access.
58 -RESTRICT=test
59 -
60 -S="${WORKDIR}/${MY_P}"
61 -
62 -src_configure() {
63 - local PHP_EXT_ECONF_ARGS=(
64 - --enable-redis
65 - $(use_enable igbinary redis-igbinary)
66 - $(use_enable session redis-session)
67 - )
68 - php-ext-source-r3_src_configure
69 -}
70 -
71 -src_test(){
72 - local slot
73 - for slot in $(php_get_slots); do
74 - php_init_slot_env "${slot}"
75 - # Run tests for Redis class
76 - ${PHPCLI} -d extension=modules/redis.so \
77 - tests/TestRedis.php \
78 - --class Redis \
79 - --host ${PECL_REDIS_HOST} || die 'test suite failed'
80 - done
81 -}