aboutsummaryrefslogtreecommitdiffstats
path: root/community/php7-pecl-igbinary
diff options
context:
space:
mode:
authorAndy Postnikov <apostnikov@gmail.com>2018-10-20 19:24:38 +0300
committerAndy Postnikov <apostnikov@gmail.com>2018-10-20 19:35:50 +0300
commitf30ac0ede670917f6c71fec7c7f45748915a7d0a (patch)
tree0447f2831e40c1a424bffcdf6e606dda6a1ea137 /community/php7-pecl-igbinary
parentc3edb69f1a1bb25292a151c50f7b670af44f3c7e (diff)
downloadaports-f30ac0ede670917f6c71fec7c7f45748915a7d0a.tar.bz2
aports-f30ac0ede670917f6c71fec7c7f45748915a7d0a.tar.xz
community/php7-pecl-igbinary: upgrade to 2.0.8
Diffstat (limited to 'community/php7-pecl-igbinary')
-rw-r--r--community/php7-pecl-igbinary/APKBUILD10
1 files changed, 6 insertions, 4 deletions
diff --git a/community/php7-pecl-igbinary/APKBUILD b/community/php7-pecl-igbinary/APKBUILD
index fda92970af..52468c5df4 100644
--- a/community/php7-pecl-igbinary/APKBUILD
+++ b/community/php7-pecl-igbinary/APKBUILD
@@ -3,15 +3,15 @@
pkgname=php7-pecl-igbinary
_pkgreal=igbinary
-pkgver=2.0.7
-pkgrel=1
+pkgver=2.0.8
+pkgrel=0
pkgdesc="Igbinary is a drop in replacement for the standard php serializer"
url="https://pecl.php.net/package/igbinary"
arch="all"
license="BSD-3-Clause"
provides="php7-igbinary=$pkgver-r$pkgrel" # for backward compatibility
replaces="php7-igbinary" # for backward compatibility
-makedepends="autoconf php7-dev re2c"
+makedepends="autoconf php7-dev php7-json re2c"
source="$pkgname-$pkgver.tgz::https://pecl.php.net/get/$_pkgreal-$pkgver.tgz"
builddir="$srcdir/$_pkgreal-$pkgver"
@@ -26,6 +26,8 @@ build() {
check() {
cd "$builddir"
+ # Tests require json extension which is not bundled
+ sed -i 's#PHP_TEST_SHARED_EXTENSIONS = `#PHP_TEST_SHARED_EXTENSIONS = -d extension=/usr/lib/php7/modules/json.so `#' Makefile
make NO_INTERACTION=1 REPORT_EXIT_STATUS=1 test
}
@@ -37,4 +39,4 @@ package() {
"$pkgdir"/etc/php7/conf.d/$_pkgreal.ini
}
-sha512sums="216a622f8421f4e2140d5ef8250b66b2b536a7de6c236c6f62938ea49abc264c6c23cf0b41dd954bb89a03ff83fc4d6c7209386a2b05bf523f6312a6c16e1f0a php7-pecl-igbinary-2.0.7.tgz"
+sha512sums="9a8d10c99884caabbaa22e97fe9d09864a5088ccf4a63d83021993b9438a59cecbf45d9127a4d19608c19f6f7ccd1f5b4233b6318f4f13f7516076ceac182685 php7-pecl-igbinary-2.0.8.tgz"