add forthcoming ubuntu (wily) and cleanup older fcdistros on all 3 accounts (fedora...
[build.git] / pkgs.py
diff --git a/pkgs.py b/pkgs.py
index 74261db..0ba73cf 100755 (executable)
--- a/pkgs.py
+++ b/pkgs.py
@@ -32,17 +32,29 @@ from optparse import OptionParser
 import re
 
 default_arch='x86_64'
-known_arch = ['i386','x86_64']
-default_fcdistro='f14'
-known_fcdistros = [ 'centos5','centos6',
-                    'f8', 'f10','f12', 'f14', 'f16', 'f17',
-                    'sl6', 
-                    'lenny','squeeze','wheezy','jessie' ]
+known_arch = ['i386', 'i686', 'x86_64']
+default_fcdistro = 'f22'
+known_fcdistros = [
+    'centos5', 'centos6',
+    'f14', 'f18', 'f20', 'f21', 'f22',
+    'sl6', 
+    # debians
+    'wheezy','jessie',
+    # ubuntus
+    'precise', # 12.04 LTS
+    'trusty',  # 14.04 LTS
+    'utopic',  # 14.10
+    'vivid',   # 15.04
+    'wily',    # 15.10
+]
 default_pldistro='onelab'
 
-known_keywords=['groupname', 'groupdesc', 
-                'nodeyumexclude', 'plcyumexclude', 
-                'yumexclude', 'package', 'group', 'precious', 'junk', 'mirror', ]
+known_keywords = [
+    'group', 'groupname', 'groupdesc', 
+     'package', 'pip', 'gem', 
+    'nodeyumexclude', 'plcyumexclude', 'yumexclude',
+    'precious', 'junk', 'mirror',
+]
 
 
 m_fcdistro_cutter = re.compile('([a-z]+)([0-9]+)')
@@ -215,6 +227,7 @@ def main ():
         print >> stderr, 'Unsupported arch',options.arch
         parser.print_help(file=stderr)
         sys.exit(1)
+    if options.arch == 'i686': options.arch='i386'
     if not options.fcdistro in known_fcdistros:
         print >> stderr, 'Unsupported fcdistro',options.fcdistro
         parser.print_help(file=stderr)