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

Pierre Schmitz pierre at gemini.archlinux.org
Sat Jan 8 09:09:26 UTC 2022


    Date: Saturday, January 8, 2022 @ 09:09:25
  Author: pierre
Revision: 1096976

upgpkg: php-snuffleupagus 0.7.1-2

Modified:
  php-snuffleupagus/trunk/PKGBUILD

----------+
 PKGBUILD |    9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-08 08:22:50 UTC (rev 1096975)
+++ PKGBUILD	2022-01-08 09:09:25 UTC (rev 1096976)
@@ -4,7 +4,7 @@
 pkgname=php-snuffleupagus
 _pkgname=snuffleupagus
 pkgver=0.7.1
-pkgrel=1
+pkgrel=2
 pkgdesc="Security module for PHP"
 url='https://snuffleupagus.readthedocs.io/'
 arch=('x86_64')
@@ -15,6 +15,13 @@
 source=(https://github.com/jvoisin/${_pkgname}/archive/v${pkgver}/${_pkgname}-${pkgver}.tar.gz)
 b2sums=('8504721ca08e727a5a6fa58c216a5dac7be3fe6e5a98cffcb17e44a2235628c26f02afd2159e9b1fbe8e40e26bc7c4e34a4ff027ee27b8ec29cf89865dbb8514')
 
+prepare() {
+  cd ${_pkgname}-${pkgver}
+
+  # tests are incompatible with PHP 8.1
+  rm src/tests/{disable_function/disabled_functions_include_once,disable_function/disabled_functions_include_simulation,disable_function/disabled_functions_register_tick_function,disable_function/disabled_functions_require,disable_function/disabled_functions_require_once,disable_function/disabled_functions_require_simulation,strict_mode/strict_mode_enabled,stream_wrapper/stream_wrapper}.phpt
+}
+
 build() {
   cd ${_pkgname}-${pkgver}/src
   phpize



More information about the arch-commits mailing list