Skip to content
Snippets Groups Projects
Commit b3d664da authored by Andy Postnikov's avatar Andy Postnikov
Browse files

community/php8-pecl-uploadprogress: upgrade to 1.1.4 and modernize

parent b5780d27
1 merge request!25918[3.14] community/php?-pecl-uploadprogress: upgrade to 1.1.4 and modernize
Pipeline #95079 passed
......@@ -3,19 +3,17 @@
pkgname=php8-pecl-uploadprogress
_extname=uploadprogress
pkgver=1.1.3
pkgver=1.1.4
pkgrel=0
pkgdesc="PHP 8 extension to track progress of a file upload - PECL"
pkgdesc="PHP 8.0 extension to track progress of a file upload - PECL"
url="https://pecl.php.net/package/uploadprogress"
arch="all"
license="PHP-3.01"
depends="php8-common"
makedepends="php8-dev"
subpackages="$pkgname-doc::noarch"
source="php-pecl-$_extname-$pkgver.tar.gz::https://github.com/php/pecl-php-uploadprogress/archive/uploadprogress-$pkgver.tar.gz
fix-args.patch::https://github.com/php/pecl-php-uploadprogress/pull/8/commits/f14654d30953e4b699bf25a244923bbadc55f4f9.patch
fix-tests.patch::https://github.com/php/pecl-php-uploadprogress/pull/8/commits/914879020c057eaf4f112ee9331719d4008cfe7e.patch"
builddir="$srcdir/pecl-php-uploadprogress-uploadprogress-$pkgver"
source="php-pecl-$_extname-$pkgver.tar.gz::https://pecl.php.net/get/uploadprogress-$pkgver.tgz"
builddir="$srcdir/$_extname-$pkgver"
build() {
phpize8
......@@ -25,7 +23,7 @@ build() {
check() {
php8 -d extension=modules/$_extname.so --ri $_extname
make NO_INTERACTION=1 REPORT_EXIT_STATUS=1 test TESTS=--show-diff
make NO_INTERACTION=1 REPORT_EXIT_STATUS=1 test TESTS='--show-diff '
}
package() {
......@@ -40,6 +38,6 @@ package() {
install -Dm644 -t $docdir/examples examples/*
}
sha512sums="7c5e58ab113d52da138d0518292f8bfb0597fd7ac5b43bef4954239020670a89fc616957d1ac43dae6660752ff0b396388aff26979b989b7768927fddefea7c0 php-pecl-uploadprogress-1.1.3.tar.gz
47ad1c50c3b371c76fb7f626e512ce847d23c46382fe8eca3e79d414deab375b622c0f2dd07bedeae43fa54299c7b182235ce5e8e443d4e3f276c6cebc7d4a49 fix-args.patch
108e4b61d3752fc244e9ee13eb1f2423f02cfeb5124b7b14a15588e7dd8d90851699a76d373ecfabe990ac036d8b4d85d3ec76deb71ed74911f905a5ca2a21ff fix-tests.patch"
sha512sums="
6c5e5d5168c4f1f1eda17f2697c820427263bdb95d737a202fa72ea54f81d8365362bd017fcf4bdbc85b674be363d31605bee14ee6cc723c6e0af15b7c95dd4a php-pecl-uploadprogress-1.1.4.tar.gz
"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment