aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Postnikov <apostnikov@gmail.com>2021-01-22 15:01:25 +0200
committerLeo <thinkabit.ukim@gmail.com>2021-01-22 13:28:07 +0000
commit6a56ec5b856c0c18ade0c0b37ada60c5fbbdb6bf (patch)
treec489b0443dddade8903d5ba3aaace3986b147033
parent2af00bc3aa841a4047f8d2d1a9e17a231c517010 (diff)
downloadaports-6a56ec5b856c0c18ade0c0b37ada60c5fbbdb6bf.tar.gz
aports-6a56ec5b856c0c18ade0c0b37ada60c5fbbdb6bf.tar.bz2
aports-6a56ec5b856c0c18ade0c0b37ada60c5fbbdb6bf.tar.xz
testing/php7-pecl-zstd: upgrade to 0.10.0
-rw-r--r--testing/php7-pecl-zstd/APKBUILD12
1 files changed, 7 insertions, 5 deletions
diff --git a/testing/php7-pecl-zstd/APKBUILD b/testing/php7-pecl-zstd/APKBUILD
index 3cfbede2e4..a7e024f7f1 100644
--- a/testing/php7-pecl-zstd/APKBUILD
+++ b/testing/php7-pecl-zstd/APKBUILD
@@ -1,14 +1,14 @@
# Maintainer: Andy Postnikov <apostnikov@gmail.com>
pkgname=php7-pecl-zstd
_extname=zstd
-pkgver=0.9.0
-pkgrel=2
+pkgver=0.10.0
+pkgrel=0
pkgdesc="PHP 7 Zstandard extension - PECL"
url="https://pecl.php.net/package/zstd"
arch="all !armhf" # tests fails on armhf
license="MIT"
depends="php7-common"
-makedepends="php7-dev zstd-dev"
+makedepends="php7-dev php7-pecl-apcu zstd-dev"
checkdepends="php7-openssl"
source="php-pecl-$_extname-$pkgver.tgz::https://pecl.php.net/get/$_extname-$pkgver.tgz"
builddir="$srcdir/$_extname-$pkgver"
@@ -22,8 +22,10 @@ build() {
}
check() {
+ local _modules=/usr/lib/php7/modules
make NO_INTERACTION=1 REPORT_EXIT_STATUS=1 test PHP_TEST_SHARED_EXTENSIONS=" \
- -d extension=/usr/lib/php7/modules/openssl.so \
+ -d extension=$_modules/apcu.so \
+ -d extension=$_modules/openssl.so \
-d extension=modules/$_extname.so" TESTS=--show-diff
}
@@ -34,4 +36,4 @@ package() {
echo "extension=$_extname" > $_confdir/$_extname.ini
}
-sha512sums="5bef5a49de423911f0a3f13bb2a5cd70a1c1debd04c35f1ec5bc0f91194e9c4a05b260ff627cf07e0018898372c0c51a05c72da4c04769438d7956461dae743a php-pecl-zstd-0.9.0.tgz"
+sha512sums="e316484a1a0adbc5d255e8f794bd04b1381c500accffcccfc294394b6232141d5af9398a44cf9a8432ac438b479f59114ad7cd871b72c46018e4a9c8f77fa8ff php-pecl-zstd-0.10.0.tgz"