From 36114ad9745658dce8ab99cfdd8fb3d1271c9ff7 Mon Sep 17 00:00:00 2001 From: Nabil Ghodbane Date: Thu, 22 Apr 2021 09:34:17 +0200 Subject: [PATCH] SALOME 9.7.0 -Windows build --- applications/SALOME-master-windows.pyconf | 8 ++-- products/ParaView.pyconf | 4 +- products/PyQt.pyconf | 11 +---- products/compil_scripts/ParaView-5.9.0.bat | 22 +++------ products/compil_scripts/PyQt-5.15.bat | 40 ++++++++-------- products/compil_scripts/ispc-1.15.0.bat | 19 ++++++++ products/compil_scripts/sip-5.5.0.bat | 46 ++++--------------- products/env_scripts/PyQt.py | 6 ++- products/env_scripts/sip.py | 8 ++-- products/env_scripts/toml.py | 17 +++++++ products/ispc.pyconf | 8 +++- .../paraview.0009-ParaView_find_zlib.patch | 15 ++++++ ...0010-ParaView_windows_catalyst_cmake.patch | 29 ++++++++++++ products/toml.pyconf | 27 +++++++++++ 14 files changed, 165 insertions(+), 95 deletions(-) create mode 100644 products/compil_scripts/ispc-1.15.0.bat create mode 100644 products/env_scripts/toml.py create mode 100644 products/patches/paraview.0009-ParaView_find_zlib.patch create mode 100644 products/patches/paraview.0010-ParaView_windows_catalyst_cmake.patch create mode 100644 products/toml.pyconf diff --git a/applications/SALOME-master-windows.pyconf b/applications/SALOME-master-windows.pyconf index 7e00f23..8bc3f21 100644 --- a/applications/SALOME-master-windows.pyconf +++ b/applications/SALOME-master-windows.pyconf @@ -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' diff --git a/products/ParaView.pyconf b/products/ParaView.pyconf index 766f3fe..8068633 100755 --- a/products/ParaView.pyconf +++ b/products/ParaView.pyconf @@ -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' ] } diff --git a/products/PyQt.pyconf b/products/PyQt.pyconf index bf1179f..7f7f9d8 100644 --- a/products/PyQt.pyconf +++ b/products/PyQt.pyconf @@ -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 : diff --git a/products/compil_scripts/ParaView-5.9.0.bat b/products/compil_scripts/ParaView-5.9.0.bat index 54af247..a9bc2d1 100644 --- a/products/compil_scripts/ParaView-5.9.0.bat +++ b/products/compil_scripts/ParaView-5.9.0.bat @@ -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 ^ > Directory.Build.props - echo ^ >> Directory.Build.props - echo ^ >> Directory.Build.props - echo ^%PYTHON_ROOT_DIR:\=/%/libs^;%%(AdditionalLibraryDirectories)^ >> Directory.Build.props - echo ^ >> Directory.Build.props - echo ^ >> Directory.Build.props - echo ^ >> Directory.Build.props -) - echo. echo -------------------------------------------------------------------------- echo *** msbuild %MAKE_OPTIONS% ALL_BUILD.vcxproj /p:Configuration=%PRODUCT_BUILD_TYPE% /p:Platform=x64 diff --git a/products/compil_scripts/PyQt-5.15.bat b/products/compil_scripts/PyQt-5.15.bat index b1b2313..747ecf3 100644 --- a/products/compil_scripts/PyQt-5.15.bat +++ b/products/compil_scripts/PyQt-5.15.bat @@ -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 index 0000000..ae9fb27 --- /dev/null +++ b/products/compil_scripts/ispc-1.15.0.bat @@ -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 diff --git a/products/compil_scripts/sip-5.5.0.bat b/products/compil_scripts/sip-5.5.0.bat index 54cea46..3048aca 100644 --- a/products/compil_scripts/sip-5.5.0.bat +++ b/products/compil_scripts/sip-5.5.0.bat @@ -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 diff --git a/products/env_scripts/PyQt.py b/products/env_scripts/PyQt.py index 73db42d..17f9ddb 100644 --- a/products/env_scripts/PyQt.py +++ b/products/env_scripts/PyQt.py @@ -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): diff --git a/products/env_scripts/sip.py b/products/env_scripts/sip.py index eae92bf..23fa384 100644 --- a/products/env_scripts/sip.py +++ b/products/env_scripts/sip.py @@ -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 index 0000000..ac00d5d --- /dev/null +++ b/products/env_scripts/toml.py @@ -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 diff --git a/products/ispc.pyconf b/products/ispc.pyconf index 09ba1a8..6a9498a 100644 --- a/products/ispc.pyconf +++ b/products/ispc.pyconf @@ -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 index 0000000..980dc1c --- /dev/null +++ b/products/patches/paraview.0009-ParaView_find_zlib.patch @@ -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 index 0000000..4db1c33 --- /dev/null +++ b/products/patches/paraview.0010-ParaView_windows_catalyst_cmake.patch @@ -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 index 0000000..f6de9ac --- /dev/null +++ b/products/toml.pyconf @@ -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" + } +} -- 2.39.2