[projects/pld-builder.new] add php 7.0

glen glen at pld-linux.org
Mon Sep 28 21:33:13 CEST 2015


commit fea6099da9c2a9a3d05319185bb64a16d77bd12d
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Mon Sep 28 22:32:50 2015 +0300

    add php 7.0
    
    this gives error otherwise:
    
      File "/home/users/builderth/pld-builder.new/PLD_Builder/install.py", line 164, in install_br
        f = chroot.popen("poldek --test --test --noask --caplookup -Q -v %s --upgrade %s" % (b.ignores(), br), user = "root")
      File "/home/users/builderth/pld-builder.new/PLD_Builder/request.py", line 376, in ignores
        ignores.extend(self.php_ignores())
      File "/home/users/builderth/pld-builder.new/PLD_Builder/request.py", line 359, in php_ignores
        php_versions.remove(php_version)
    ValueError: list.remove(x): x not in list

 PLD_Builder/request.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/PLD_Builder/request.py b/PLD_Builder/request.py
index 0da6eea..6758f35 100644
--- a/PLD_Builder/request.py
+++ b/PLD_Builder/request.py
@@ -350,7 +350,7 @@ class Batch:
             return v.replace('.', '')
 
         # available php versions in distro
-        php_versions = ['5.2', '5.3', '5.4', '5.5', '5.6']
+        php_versions = ['5.2', '5.3', '5.4', '5.5', '5.6', '7.0']
 
         # current version if -D php_suffix is present
         php_version = php_name_to_ver(self.defines['php_suffix'])
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/projects/pld-builder.new.git/commitdiff/fea6099da9c2a9a3d05319185bb64a16d77bd12d



More information about the pld-cvs-commit mailing list