[arch-commits] Commit in composer/trunk (PKGBUILD)

Pierre Schmitz pierre at archlinux.org
Mon Jan 18 18:29:17 UTC 2021


    Date: Monday, January 18, 2021 @ 18:29:17
  Author: pierre
Revision: 406366

upgpkg: composer 2.0.8-2: PHP 8 compatibility

Modified:
  composer/trunk/PKGBUILD

----------+
 PKGBUILD |    7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-01-18 18:05:37 UTC (rev 406365)
+++ PKGBUILD	2021-01-18 18:29:17 UTC (rev 406366)
@@ -2,7 +2,7 @@
 
 pkgname=composer
 pkgver=2.0.8
-pkgrel=1
+pkgrel=2
 pkgdesc="Dependency Manager for PHP"
 arch=('any')
 license=('MIT')
@@ -9,7 +9,7 @@
 url='https://getcomposer.org/'
 depends=('php' 'unzip')
 makedepends=('git')
-checkdepends=('php-intl')
+checkdepends=('php7' 'php7-intl')
 source=("${pkgname}::git+https://github.com/composer/composer.git#tag=${pkgver}"
         "${pkgname}-${pkgver}.phar::https://getcomposer.org/download/${pkgver}/composer.phar")
 sha256sums=('SKIP'
@@ -42,7 +42,8 @@
 	git config --global user.email composer at example.com
 	git config --global user.name composer
 
-	php -d extension=intl vendor/bin/simple-phpunit
+	# use PHP 7 to run tests as this version of PHPUnit is not compatible
+	php7 -d extension=intl vendor/bin/simple-phpunit
 }
 
 package() {



More information about the arch-commits mailing list