]> SALOME platform Git repositories - tools/sat_salome.git/commitdiff
Salome HOME
SALOME 9.7.0 -Windows build
authorNabil Ghodbane <nabil.ghodbane@cea.fr>
Thu, 22 Apr 2021 07:34:17 +0000 (09:34 +0200)
committerNabil Ghodbane <nabil.ghodbane@cea.fr>
Thu, 22 Apr 2021 07:34:17 +0000 (09:34 +0200)
14 files changed:
applications/SALOME-master-windows.pyconf
products/ParaView.pyconf
products/PyQt.pyconf
products/compil_scripts/ParaView-5.9.0.bat
products/compil_scripts/PyQt-5.15.bat
products/compil_scripts/ispc-1.15.0.bat [new file with mode: 0644]
products/compil_scripts/sip-5.5.0.bat
products/env_scripts/PyQt.py
products/env_scripts/sip.py
products/env_scripts/toml.py [new file with mode: 0644]
products/ispc.pyconf
products/patches/paraview.0009-ParaView_find_zlib.patch [new file with mode: 0644]
products/patches/paraview.0010-ParaView_windows_catalyst_cmake.patch [new file with mode: 0644]
products/toml.pyconf [new file with mode: 0644]

index 7e00f232bbf214f3936a2bab40b56a22ff72925e..8bc3f21aa8d822c57b8f42cb86e6cadaecb3feb9 100644 (file)
@@ -48,7 +48,7 @@ APPLICATION :
         docutils : '0.14'
         doxygen : '1.8.3.1'
         eigen : '3.3.4'
-        embree : '3.5.2'
+        embree : '3.12.2'
         expat : '2.0.1'
         f2c : '1.0.0'
         freeimage : '3.18.0'
@@ -56,10 +56,9 @@ APPLICATION :
         #gmsh : '4.1.4'
         graphviz : '2.44.1'
         hdf5 : '1.10.3'
-        #homard_bin : '11.12'
         idna : '2.8'
         imagesize : '1.1.0'
-        ispc : '1.10.0'
+        ispc : '1.15.0'
         Jinja2 : '2.10.1'
         kiwisolver : '1.1.0'
         lapack : '3.8.0'
@@ -93,7 +92,7 @@ APPLICATION :
         Pygments : '2.4.2'
         pyparsing : '2.4.0'
         PyQt : '5.15.3'
-        PyQtChart : '5.15.4'
+       # PyQtChart : '5.15.4'
         pyreadline : '2.1'
         Python : '3.6.5'
         pytz : '2019.1'
@@ -119,6 +118,7 @@ APPLICATION :
         sphinxintl: '2.0.0'
         swig : '3.0.12'
         tbb : '2019_U8_win'
+        toml : '0.10.2'
         tcltk : '8.6.9'
         urllib3 : '1.25.3'
         zlib : '1.2.5'
index 766f3fe7a0991666ddede6f0d0ef4bde4cbe71e2..8068633529bfbe6afd6f7a5c71f6e24e3fad1b5b 100755 (executable)
@@ -83,9 +83,10 @@ version_5_9_0_win :
                'paraview.0005-ParaView_find_cgns.patch',
                'paraview.0006-ParaView_find_libxml2.patch',
                'paraview.0007-ParaView_find_freetype.patch',
-               'paraview.0008-ParaView_find_zlib.patch',
+               'paraview.0009-ParaView_find_zlib.patch',
                'paraview-0012-LATA_64BITS_IDS.patch',
                'ParaView-5.9.0-CATALYST_cmake.patch',
+               'paraview.0010-ParaView_windows_catalyst_cmake.patch',
                'paraview.0008-ParaView_coincident_rendering.patch'
               ]
 }
@@ -114,6 +115,7 @@ version_5_9_0_win_int32 :
                'paraview.0007-ParaView_find_freetype.patch',
                'paraview.0008-ParaView_find_zlib.patch',
                'ParaView-5.9.0-CATALYST_cmake.patch',
+               'paraview.0010-ParaView_windows_catalyst_cmake.patch',
                'paraview.0008-ParaView_coincident_rendering.patch'
               ]
 }
index bf1179f76cced6d3c491eefbbb135a29044d84e3..7f7f9d80caba70b7b020fdd5aee203f6c166d0eb 100644 (file)
@@ -32,16 +32,9 @@ version_5_15_3 :
     compil_script :  "PyQt-5.15" + $VARS.scriptExtension
 }
 
-version_5_12_3 :
+version_5_15_3_win :
 {
-    name : "PyQt"
-    compil_script :  "PyQt-5.12" + $VARS.scriptExtension
-}
-
-
-version_5_11_3 :
-{
-    compil_script :  "PyQt-5.11" + $VARS.scriptExtension
+    depend : ['Python','setuptools', 'toml', 'sip', 'qt']
 }
 
 version_5_9 :
index 54af247150e2e889ac343c2d0bbb9be8cedf440f..a9bc2d1a87ed4b05cd8a72b8653a1b31a936540c 100644 (file)
@@ -31,6 +31,7 @@ set CMAKE_OPTIONS=%CMAKE_OPTIONS% -DCMAKE_BUILD_TYPE:STRING=%PRODUCT_BUILD_TYPE%
 REM common ParaView settings
 set CMAKE_OPTIONS=%CMAKE_OPTIONS% -DPARAVIEW_BUILD_SHARED_LIBS:BOOL=ON
 set CMAKE_OPTIONS=%CMAKE_OPTIONS% -DCMAKE_INSTALL_LIBDIR:STRING=lib
+set CMAKE_OPTIONS=%CMAKE_OPTIONS% -DCMAKE_INSTALL_BINDIR:STRING=lib
 set CMAKE_OPTIONS=%CMAKE_OPTIONS% -DBUILD_TESTING:BOOL=OFF
 set CMAKE_OPTIONS=%CMAKE_OPTIONS% -DPARAVIEW_INSTALL_DEVELOPMENT_FILES:BOOL=ON
 
@@ -144,9 +145,9 @@ REM ZLIB settings
 set CMAKE_OPTIONS=%CMAKE_OPTIONS% -DVTK_MODULE_USE_EXTERNAL_VTK_zlib:BOOL=ON 
 set CMAKE_OPTIONS=%CMAKE_OPTIONS% -DZLIB_INCLUDE_DIR:STRING=%ZLIB_ROOT_DIR:\=/%/include
 if %SAT_DEBUG% == 0 (
-  set CMAKE_OPTIONS=%CMAKE_OPTIONS% -DZLIB_LIBRARY:STRING=%ZLIB_ROOT_DIR:\=/%/lib/zlib.lib 
+  set CMAKE_OPTIONS=%CMAKE_OPTIONS% -DZLIB_LIBRARY:STRING=%ZLIB_ROOT_DIR:\=/%/bin/zlib.lib 
 ) else (
-  set CMAKE_OPTIONS=%CMAKE_OPTIONS% -DZLIB_LIBRARY:STRING=%ZLIB_ROOT_DIR:\=/%/lib/zlibd.lib 
+  set CMAKE_OPTIONS=%CMAKE_OPTIONS% -DZLIB_LIBRARY:STRING=%ZLIB_ROOT_DIR:\=/%/bin/zlibd.lib 
 )
 
 REM Extra options (switch off non-used Paraview plug-ins)
@@ -157,6 +158,9 @@ set CMAKE_OPTIONS=%CMAKE_OPTIONS% -DPARAVIEW_PLUGIN_ENABLE_SierraPlotTools:BOOL=
 set CMAKE_OPTIONS=%CMAKE_OPTIONS% -DPARAVIEW_PLUGIN_ENABLE_PacMan:BOOL=OFF
 set CMAKE_OPTIONS=%CMAKE_OPTIONS% -DPARAVIEW_PLUGIN_ENABLE_pvblot:BOOL=OFF
 
+set CMAKE_OPTIONS=%CMAKE_OPTIONS% -DPARAVIEW_USE_CATALYST:BOOL=ON
+set CMAKE_OPTIONS=%CMAKE_OPTIONS% -DCATALYST_BUILD_STUB_IMPLEMENTATION:BOOL=ON
+
 REM allow additional plugins
 set CMAKE_OPTIONS=%CMAKE_OPTIONS% -DVTK_ALL_NEW_OBJECT_FACTORY:BOOL=ON
 
@@ -172,20 +176,6 @@ if NOT %ERRORLEVEL% == 0 (
     exit 1
 )
 
-REM 
-REM see https://gitlab.kitware.com/paraview/paraview/-/issues/19488
-if %SAT_DEBUG% == 1 (
-  del /Q Directory.Build.props
-  echo > Directory.Build.props
-  echo ^<Project^> > Directory.Build.props
-  echo     ^<ItemDefinitionGroup^> >> Directory.Build.props
-  echo       ^<Link^> >> Directory.Build.props
-  echo         ^<AdditionalLibraryDirectories^>%PYTHON_ROOT_DIR:\=/%/libs^;%%(AdditionalLibraryDirectories)^</AdditionalLibraryDirectories^> >> Directory.Build.props
-  echo      ^</Link^> >> Directory.Build.props
-  echo    ^</ItemDefinitionGroup^> >> Directory.Build.props
-  echo ^</Project^> >> Directory.Build.props
-)
-
 echo.
 echo --------------------------------------------------------------------------
 echo *** msbuild %MAKE_OPTIONS% ALL_BUILD.vcxproj /p:Configuration=%PRODUCT_BUILD_TYPE% /p:Platform=x64
index b1b2313c9c3111eaf9500fa1dc427555ae167fa3..747ecf3f6b90cb78b3165e3a83963cf47a4d8944 100644 (file)
@@ -12,29 +12,32 @@ if NOT exist "%PRODUCT_INSTALL%" mkdir %PRODUCT_INSTALL%
 REM clean BUILD directory
 if exist "%BUILD_DIR%" rmdir /Q /S %BUILD_DIR%
 mkdir %BUILD_DIR%
-
 cd %SOURCE_DIR%
-
-call :NORMALIZEPATH "%PRODUCT_INSTALL%\..\Python"
-set python_exe=%RETVAL%\python.exe
-set python_name=python%PYTHON_VERSION%
-
-call :NORMALIZEPATH "%PRODUCT_INSTALL%\..\sip"
-set sip_incdir=%RETVAL%\include\%python_name%
+xcopy * %BUILD_DIR%\ /E /I /Q
+cd %BUILD_DIR%
 
 echo.
 echo --------------------------------------------------------------------------
 echo *** python configure.py
 echo --------------------------------------------------------------------------
-
-set PRODUCT_BUILD_TYPE=
+SET BUILD_OPTIONS=
+SET BUILD_OPTIONS=%BUILD_OPTIONS% -b %PRODUCT_INSTALL%/bin 
+SET BUILD_OPTIONS=%BUILD_OPTIONS% -d %PRODUCT_INSTALL%
+SET BUILD_OPTIONS=%BUILD_OPTIONS% -v %PRODUCT_INSTALL%/sip
+SET BUILD_OPTIONS=%BUILD_OPTIONS% --stubsdir=%PRODUCT_INSTALL%/lib/site-packages
+SET BUILD_OPTIONS=%BUILD_OPTIONS% --designer-plugindir=%PRODUCT_INSTALL%/plugins/designer
+SET BUILD_OPTIONS=%BUILD_OPTIONS% --qml-plugindir=%PRODUCT_INSTALL%/plugins/qml
+SET BUILD_OPTIONS=%BUILD_OPTIONS% --no-qsci-api
+SET BUILD_OPTIONS=%BUILD_OPTIONS% --spec=win32-msvc
+SET BUILD_OPTIONS=%BUILD_OPTIONS% --confirm-license
+SET BUILD_OPTIONS=%BUILD_OPTIONS% --disable=QtNfc --disable=QtNetwork --disable=QtWebSockets 
+SET BUILD_OPTIONS=%BUILD_OPTIONS% --target-py-version=%PYTHON_VERSION%
 if %SAT_DEBUG% == 1 (
-   python configure.py --confirm-license --no-designer-plugin --debug --bindir=%PRODUCT_INSTALL%\bin --destdir=%PRODUCT_INSTALL%\lib\%python_name%\site-packages --sipdir=%PRODUCT_INSTALL%\sip --spec=win32-msvc --sip-incdir=%sip_incdir% --pyuic5-interpreter=%python_exe% --disable QtNfc --disable=QtNetwork --disable=QtWebSockets 2>&1
-) else (
-   python configure.py --confirm-license --no-designer-plugin --bindir=%PRODUCT_INSTALL%\bin --destdir=%PRODUCT_INSTALL%\lib\%python_name%\site-packages --sipdir=%PRODUCT_INSTALL%\sip --spec=win32-msvc --sip-incdir=%sip_incdir% --pyuic5-interpreter=%python_exe% --disable QtNfc --disable=QtNetwork --disable=QtWebSockets 2>&1
-) 
+ SET BUILD_OPTIONS=%BUILD_OPTIONS% -u
+)
+%PYTHONBIN% configure.py %BUILD_OPTIONS:\=/% 
 if NOT %ERRORLEVEL% == 0 (
-    echo ERROR on python configure.py
+    echo ERROR on python configure.py %BUILD_OPTIONS:\=/% 
     exit 1
 )
 
@@ -71,10 +74,3 @@ if %SAT_DEBUG% == 1 (
 
 echo.
 echo ########## END
-
-:: ========== FUNCTIONS ==========
-EXIT /B
-
-:NORMALIZEPATH
-  SET RETVAL=%~dpfn1
-  EXIT /B
diff --git a/products/compil_scripts/ispc-1.15.0.bat b/products/compil_scripts/ispc-1.15.0.bat
new file mode 100644 (file)
index 0000000..ae9fb27
--- /dev/null
@@ -0,0 +1,19 @@
+@echo off
+
+echo ##########################################################################
+echo ispc %VERSION%
+echo ##########################################################################
+
+if NOT exist "%PRODUCT_INSTALL%" mkdir %PRODUCT_INSTALL%
+if NOT exist "%PRODUCT_INSTALL%\bin" mkdir %PRODUCT_INSTALL%\bin
+
+SET MSBUILDDISABLENODEREUSE=1
+cd %SOURCE_DIR%\bin
+xcopy * %PRODUCT_INSTALL%\bin /E /I /Q
+if NOT %ERRORLEVEL% == 0 (
+    echo ERROR on xcopy
+    exit 1
+)
+
+echo.
+echo ########## END
index 54cea46fcef1da91b6498d996f5471d2e1fddb8c..3048aca130499624ab907934eaffa71623c4cabd 100644 (file)
@@ -1,7 +1,7 @@
 @echo off
 
 echo ##########################################################################
-echo  SIP + PyQt5_sip %VERSION%
+echo  SIP %VERSION%
 echo ##########################################################################
 
 IF NOT DEFINED SAT_DEBUG (
@@ -16,51 +16,23 @@ mkdir %BUILD_DIR%
 cd %SOURCE_DIR%
 xcopy * %BUILD_DIR%\ /E /I /Q
 cd %BUILD_DIR%\sip-5.5.0
-
-
-set python_name=python%PYTHON_VERSION%
-
-rem mkdir %PRODUCT_INSTALL%\lib\%python_name%\site-packages
+mkdir %PRODUCT_INSTALL%\Lib\site-packages
 set PATH=%CWD%\bin;%PATH%
-REM set PYTHONPATH=%PRODUCT_INSTALL%\lib\%python_name%\site-packages;%PYTHONPATH%
+set PYTHONPATH=%PYTHONPATH%;%PRODUCT_INSTALL%\Lib\site-packages
 
 echo.
-echo *** build with %PYTHONBIN%
-%PYTHONBIN% setup.py build
+echo *** 
+%PYTHONBIN% setup.py build install --prefix=%PRODUCT_INSTALL%
 if NOT %ERRORLEVEL% == 0 (
-  echo ERROR on SIP running  %PYTHONBIN% setup.py build...
+  echo ERROR on SIP running  %PYTHONBIN% setup.py  build install   --prefix=%PRODUCT_INSTALL%
   exit 1
 )
-
-echo.
-echo *** install with %PYTHONBIN%
-%PYTHONBIN% setup.py install --prefix=%PRODUCT_INSTALL%\lib\%python_name%\site-packages
-if NOT %ERRORLEVEL% == 0 (
-  echo ERROR on SIP running  %PYTHONBIN% setup.py install --prefix=%PRODUCT_INSTALL:\=/%
-  exit 2
-)
-
 cd %BUILD_DIR%\PyQt5_sip-12.8.1
-
-echo.
-echo *** build with %PYTHONBIN%
-%PYTHONBIN% setup.py build
+%PYTHONBIN% setup.py build install --prefix=%PRODUCT_INSTALL%
 if NOT %ERRORLEVEL% == 0 (
-  echo ERROR on PyQt5_sip running  %PYTHONBIN% setup.py build...
-  exit 3
-)
-
-echo.
-echo *** install with %PYTHONBIN%
-%PYTHONBIN% setup.py install --prefix=%PRODUCT_INSTALL:\=/%
-if NOT %ERRORLEVEL% == 0 (
-  echo ERROR on PyQt5_sip running  %PYTHONBIN% setup.py install --prefix=%PRODUCT_INSTALL:\=/%
-  exit 4
+  echo ERROR on PYQT_SIP running  %PYTHONBIN% setup.py  build install  --prefix=%PRODUCT_INSTALL%
+  exit 2
 )
 
-mkdir %PRODUCT_INSTALL%\include
-xcopy /q /r /Y *.h %PRODUCT_INSTALL%\include
-
-
 echo
 echo ########## END
index 73db42dee1a9893ef089c2ba745830ab5082d610..17f9ddb87b13a7759ed454d688ad0b2df69b6323 100644 (file)
@@ -16,11 +16,15 @@ def set_env(env, prereq_dir, version):
   env.prepend('PATH', os.path.join(prereq_dir, 'bin'))
   env.prepend('PYTHONPATH', prereq_dir)
   pyver = 'python' + env.get('PYTHON_VERSION')
-  env.prepend('PYTHONPATH', os.path.join(prereq_dir, 'lib', pyver, 'site-packages'))
   if not platform.system() == "Windows" :
+    env.prepend('PYTHONPATH', os.path.join(prereq_dir, 'lib', pyver, 'site-packages'))
     env.set('PYUIC5',os.path.join(prereq_dir, 'bin','pyuic5'))
     env.prepend('LD_LIBRARY_PATH', prereq_dir)
   else:
+    if '5.15' in version:
+      env.prepend('PYTHONPATH', os.path.join(prereq_dir, 'lib', 'site-packages'))
+    else:
+      env.prepend('PYTHONPATH', os.path.join(prereq_dir, 'lib', pyver, 'site-packages'))
     env.set('PYUIC5',os.path.join(prereq_dir, 'bin','pyuic5.bat'))
 
 def set_nativ_env(env):
index eae92bf0321842b71ca253c51dbebff9f2ea1b85..23fa384c9804c370552b71f2da5746ff44db90a2 100644 (file)
@@ -21,11 +21,11 @@ def set_env(env, prereq_dir, version):
         env.prepend('LD_LIBRARY_PATH', os.path.join(prereq_dir, 'lib', pyver, 'site-packages'))
         env.prepend('CPLUS_INCLUDE_PATH', os.path.join(prereq_dir, 'include', pyver))
     else:
-#        env.set('SIPDIR', os.path.join(env.get('PYTHON_ROOT_DIR'),'site-packages'))
-#        env.set('SIP_ROOT_DIR', os.path.join(env.get('PYTHON_ROOT_DIR'),'site-packages'))
-#        env.prepend('CPLUS_INCLUDE_PATH', os.path.join( env.get('PYTHON_INCLUDE_PATH'), pyver))
         env.prepend('CPLUS_INCLUDE_PATH', os.path.join(prereq_dir, 'include', pyver))
-        env.prepend('PYTHONPATH', os.path.join(prereq_dir, 'lib', pyver, 'site-packages'))
+        if '5.5.1' in version:
+            env.prepend('PYTHONPATH', os.path.join(prereq_dir, 'lib', 'site-packages'))
+        else:
+            env.prepend('PYTHONPATH', os.path.join(prereq_dir, 'lib', pyver, 'site-packages'))
         env.prepend('PATH', os.path.join(prereq_dir, 'bin'))
   
 def set_nativ_env(env):
diff --git a/products/env_scripts/toml.py b/products/env_scripts/toml.py
new file mode 100644 (file)
index 0000000..ac00d5d
--- /dev/null
@@ -0,0 +1,17 @@
+#!/usr/bin/env python
+#-*- coding:utf-8 -*-
+
+import os
+import platform
+
+def set_env(env, prereq_dir, version):
+    env.set("TOML_ROOT_DIR",prereq_dir)
+
+    versionPython = env.get('PYTHON_VERSION')
+    if not platform.system() == "Windows" :
+        env.prepend('PATH', os.path.join(prereq_dir, 'bin'))
+        env.prepend('PYTHONPATH',os.path.join(prereq_dir, 'lib', 'python' + versionPython, 'site-packages'))
+        env.prepend('PYTHONPATH',os.path.join(prereq_dir, 'bin'))
+
+def set_nativ_env(env):
+    pass
index 09ba1a8710c0f496027df6a3d1e79c5cdfeb8854..6a9498a7a93fbd1ad9b93ddf317485871952b87f 100644 (file)
@@ -36,12 +36,18 @@ default_win :
 version_1_15_0 :
 {
     build_source : "script"
-    compil_script :  "ispc-1.15.0.sh"
+    compil_script :  "ispc-1.15.0" + $VARS.scriptExtension
     archive_info : {archive_name : "ispc-1.15.0-x86_64.tar.gz"}
     patches : []
     depend : []
 }
 
+version_1_15_0_win :
+{
+    archive_info : {archive_name : "ispc-v1.15.0-windows.tar.gz"}
+    build_depend : ["cmake", "llvm"]
+}
+
 version_1_9_2 :
 {
     build_source : "script"
diff --git a/products/patches/paraview.0009-ParaView_find_zlib.patch b/products/patches/paraview.0009-ParaView_find_zlib.patch
new file mode 100644 (file)
index 0000000..980dc1c
--- /dev/null
@@ -0,0 +1,15 @@
+diff -Naur ParaView-5.8.0_SRC_orig/VTK/CMake/patches/3.13/FindZLIB.cmake ParaView-5.8.0_SRC_modif/VTK/CMake/patches/3.13/FindZLIB.cmake
+--- ParaView-5.8.0_SRC_orig/VTK/CMake/patches/3.13/FindZLIB.cmake      2020-03-23 13:31:26.000000000 +0300
++++ ParaView-5.8.0_SRC_modif/VTK/CMake/patches/3.13/FindZLIB.cmake     2020-04-13 14:13:11.214692753 +0300
+@@ -52,6 +52,11 @@
+ set(_ZLIB_SEARCHES)
++SET(ZLIB_ROOT_DIR $ENV{ZLIB_ROOT_DIR} CACHE PATH "PATH TO zlib.")
++IF(ZLIB_ROOT_DIR)
++  LIST(APPEND CMAKE_PREFIX_PATH "${ZLIB_ROOT_DIR}")
++ENDIF(ZLIB_ROOT_DIR)
++
+ # Search ZLIB_ROOT first if it is set.
+ if(ZLIB_ROOT)
+   set(_ZLIB_SEARCH_ROOT PATHS ${ZLIB_ROOT} NO_DEFAULT_PATH)
diff --git a/products/patches/paraview.0010-ParaView_windows_catalyst_cmake.patch b/products/patches/paraview.0010-ParaView_windows_catalyst_cmake.patch
new file mode 100644 (file)
index 0000000..4db1c33
--- /dev/null
@@ -0,0 +1,29 @@
+diff -Naur ParaView-5.9.0_SRC_orig/ThirdParty/catalyst/vtkcatalyst/catalyst/cmake/catalyst-macros.cmake ParaView-5.9.0_SRC_modif/ThirdParty/catalyst/vtkcatalyst/catalyst/cmake/catalyst-macros.cmake
+--- ParaView-5.9.0_SRC_orig/ThirdParty/catalyst/vtkcatalyst/catalyst/cmake/catalyst-macros.cmake       2021-04-15 12:41:13.691878300 +0300
++++ ParaView-5.9.0_SRC_modif/ThirdParty/catalyst/vtkcatalyst/catalyst/cmake/catalyst-macros.cmake      2021-04-15 12:50:29.348516100 +0300
+@@ -65,11 +65,20 @@
+   if (arg_INSTALL_EXPORT_DEFAULT)
+     set (_exports EXPORT Catalyst)
+   endif()
+-  if (arg_LIBRARY_DESTINATION)
+-    install(
+-      TARGETS ${arg_TARGET}
+-      ${_exports}
+-      LIBRARY DESTINATION ${arg_LIBRARY_DESTINATION})
++  if(WIN32)
++    if (arg_LIBRARY_DESTINATION)
++      install(
++        TARGETS ${arg_TARGET}
++        ${_exports}
++        RUNTIME DESTINATION ${arg_LIBRARY_DESTINATION})
++    endif()
++  else()
++    if (arg_LIBRARY_DESTINATION)
++      install(
++        TARGETS ${arg_TARGET}
++        ${_exports}
++        LIBRARY DESTINATION ${arg_LIBRARY_DESTINATION})
++    endif()
+   endif()
+ endfunction()
diff --git a/products/toml.pyconf b/products/toml.pyconf
new file mode 100644 (file)
index 0000000..f6de9ac
--- /dev/null
@@ -0,0 +1,27 @@
+default :
+{
+    name : "toml"
+    build_source : "script"
+    compil_script : 'pip_install' + $VARS.scriptExtension
+    get_source : "archive"
+    system_info : 
+    {
+        rpm : ["python3-toml"]
+        rpm_dev : []
+        apt : ["python3-toml"]
+        apt_dev : []
+    }
+    environ :
+    {
+       env_script : $name + ".py"
+    }
+    depend : ['Python','setuptools']
+    source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
+    build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
+    install_dir : 'base'
+    properties:
+    {
+        incremental : "yes"
+        pip : "yes"
+    }
+}