aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Postnikov <apostnikov@gmail.com>2021-01-22 15:14:55 +0200
committerLeo <thinkabit.ukim@gmail.com>2021-01-22 13:28:08 +0000
commit941da8d24620d35eb14c9311a799e12037bdcb3b (patch)
treef8a6406336723f2fd365dc3e35a930b326235061
parent6a56ec5b856c0c18ade0c0b37ada60c5fbbdb6bf (diff)
downloadaports-941da8d24620d35eb14c9311a799e12037bdcb3b.tar.gz
aports-941da8d24620d35eb14c9311a799e12037bdcb3b.tar.bz2
aports-941da8d24620d35eb14c9311a799e12037bdcb3b.tar.xz
testing/php8-pecl-zstd: upgrade to 0.10.0
-rw-r--r--testing/php8-pecl-zstd/APKBUILD14
1 files changed, 7 insertions, 7 deletions
diff --git a/testing/php8-pecl-zstd/APKBUILD b/testing/php8-pecl-zstd/APKBUILD
index 5942b9df1c..ec4aa0f804 100644
--- a/testing/php8-pecl-zstd/APKBUILD
+++ b/testing/php8-pecl-zstd/APKBUILD
@@ -1,17 +1,16 @@
# Maintainer: Andy Postnikov <apostnikov@gmail.com>
pkgname=php8-pecl-zstd
_extname=zstd
-pkgver=0.9.0
+pkgver=0.10.0
pkgrel=0
pkgdesc="PHP 8 Zstandard extension - PECL"
url="https://pecl.php.net/package/zstd"
arch="all !armhf" # tests fails on armhf builders
license="MIT"
depends="php8-common"
-makedepends="php8-dev zstd-dev"
+makedepends="php8-dev php8-pecl-apcu zstd-dev"
checkdepends="php8-openssl"
-source="php-pecl-$_extname-$pkgver.tgz::https://pecl.php.net/get/$_extname-$pkgver.tgz
- https://github.com/kjdev/php-ext-zstd/commit/729d8401bfba37a3ee558cd051a1a525b5301dbd.patch"
+source="php-pecl-$_extname-$pkgver.tgz::https://pecl.php.net/get/$_extname-$pkgver.tgz"
builddir="$srcdir/$_extname-$pkgver"
build() {
@@ -21,8 +20,10 @@ build() {
}
check() {
+ local _modules=/usr/lib/php8/modules
make NO_INTERACTION=1 REPORT_EXIT_STATUS=1 test PHP_TEST_SHARED_EXTENSIONS=" \
- -d extension=/usr/lib/php8/modules/openssl.so \
+ -d extension=$_modules/apcu.so \
+ -d extension=$_modules/openssl.so \
-d extension=modules/$_extname.so" TESTS=--show-diff
}
@@ -33,5 +34,4 @@ package() {
echo "extension=$_extname" > $_confdir/$_extname.ini
}
-sha512sums="5bef5a49de423911f0a3f13bb2a5cd70a1c1debd04c35f1ec5bc0f91194e9c4a05b260ff627cf07e0018898372c0c51a05c72da4c04769438d7956461dae743a php-pecl-zstd-0.9.0.tgz
-c4d181f58e8b453e6950d3f4775f81801b14db7ebea474d6e8ae8c3395f172865ccc48a1a7964d58552d5d9dc9f3f3b6f5f878382b595e27cb0de15d53ad803d 729d8401bfba37a3ee558cd051a1a525b5301dbd.patch"
+sha512sums="e316484a1a0adbc5d255e8f794bd04b1381c500accffcccfc294394b6232141d5af9398a44cf9a8432ac438b479f59114ad7cd871b72c46018e4a9c8f77fa8ff php-pecl-zstd-0.10.0.tgz"