diff options
author | Brian Evans <grknight@gentoo.org> | 2017-01-17 09:37:37 -0500 |
---|---|---|
committer | Brian Evans <grknight@gentoo.org> | 2017-01-17 09:38:18 -0500 |
commit | 73ef133e73dbf7097a28dbef564496e51010a067 (patch) | |
tree | a133cfadb4b2563d2d286c8b2627363240867414 /dev-php/pecl-redis | |
parent | dev-python/pkgconfig: version bump (diff) | |
download | gentoo-73ef133e73dbf7097a28dbef564496e51010a067.tar.gz gentoo-73ef133e73dbf7097a28dbef564496e51010a067.tar.bz2 gentoo-73ef133e73dbf7097a28dbef564496e51010a067.zip |
dev-php/pecl-redis: Version bump to 3.1.1_rc2
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-php/pecl-redis')
-rw-r--r-- | dev-php/pecl-redis/Manifest | 1 | ||||
-rw-r--r-- | dev-php/pecl-redis/pecl-redis-3.1.1_rc2.ebuild | 52 |
2 files changed, 53 insertions, 0 deletions
diff --git a/dev-php/pecl-redis/Manifest b/dev-php/pecl-redis/Manifest index 3133a186d2ab..93e7a5649733 100644 --- a/dev-php/pecl-redis/Manifest +++ b/dev-php/pecl-redis/Manifest @@ -1,2 +1,3 @@ DIST redis-2.2.7.tgz 134340 SHA256 95e5331cd7e709771eb4479c455bcf326a74b2aea3b1a5cba00b4c95e66dc902 SHA512 88be2abeda62b7c1c95b6d399bbb5f97774d956001b4d13a8e5f183e86fe6336d91f479a8125adcaeff1ad5617a920953961360fc3484ebafc3ed915bcd7f86c WHIRLPOOL e7c8ea7c0c4578933211d4571d742ad09eadb5dd93e207d4f0d5858bfacb7a78eb4bd7ed34cafbc17b465b0d423ea0ff788dee907d89c4939ee4a9acbbe8b95d DIST redis-3.1.0.tgz 197322 SHA256 886c9650815184fb11478a3f3f7a1f1519ed89496ed9fcac47520f01851b8b3e SHA512 b8692ac1b21cb66c1239129a3c539d6235f48ab14675c0fe00a7be5ae40f0b650518466f8619494e6a897fa212262d30de3acb528958c70417fb5280c20d1931 WHIRLPOOL fa7fc0763991d27606dd6cf43db2d2cdfeb8ede59384b20819af41dcf46e985778cc8ee840656979e9c58a93202d4665b40c2aa333f179dae6129c90bc16d914 +DIST redis-3.1.1RC2.tgz 198513 SHA256 21dc974d12ed707c2dce34b268eb3411338961cd4c849325e7c28a587f137efe SHA512 8c008d3549347c56c6e0226967da387a93f7f6ca32071c45487fecc072fc09cf71d901ef26a871a510cf4b1bbe6d7a0ab5341691f9510b1bbd5e7dc067b08272 WHIRLPOOL ee68ce66a2ba40723c3be6e95b58d69ed11fe26b8e68abf14eda72b3044edd34d4a01c27950865246f04602aa3d0223351a92774d7ccb0a98d3f1897a3680695 diff --git a/dev-php/pecl-redis/pecl-redis-3.1.1_rc2.ebuild b/dev-php/pecl-redis/pecl-redis-3.1.1_rc2.ebuild new file mode 100644 index 000000000000..c6d5ee8620e2 --- /dev/null +++ b/dev-php/pecl-redis/pecl-redis-3.1.1_rc2.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +PHP_EXT_NAME="redis" +USE_PHP="php5-6 php7-0 php7-1" +DOCS=( arrays.markdown cluster.markdown README.markdown CREDITS ) +MY_P="${PN/pecl-/}-${PV/_rc/RC}" +PHP_EXT_PECL_FILENAME="${MY_P}.tgz" +PHP_EXT_S="${WORKDIR}/${MY_P}" + +inherit php-ext-pecl-r3 + +DESCRIPTION="PHP extension for interfacing with Redis" +LICENSE="PHP-3.01" +SLOT="0" +KEYWORDS="~amd64" +IUSE="igbinary +session" + +DEPEND="igbinary? ( + php_targets_php5-6? ( dev-php/igbinary[php_targets_php5-6] ) + php_targets_php7-0? ( dev-php/igbinary[php_targets_php7-0] ) + php_targets_php7-1? ( dev-php/igbinary[php_targets_php7-1] ) )" +RDEPEND="${DEPEND} !dev-php/pecl-redis:7" + +# The test suite requires network access. +RESTRICT=test + +S="${WORKDIR}/${MY_P}" + +src_configure() { + local PHP_EXT_ECONF_ARGS=( + --enable-redis + $(use_enable igbinary redis-igbinary) + $(use_enable session redis-session) + ) + php-ext-source-r3_src_configure +} + +src_test(){ + local slot + for slot in $(php_get_slots); do + php_init_slot_env "${slot}" + # Run tests for Redis class + ${PHPCLI} -d extension=modules/redis.so \ + tests/TestRedis.php \ + --class Redis \ + --host ${PECL_REDIS_HOST} || die 'test suite failed' + done +} |