[arch-commits] Commit in php-redis/repos/community-x86_64 (PKGBUILD PKGBUILD)

David Runge dvzrv at archlinux.org
Mon Nov 11 08:41:11 UTC 2019


    Date: Monday, November 11, 2019 @ 08:41:11
  Author: dvzrv
Revision: 526628

archrelease: copy trunk to community-x86_64

Added:
  php-redis/repos/community-x86_64/PKGBUILD
    (from rev 526627, php-redis/trunk/PKGBUILD)
Deleted:
  php-redis/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  116 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 58 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-11-11 08:40:26 UTC (rev 526627)
+++ PKGBUILD	2019-11-11 08:41:11 UTC (rev 526628)
@@ -1,58 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-pkgname=php-redis
-_name=redis
-_upstream=phpredis
-pkgver=5.1.0
-pkgrel=1
-pkgdesc="An API for communicating with the Redis key-value store"
-arch=('x86_64')
-url="https://github.com/phpredis/phpredis/"
-license=('PHP')
-depends=('glibc' 'liblzf' 'php-igbinary')
-checkdepends=('lsof' 'redis')
-optdepends=('redis: use a local redis instance')
-backup=("etc/php/conf.d/${_name}.ini")
-source=("$pkgname-$pkgver.tar.gz::https://github.com/${_upstream}/${_upstream}/archive/${pkgver}.tar.gz")
-sha512sums=('6ecb4bede3ad0425bfaaf09886d53de007a77b51170a0cd79784264d2b803c10fdab77ca0f0189beae248894419f5cf4f0a0078e076bda33e25c5f6acc56b41e')
-
-prepare() {
-  mv -v "${_upstream}-${pkgver}" "$pkgname-$pkgver"
-  cd "$pkgname-$pkgver"
-  # tempfile is non-standard, Debian only
-  sed -e 's/tempfile/mktemp/g' -i tests/mkring.sh
-  # the kill after shutdown of redis makes it exit with status code 1
-  sed -e '/kill -9/d' -i tests/mkring.sh
-  # disable the extension by default
-  echo ";extension=${_name}" > "${_name}.ini"
-  phpize
-}
-
-build() {
-  cd "$pkgname-$pkgver"
-  ./configure --prefix=/usr \
-              --enable-redis-igbinary \
-              --enable-redis-lzf \
-              --with-liblzf=/usr/lib/
-  make
-}
-
-check() {
-  # tests are partly broken:
-  # https://github.com/phpredis/phpredis/issues/1593
-  export TEST_PHP_EXECUTABLE=/usr/bin/php
-  export TEST_PHP_ARGS="-d extension=igbinary -d extension=${srcdir}/${pkgname}-${pkgver}/modules/redis.so"
-  cd "$pkgname-$pkgver"
-  tests/mkring.sh start
-  $TEST_PHP_EXECUTABLE $TEST_PHP_ARGS tests/TestRedis.php --class Redis
-  $TEST_PHP_EXECUTABLE $TEST_PHP_ARGS tests/TestRedis.php --class RedisArray
-  tests/mkring.sh stop
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-  make INSTALL_ROOT="$pkgdir/" install
-  install -vDm 644 "${_name}.ini" -t "${pkgdir}/etc/php/conf.d/"
-  install -vDm 644 {{README,arrays,cluster}.markdown,CREDITS} \
-    -t "${pkgdir}/usr/share/doc/${pkgname}/"
-}

Copied: php-redis/repos/community-x86_64/PKGBUILD (from rev 526627, php-redis/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-11-11 08:41:11 UTC (rev 526628)
@@ -0,0 +1,58 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+pkgname=php-redis
+_name=redis
+_upstream=phpredis
+pkgver=5.1.1
+pkgrel=1
+pkgdesc="An API for communicating with the Redis key-value store"
+arch=('x86_64')
+url="https://github.com/phpredis/phpredis/"
+license=('PHP')
+depends=('glibc' 'liblzf' 'php-igbinary')
+checkdepends=('lsof' 'redis')
+optdepends=('redis: use a local redis instance')
+backup=("etc/php/conf.d/${_name}.ini")
+source=("$pkgname-$pkgver.tar.gz::https://github.com/${_upstream}/${_upstream}/archive/${pkgver}.tar.gz")
+sha512sums=('d15bfb675491aaafeb09a398fb540d9ba6d64803d7ad0fd8765bc1a3f50f58ef066384e678f20259742b67135e814f0b379861a46eab3afa0ac9f95ae375e726')
+
+prepare() {
+  mv -v "${_upstream}-${pkgver}" "$pkgname-$pkgver"
+  cd "$pkgname-$pkgver"
+  # tempfile is non-standard, Debian only
+  sed -e 's/tempfile/mktemp/g' -i tests/mkring.sh
+  # the kill after shutdown of redis makes it exit with status code 1
+  sed -e '/kill -9/d' -i tests/mkring.sh
+  # disable the extension by default
+  echo ";extension=${_name}" > "${_name}.ini"
+  phpize
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  ./configure --prefix=/usr \
+              --enable-redis-igbinary \
+              --enable-redis-lzf \
+              --with-liblzf=/usr/lib/
+  make
+}
+
+check() {
+  # tests are partly broken:
+  # https://github.com/phpredis/phpredis/issues/1593
+  export TEST_PHP_EXECUTABLE=/usr/bin/php
+  export TEST_PHP_ARGS="-d extension=igbinary -d extension=${srcdir}/${pkgname}-${pkgver}/modules/redis.so"
+  cd "$pkgname-$pkgver"
+  tests/mkring.sh start
+  $TEST_PHP_EXECUTABLE $TEST_PHP_ARGS tests/TestRedis.php --class Redis
+  $TEST_PHP_EXECUTABLE $TEST_PHP_ARGS tests/TestRedis.php --class RedisArray
+  tests/mkring.sh stop
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  make INSTALL_ROOT="$pkgdir/" install
+  install -vDm 644 "${_name}.ini" -t "${pkgdir}/etc/php/conf.d/"
+  install -vDm 644 {{README,arrays,cluster}.markdown,CREDITS} \
+    -t "${pkgdir}/usr/share/doc/${pkgname}/"
+}



More information about the arch-commits mailing list