Date: Thursday, June 11, 2015 @ 20:13:25 Author: pierre Revision: 240605
upgpkg: php 5.6.10-1 Modified: php/trunk/PKGBUILD ----------+ PKGBUILD | 32 +++++++++++++++++++++----------- 1 file changed, 21 insertions(+), 11 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2015-06-11 17:05:11 UTC (rev 240604) +++ PKGBUILD 2015-06-11 18:13:25 UTC (rev 240605) @@ -23,8 +23,8 @@ 'php-sqlite' 'php-tidy' 'php-xsl') -pkgver=5.6.9 -pkgrel=2 +pkgver=5.6.10 +pkgrel=1 arch=('i686' 'x86_64') license=('PHP') url='http://www.php.net' @@ -32,11 +32,12 @@ 'sqlite' 'unixodbc' 'net-snmp' 'libzip' 'enchant' 'file' 'freetds' 'libmcrypt' 'tidyhtml' 'aspell' 'libltdl' 'gd' 'icu' 'curl' 'libxslt' 'openssl' 'db' 'gmp' 'systemd') +checkdepends=('procps-ng') source=("http://www.php.net/distributions/${pkgbase}-${pkgver}.tar.xz" "http://www.php.net/distributions/${pkgbase}-${pkgver}.tar.xz.asc" 'php.ini.patch' 'apache.conf' 'php-fpm.conf.in.patch' 'logrotate.d.php-fpm' 'php-fpm.service' 'php-fpm.tmpfiles') -md5sums=('f6b90cd0503310c38e9573bae1eb38c7' +md5sums=('4631ef265253d2f496b3574d297f26ed' 'SKIP' '942f9d8af9bcab2487ca710ef42ef1de' 'dec2cbaad64e3abf4f0ec70e1de4e8e9' @@ -215,15 +216,24 @@ make } -# check() { -# cd ${srcdir}/build-php -# export SNMP_TIMEOUT=1 -# export SNMP_RETRIES=0 -# export NO_INTERACTION=1 -# make test -# echo -# } +check() { + # tests on i686 fail + [[ $CARCH == 'i686' ]] && return + cd ${srcdir}/build-php + + export REPORT_EXIT_STATUS=1 + export NO_INTERACTION=1 + export SKIP_ONLINE_TESTS=1 + export SKIP_SLOW_TESTS=1 + + sapi/cli/php -n \ + ${srcdir}/${pkgbase}-${pkgver}/run-tests.php -n -P \ + ${srcdir}/${pkgbase}-${pkgver}/{Zend,ext/{date,pcre,spl,standard},sapi/cli} + + echo +} + package_php() { pkgdesc='An HTML-embedded scripting language' depends=('pcre' 'libxml2' 'curl' 'libzip')