Salome HOME
Fedora 37 support
[tools/sat_salome.git] / products / Python.pyconf
index 08126693f52bd954142ee4041bdc416bd8d5e296..fc70b292a8a6b13b09bc63d8e271b2f1569d84fc 100755 (executable)
@@ -6,9 +6,11 @@ default :
     get_source : "archive"
     system_info : 
     {
-        rpm : ["python36"]
+        # Python is a mandatory part of current used Linux platforms, no need to check its presence therefore.
+        # As version of Python 3.x differs on each of them, a better solution would to eventually check the binary presence.
+        rpm : []
         rpm_dev : []
-        apt : ["python36"]
+        apt : []
         apt_dev : []
     }
     environ :
@@ -16,6 +18,7 @@ default :
        env_script : $name + ".py"
     }
     depend : []
+    opt_depend: ["gcc"]
     patches : []
     source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
     build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
@@ -34,10 +37,7 @@ version_2_6_6 :
 
 version_2_7_10 :
 {
-    patches : [
-        #'remove-windows-python-subprojects.patch', #patch Windows non applicable sur Linux
-        #'enable-windows-plugin-compilation.patch',
-    ]
+    patches : ['Python-2.7.10-ssl.patch']
 }
 
 version_3_6_5 :
@@ -45,9 +45,75 @@ version_3_6_5 :
  patches : []
 }
 
+version_3_6_5_FD34:
+{
+  patches: ["python_3.6.5-allocation.patch"] # https://github.com/pyenv/pyenv/issues/1889
+}
+
 version_3_6_5_win :
 {
     compil_script : "Python-3.6.5.bat"
     patches : ['Python-3.6.5_windows.patch']
 }
+
+version_3_6_8 :
+{
+ compil_script : 'Python-3.6.8.sh'
+ patches : []
+}
+
+version_3_6_15 :
+{
+ compil_script : "Python-3.6.15.sh"
+ patches : []
+}
+
+version_3_6_15_FD34:
+{
+  patches: ["python_3.6.15-allocation.patch"] # https://github.com/pyenv/pyenv/issues/1889
+}
+
+version_3_6_15_win :
+{
+    compil_script : "Python-3.6.15.bat"
+    patches : ['Python-3.6.15_windows.patch']
+}
+
+version_3_7_9 :
+{
+ patches : []
+}
+
+version_3_7_9_win :
+{
+    compil_script : "Python-3.7.9.bat"
+    patches : []
+    build_depend : ['perl']
+}
+version_3_7_14 :
+{
+ compil_script : "Python-3.7.sh"
+ patches : []
+}
+
+version_3_7_14_win :
+{
+    compil_script : "Python-3.9.bat"
+    patches : []
+    build_depend : ['perl']
+}
+version_3_9_14 :
+{
+ compil_script : "Python-3.9.sh"
+ patches : []
+}
+
+version_3_9_14_win :
+{
+    compil_script : "Python-3.9.bat"
+    patches : []
+    build_depend : ['perl']
+}