summaryrefslogtreecommitdiff
path: root/dev-php/pecl-redis
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-03-20 00:40:44 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-03-20 00:40:44 +0000
commit4cbcc855382a06088e2f016f62cafdbcb7e40665 (patch)
tree356496503d52354aa6d9f2d36126302fed5f3a73 /dev-php/pecl-redis
parentfcc5224904648a8e6eb528d7603154160a20022f (diff)
gentoo resync : 20.03.2022
Diffstat (limited to 'dev-php/pecl-redis')
-rw-r--r--dev-php/pecl-redis/Manifest2
-rw-r--r--dev-php/pecl-redis/pecl-redis-5.3.7.ebuild61
2 files changed, 63 insertions, 0 deletions
diff --git a/dev-php/pecl-redis/Manifest b/dev-php/pecl-redis/Manifest
index 831e12e14321..8809c2bc27db 100644
--- a/dev-php/pecl-redis/Manifest
+++ b/dev-php/pecl-redis/Manifest
@@ -2,8 +2,10 @@ DIST redis-5.3.2.tgz 266814 BLAKE2B 2be79d850e5958bcaf4fddcbdef0a402e62a522f260a
DIST redis-5.3.3.tgz 266990 BLAKE2B b939e5a33b3013d1aeaa59f9a1ebbb4b4665d57abf87dc4e300273221d3390d14387cad318d69a56ab573861c1aef89ab7778d3f636adfc351b4fc330eba98d3 SHA512 a04a7d0aa3881b861a00c3f0a889b2f3fd135009293629ac55a74890196c0686e9766438f5255561105e30293f1a6a91ca987fd68e43f3ca436f6cc884e6a5df
DIST redis-5.3.4.tgz 268154 BLAKE2B 17a3af10c09f302d46faa5122147e4882437f92e9440b3a580919382e48f2697ede453f11411de7c1a1114f94a2601ec5f905943f045c8d64e5fea7231ff96f5 SHA512 c1270235b18544e651411ddfb512d74b7229e3dc241b2dfcdf97f2e26cf60754afb7deaac17bc48202875b5caafae19f31a7b8da980fcba578df51b0c0860a95
DIST redis-5.3.6.tgz 274235 BLAKE2B 8479b3060abb99f765b27fd8937cb4c7ef92c55c0581ae6a69dd06113367547d546a9f96a8418df928f258520cb0fed6f5d39f6d88972c74b8446134be08edc4 SHA512 e5047ba9974ff6065be0fe8614aea8bf7d7c77b3a4ca08b19d0bb53069dd164614ffd19bf09bda458511abddce438fd816c28a169536388c8c4cd923596aadf0
+DIST redis-5.3.7.tgz 275200 BLAKE2B 50cff3d36e189593a741ed3fe05c3558e6a0621e7ff906e4902ba39e3f7d3ae5b9bfa554480a131e32bcc0334bccbd3aa5507dc714b6d4b20ac808139c525a95 SHA512 b945d5aa86d3f58e75094369b0f324e987202f104aca7d7b46ba23cfaed54d186bb66931e200dd16d2dbeea11732dd0311da4e3d7485c3b725027f7924652832
EBUILD pecl-redis-5.3.2.ebuild 1527 BLAKE2B 6121552e2c86d9b4e333c4ed9487553a24160dfee4d5f9155b9de65195146609983d13fb37258347645ac2144a005ca4630ac147bf6baf5adc54ce7e4254af7c SHA512 cf6f2b0e878b751b040a1ac4e3d99a275dda5a89ef5eb5996cd76613ff4f95bca7295371a0ba6f16f2b2712faa5ba4a881c7e1ff2e689e9bdf013e9f982adc73
EBUILD pecl-redis-5.3.3.ebuild 1528 BLAKE2B e1fa05121c86d5d2e058f952ad5f90a4d1ccf4371778a56d0927d2c85e91afe6745a939ac9a6446398d8a07caa6d7504cd3297f30684677d171f26c906edb518 SHA512 825a353ae1233b53cb4ba54630f1eae5cf0a50138148eb43ed859821ca203f736bd9254eba1091044f1cdcfa8360417455e0f4842353c3d2c597fe76f593acf8
EBUILD pecl-redis-5.3.4.ebuild 1501 BLAKE2B 5ead60f46fad23d281463117274b1b80eee85d9e47438cb15f8e63d2bd15e892fbef6e00db42016a181078af315797e5fc2791a06d1e7863d19098a55c27d178 SHA512 29ca7a425e42d7bd2d11b625be76c584690777b7121ad00b7c93a0525bbd35d3ab4be07880b57ab0886932740f3a6b339e37aa9fe8bca556c0e1ea05aa7e72cb
EBUILD pecl-redis-5.3.6.ebuild 1531 BLAKE2B f1119234d43813c770c934fed2ff4dbfb993e96d6425bed351ebc9afe07a79ef38a4303dc45c004e6a842644dba03dee468f3031d55ac4001cab6fb7685382d4 SHA512 71165db2ebd7ceedaa97b92f01037ce6e279133a9563285e970b3133df480e909fdabc35e8c20849d2df37cacb8cf5b642055144ad082dcb2d3b045370723b91
+EBUILD pecl-redis-5.3.7.ebuild 1501 BLAKE2B 9bdbee0361e58c9d3a3b5be1a63e0c60bd5c41cb832c1bc8d1ccf599b1e9ed736fcada66308b0712843818f1518ca33cc86926f2e20fb939d38c36f89bcb03d6 SHA512 583062f9e022cee86d0488640ff6bacaeb7656c84418f5a8ec942b0232c549588302d57930b71e284c5361f27d531b141c17877ec7ffd5539ff7dd4b89d72885
MISC metadata.xml 384 BLAKE2B 4a1a6b326526bb3f5b9d9d57158d6abbfe3c65b1cfc11980ce849d5f7278558ee0daf580aefc521939aae175cd8e2cb990e046fce8faf6774348b24fa6465ef8 SHA512 851e1fb9f6612105640028262a4821f0da5b1ee5949fdd99067e821ce1d22c41888ee53e102becc93c918a605c2b8dbb2d493cd7cad516530912fec652011364
diff --git a/dev-php/pecl-redis/pecl-redis-5.3.7.ebuild b/dev-php/pecl-redis/pecl-redis-5.3.7.ebuild
new file mode 100644
index 000000000000..2b26e3e0df6d
--- /dev/null
+++ b/dev-php/pecl-redis/pecl-redis-5.3.7.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PHP_EXT_NAME="redis"
+USE_PHP="php7-4 php8-0 php8-1"
+PHP_EXT_NEEDED_USE="json(+)?,session(-)?"
+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 ~arm"
+IUSE="igbinary +json lz4 +session zstd"
+
+DEPEND="
+ igbinary? ( >=dev-php/igbinary-3.0.1-r1[php_targets_php7-4(-)?,php_targets_php8-0(-)?,php_targets_php8-1(-)?] )
+ lz4? ( app-arch/lz4:= )
+ zstd? ( app-arch/zstd:= )
+"
+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
+ --disable-redis-lzf
+ --disable-redis-msgpack
+ $(use_enable igbinary redis-igbinary)
+ $(use_enable json redis-json)
+ $(use_enable lz4 redis-lz4)
+ $(use_with lz4 liblz4)
+ $(use_enable session redis-session)
+ $(use_enable zstd redis-zstd)
+ $(use_with zstd libzstd)
+ )
+ 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
+}