diff options
author | Andy Postnikov <apostnikov@gmail.com> | 2019-01-06 18:22:33 +0200 |
---|---|---|
committer | Andy Postnikov <apostnikov@gmail.com> | 2019-01-06 18:36:02 +0200 |
commit | 5f06d1ab9552515887bdaa9c623b388e8a1b6736 (patch) | |
tree | d55335db1c4154cfe2ed9a3d7e497fbb1267bd16 /community/php7-pecl-amqp | |
parent | d55d0fc467560945bff2f8e5e962c0a4111138f7 (diff) | |
download | aports-5f06d1ab9552515887bdaa9c623b388e8a1b6736.tar.bz2 aports-5f06d1ab9552515887bdaa9c623b388e8a1b6736.tar.xz |
community/php7-pecl-amqp: upgrade to 1.9.4 and add check()
Diffstat (limited to 'community/php7-pecl-amqp')
-rw-r--r-- | community/php7-pecl-amqp/APKBUILD | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/community/php7-pecl-amqp/APKBUILD b/community/php7-pecl-amqp/APKBUILD index f5b96f947c..6c49ea120f 100644 --- a/community/php7-pecl-amqp/APKBUILD +++ b/community/php7-pecl-amqp/APKBUILD @@ -2,8 +2,8 @@ # Maintainer: Fabio Ribeiro <fabiorphp@gmail.com> pkgname=php7-pecl-amqp _pkgreal=amqp -pkgver=1.9.3 -pkgrel=2 +pkgver=1.9.4 +pkgrel=0 pkgdesc="PHP extension to communicate with any AMQP spec 0-9-1 compatible server - PECL" url="https://pecl.php.net/package/amqp" arch="all" @@ -11,7 +11,6 @@ license="PHP" depends="php7-common" makedepends="php7-dev autoconf rabbitmq-c-dev re2c" source="$pkgname-$pkgver.tgz::https://pecl.php.net/get/$_pkgreal-$pkgver.tgz" -options="!check" # it seems that tests need running AMQP server builddir="$srcdir/$_pkgreal-$pkgver" provides="php7-amqp=$pkgver-r$pkgrel" # for backward compatibility replaces="php7-amqp" # for backward compatibility @@ -24,6 +23,11 @@ build() { make } +check() { + # Tests require running AMQP server, so basic check + php7 -d extension="$builddir"/modules/$_pkgreal.so --ri $_pkgreal +} + package() { local confdir="$pkgdir/etc/php7/conf.d" cd "$builddir" @@ -34,4 +38,4 @@ package() { echo "extension=$_pkgreal.so" > "$confdir"/40_$_pkgreal.ini } -sha512sums="d4731ed5dc760a01621889e8518b5d1258a8335f701d241c453fd553924d83507a0a918b9733e249955fa11b43a1bdacf65c1f1cb55b8ed3c5b661277f5798b9 php7-pecl-amqp-1.9.3.tgz" +sha512sums="53f8893c2fdb6f41467c9af4a5e48810d39201150a94dd9d32f542d53387ef5e6d8c614ebe2d82b3ab9febd39aa8759a86975d0dc45092a2772f08cd86d7f739 php7-pecl-amqp-1.9.4.tgz" |