From 58966910ab08999e3cba2c8b0386eaae9d345b0e Mon Sep 17 00:00:00 2001 From: "U-IDSI0\\nghodban" Date: Mon, 28 Oct 2024 11:18:07 +0100 Subject: [PATCH] support msys2 --- applications/SALOME-master-mingw.pyconf | 216 +++++++++++++++++++++++ products/Babel.pyconf | 1 + products/Cython.pyconf | 1 + products/Jinja2.pyconf | 1 + products/Pillow.pyconf | 1 + products/PyQt.pyconf | 1 + products/Pygments.pyconf | 1 + products/Python.pyconf | 1 + products/Sphinx.pyconf | 1 + products/alabaster.pyconf | 1 + products/assimulo.pyconf | 2 +- products/boost.pyconf | 1 + products/certifi.pyconf | 1 + products/cftime.pyconf | 1 + products/chardet.pyconf | 1 + products/click.pyconf | 1 + products/cmake.pyconf | 1 + products/compil_scripts/assimulo.sh | 4 + products/cppunit.pyconf | 1 + products/cycler.pyconf | 1 + products/dateutil.pyconf | 1 + products/docutils.pyconf | 1 + products/doxygen.pyconf | 1 + products/eigen.pyconf | 1 + products/env_scripts/Python.py | 19 +- products/fftw.pyconf | 1 + products/freeimage.pyconf | 1 + products/freetype.pyconf | 4 + products/gdal.pyconf | 4 + products/gl2ps.pyconf | 4 + products/graphviz.pyconf | 1 + products/h5py.pyconf | 1 + products/hdf5.pyconf | 1 + products/idna.pyconf | 1 + products/imagesize.pyconf | 1 + products/kiwisolver.pyconf | 1 + products/lapack.pyconf | 1 + products/libxml2.pyconf | 1 + products/llvm.pyconf | 1 + products/markdown_it_py.pyconf | 1 + products/markupsafe.pyconf | 1 + products/matplotlib.pyconf | 1 + products/mdurl.pyconf | 1 + products/meshio.pyconf | 1 + products/metis.pyconf | 1 + products/netCDF4.pyconf | 1 + products/nlopt.pyconf | 1 + products/nose.pyconf | 1 + products/numpy.pyconf | 1 + products/numpydoc.pyconf | 1 + products/opencv.pyconf | 1 + products/openmpi.pyconf | 4 + products/packaging.pyconf | 1 + products/pandas.pyconf | 1 + products/petsc.pyconf | 8 + products/poetry.pyconf | 1 + products/poetry_core.pyconf | 1 + products/psutil.pyconf | 1 + products/pyparsing.pyconf | 1 + products/pyreadline.pyconf | 1 + products/pytest.pyconf | 1 + products/pytz.pyconf | 1 + products/qt.pyconf | 9 + products/qtpy.pyconf | 4 +- products/qwt.pyconf | 1 + products/requests.pyconf | 1 + products/rich.pyconf | 1 + products/salome_system.pyconf | 1 + products/scipy.pyconf | 1 + products/scotch.pyconf | 1 + products/setuptools.pyconf | 1 + products/sip.pyconf | 1 + products/six.pyconf | 1 + products/snowballstemmer.pyconf | 1 + products/sphinx_rtd_theme.pyconf | 1 + products/sphinxcontrib_websupport.pyconf | 1 + products/sphinxintl.pyconf | 1 + products/statsmodels.pyconf | 1 + products/swig.pyconf | 1 + products/tbb.pyconf | 4 + products/tcl.pyconf | 1 + products/tk.pyconf | 1 + products/toml.pyconf | 1 + products/urllib3.pyconf | 1 + 84 files changed, 346 insertions(+), 8 deletions(-) create mode 100644 applications/SALOME-master-mingw.pyconf diff --git a/applications/SALOME-master-mingw.pyconf b/applications/SALOME-master-mingw.pyconf new file mode 100644 index 0000000..c23af2a --- /dev/null +++ b/applications/SALOME-master-mingw.pyconf @@ -0,0 +1,216 @@ +#!/usr/bin/env python +#-*- coding:utf-8 -*- + +APPLICATION : +{ + name : 'SALOME-master' + workdir : $LOCAL.workdir + $VARS.sep + $VARS.dist + '-' + $APPLICATION.name + tag : 'master' + dev : 'no' + verbose :'no' + debug : 'no' + base : 'no' + python3 : 'yes' + platform : ["mingw-w64-x86_64"] + environ : + { + build : + { + CONFIGURATION_ROOT_DIR : $workdir + $VARS.sep + "SOURCES" + $VARS.sep + "CONFIGURATION" + RESTRICTED_ROOT_DIR : $workdir + $VARS.sep + "SOURCES" + $VARS.sep + "RESTRICTED" + SALOME_USE_64BIT_IDS : '1' + VTK_SMP_IMPLEMENTATION_TYPE : TBB # OpenMP # choose among: sequential / OpenMP / TBB switches + SALOME_GMSH_HEADERS_STD : '1' + } + launch : + { + PYTHONIOENCODING:"UTF_8", + SALOME_MODULES_ORDER:"SHAPER:SHAPERSTUDY:GEOM:SMESH", + ROOT_SALOME_INSTALL: '$PRODUCT_ROOT_DIR', + SALOME_ON_DEMAND: "HIDE" + } + SALOME_trace : "local" # local/file:.../with_logger + SALOME_MODULES : "SHAPER,SHAPERSTUDY,GEOM,SMESH,PARAVIS,YACS,JOBMANAGER" # specify the first modules to display in gui + } + products : + { + # PREREQUISITES : + alabaster : 'native' + assimulo : '3.5.2' + Babel : 'native' + BasicIterativeStatistics : 'v0.1.0' + boost : 'native' + CAS : {tag : 'CR780-SALOME-PATCH', section: 'version_CR780_SALOME_PATCH', base: 'no'} + catalyst: '2.0' + C3PO: 'v2.3' + certifi : 'native' + cftime: '1.6.3' + cgal : 'v5.6.1' + cgns : '4.2.0' + chardet : 'native' + click : 'native' + cmake : 'native' + cppunit : 'native' + cminpack: 'native' + cork : '5987de5' + cycler : 'native' + Cython : 'native' + dateutil : 'native' + docutils : 'native' + doxygen : 'native' + eigen : 'native' + FMILibrary : '2.0.3' + fftw : 'native' + freeimage : 'native' + freetype : 'native' + gl2ps : 'native' + gdal : 'native' + gmsh : '4.10.3_with_CAS_7.8' + graphviz : 'native' + h5py : 'native' + hdf5 : 'native' + idna : 'native' + imagesize : 'native' + irmb : '67d77b4' + Jinja2 : 'native' + kiwisolver : 'native' + lapack : 'native' + libigl : 'v2.5.0' + libxml2 : 'native' + llvm : 'native' + markupsafe : 'native' + matplotlib : 'native' + mcut : 'b5b0ec6' + mdurl : 'native' + markdown_it_py : 'native' + medfile : '4.1.1' + meshbooleanplugin : 'main' + MeshGems : '2.15-1' + meshio: 'native' + metis : 'native' + mmg : '5.6.0' + mmgplugin: 'main' + netgen : '5.3.1_with_CAS_7.8' + netcdf : 'native' + netCDF4: '1.6.4' + nlopt : 'native' + nose: 'native' + numpy : 'native' + numpydoc : 'native' + omniORB : '4.2.5' + omniORBpy : '4.2.5' + opencv : 'native' + openmpi: 'native' + openturns: '1.22' + packaging : 'native' + pandas : 'native' + ParaView : {tag:'5.11.0', base: 'no', section: 'version_5_11_0_MPI', hpc: 'yes'} + PERSALYS : 'v16.0.1' + petsc : 'native' + Pillow : 'native' + planegcs : '0.18-3cb6890' + psutil : 'native' + poetry : "native" + poetry_core : 'native' + pyyaml: 'native' + PyFMI : '2.6' + Pygments : 'native' + pyparsing : 'native' + PyQt : 'native' + pyqwt: {tag : '0.12.1', base : 'no', section : 'version_0_12_1_no_pip', hpc: 'no'} + pyreadline : 'native' + pytest : 'native' + Python : 'native' + pytz : 'native' + qt : 'native' + qtpy : 'native' + qwt : 'native' + requests : 'native' + rich : 'native' + scipy : 'native' + scotch : 'native' + setuptools : 'native' + sip : 'native' + six : 'native' + snowballstemmer : 'native' + Sphinx : 'native' + sphinxcontrib_websupport : 'native' + sphinxintl: 'native' + sphinx_rtd_theme : 'native' + statsmodels : 'native' + swig : '4.0.2' + tbb : 'native' + tcl : 'native' + tk : 'native' + toml: 'native' + urllib3 : 'native' + + # SALOME MODULES : + 'CONFIGURATION' + 'SALOME' + 'SHAPER' + 'SHAPERSTUDY' + 'RESTRICTED' + 'LIBBATCH' : 'V2_5_0' + 'KERNEL' + 'MEDCOUPLING' : {tag:'master', base: 'no', section: 'default_MPI', hpc: 'yes'} + 'GUI' + 'GEOM' + 'SMESH' + 'NETGENPLUGIN' + 'BLSURFPLUGIN' + 'GHS3DPLUGIN' + 'HYBRIDPLUGIN' + 'HexoticPLUGIN' + 'GMSHPLUGIN' + 'HEXABLOCK' + 'HEXABLOCKPLUGIN' + 'HOMARD' + 'FIELDS' + 'PARAVIS': {tag:'master', base: 'no', section: 'default_MPI', hpc: 'yes'} + 'JOBMANAGER' + 'YACS' + 'YACSGEN' + 'DOCUMENTATION' + 'SAMPLES' + 'COMPONENT' + 'PYCALCULATOR' + 'CALCULATOR' + 'HELLO' + 'PYHELLO' + 'EFICAS' + 'EFICAS_TOOLS' + 'PY2CPP' + 'ADAO' + 'ADAO_INTERFACE' + 'PARAVISADDONS' + 'OPENTURNS_SALOME' + 'YDEFX' + 'pmml' + 'SALOMEBOOTSTRAP' + 'SOLVERLAB' + 'TopIIVolMesh' + #'TESTBASE' + 'CEATESTBASE' : 'SalomeV9' + } + profile : + { + launcher_name : "salome" + } + test_base : + { + name : "SALOME" + tag : "SalomeV9" + } + properties : + { + mesa_launcher_in_package : "yes" + git_server : 'tuleap' + pip : 'yes' + pip_install_dir : 'python' + single_install_dir : "no" + } +} +__overwrite__ : +[ +] diff --git a/products/Babel.pyconf b/products/Babel.pyconf index b1b13fa..0e6136b 100644 --- a/products/Babel.pyconf +++ b/products/Babel.pyconf @@ -10,6 +10,7 @@ default : rpm_dev : [] apt : ["python3-babel"] apt_dev : [] + pacman : ["mingw-w64-x86_64-python-babel"] } environ : { diff --git a/products/Cython.pyconf b/products/Cython.pyconf index 9c25d8d..0ac1ea3 100755 --- a/products/Cython.pyconf +++ b/products/Cython.pyconf @@ -10,6 +10,7 @@ default : rpm_dev : [] apt : ["python3-pytest-cython"] apt_dev : [] + pacman : ["mingw-w64-x86_64-cython"] } environ : { diff --git a/products/Jinja2.pyconf b/products/Jinja2.pyconf index 6a370d5..e720301 100644 --- a/products/Jinja2.pyconf +++ b/products/Jinja2.pyconf @@ -10,6 +10,7 @@ default : rpm_dev : [] apt : ["python3-jinja2"] apt_dev : [] + pacman : ["mingw-w64-x86_64-python-jinja"] } environ : { diff --git a/products/Pillow.pyconf b/products/Pillow.pyconf index d6535b0..6093817 100644 --- a/products/Pillow.pyconf +++ b/products/Pillow.pyconf @@ -10,6 +10,7 @@ default : rpm_dev : [] apt : ["python3-pil"] apt_dev : [] + pacman : ["mingw-w64-x86_64-python-pillow"] } environ : { diff --git a/products/PyQt.pyconf b/products/PyQt.pyconf index 6a8f8e5..e7e382a 100644 --- a/products/PyQt.pyconf +++ b/products/PyQt.pyconf @@ -10,6 +10,7 @@ default : rpm_dev : ["python3-qt5-devel"] # contains qtsvg apt : ["python3-pyqt5", "python3-pyqt5.qtsvg"] apt_dev : ["pyqt5-dev", "pyqt5-dev-tools"] + pacman : ["mingw-w64-x86_64-python-pyqt5", "mingw-w64-x86_64-pyqt-builder", "mingw-w64-x86_64-python-pyqtgraph"] } environ : { diff --git a/products/Pygments.pyconf b/products/Pygments.pyconf index 5a29548..7987156 100644 --- a/products/Pygments.pyconf +++ b/products/Pygments.pyconf @@ -11,6 +11,7 @@ default : rpm_dev : [] apt : ["python3-pygments"] apt_dev : [] + pacman : ["mingw-w64-x86_64-python-pygments"] } environ : { diff --git a/products/Python.pyconf b/products/Python.pyconf index dda3111..f7499c4 100755 --- a/products/Python.pyconf +++ b/products/Python.pyconf @@ -12,6 +12,7 @@ default : rpm_dev : [] apt : [] apt_dev : [] + pacman : ["mingw-w64-x86_64-python"] } environ : { diff --git a/products/Sphinx.pyconf b/products/Sphinx.pyconf index b6e865c..f91b40a 100644 --- a/products/Sphinx.pyconf +++ b/products/Sphinx.pyconf @@ -11,6 +11,7 @@ default : rpm_dev : [] apt : ["python3-sphinx"] apt_dev : [] + pacman : ["mingw-w64-x86_64-python-sphinx"] } environ : { diff --git a/products/alabaster.pyconf b/products/alabaster.pyconf index dc61976..1fc6d95 100644 --- a/products/alabaster.pyconf +++ b/products/alabaster.pyconf @@ -10,6 +10,7 @@ default : rpm_dev : [] apt : ["python3-alabaster"] apt_dev : [] + pacman : ["mingw-w64-x86_64-python-sphinx-alabaster-theme"] } environ : { diff --git a/products/assimulo.pyconf b/products/assimulo.pyconf index 40379cf..6992b9d 100644 --- a/products/assimulo.pyconf +++ b/products/assimulo.pyconf @@ -12,7 +12,7 @@ default : opt_dep: ['sundials'] source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + "assimulo" build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + "assimulo" - install_dir : 'base' + #install_dir : 'base' properties: { incremental : "yes" diff --git a/products/boost.pyconf b/products/boost.pyconf index 96373e7..9b9ce41 100644 --- a/products/boost.pyconf +++ b/products/boost.pyconf @@ -10,6 +10,7 @@ default : rpm_dev : ["boost-devel"] apt : [] apt_dev : ["libboost-all-dev"] + pacman : ["mingw-w64-x86_64-boost"] } environ : { diff --git a/products/certifi.pyconf b/products/certifi.pyconf index 3ce065e..da0aa82 100755 --- a/products/certifi.pyconf +++ b/products/certifi.pyconf @@ -10,6 +10,7 @@ default : rpm_dev : [] apt : ["python3-certifi"] apt_dev : [] + pacman : ["mingw-w64-x86_64-python-certifi"] } environ : { diff --git a/products/cftime.pyconf b/products/cftime.pyconf index 3d0afd9..38c33a2 100644 --- a/products/cftime.pyconf +++ b/products/cftime.pyconf @@ -11,6 +11,7 @@ default : rpm_dev : [] apt : ['python3-cftime'] apt_dev : [] + pacman : [] } environ : { diff --git a/products/chardet.pyconf b/products/chardet.pyconf index 69c88e9..b0545c5 100755 --- a/products/chardet.pyconf +++ b/products/chardet.pyconf @@ -10,6 +10,7 @@ default : rpm_dev : [] apt : ["python3-chardet"] apt_dev : [] + pacman : ["mingw-w64-x86_64-python-chardet"] } environ : { diff --git a/products/click.pyconf b/products/click.pyconf index 3fc92ef..1435878 100644 --- a/products/click.pyconf +++ b/products/click.pyconf @@ -10,6 +10,7 @@ default : rpm_dev : [] apt : ["python3-click"] apt_dev : [] + pacman : ["mingw-w64-x86_64-python-click"] } environ : { diff --git a/products/cmake.pyconf b/products/cmake.pyconf index ad02719..6be501e 100644 --- a/products/cmake.pyconf +++ b/products/cmake.pyconf @@ -11,6 +11,7 @@ default : rpm_dev : ["cmake"] apt : ["cmake"] apt_dev : [] + pacman : ["mingw-w64-x86_64-cmake"] } environ : { diff --git a/products/compil_scripts/assimulo.sh b/products/compil_scripts/assimulo.sh index 86a3de1..0815803 100755 --- a/products/compil_scripts/assimulo.sh +++ b/products/compil_scripts/assimulo.sh @@ -4,6 +4,10 @@ echo "########################################################################## echo Assimulo $VERSION echo "##########################################################################" +if [ ! -d $PRODUCT_INSTALL ]; then + mkdir -p $PRODUCT_INSTALL +fi + cd $BUILD_DIR cp -R $SOURCE_DIR/* . diff --git a/products/cppunit.pyconf b/products/cppunit.pyconf index 557629e..56d649c 100644 --- a/products/cppunit.pyconf +++ b/products/cppunit.pyconf @@ -10,6 +10,7 @@ default : rpm_dev : ["cppunit-devel"] apt : [] apt_dev : ["libcppunit-dev"] + pacman : ["mingw-w64-x86_64-cppunit"] } environ : { diff --git a/products/cycler.pyconf b/products/cycler.pyconf index d6e1a2f..e9682f5 100644 --- a/products/cycler.pyconf +++ b/products/cycler.pyconf @@ -10,6 +10,7 @@ default : rpm_dev : [] apt : ["python3-cycler"] apt_dev : [] + pacman : ["mingw-w64-x86_64-python-cycler"] } archive_info: { diff --git a/products/dateutil.pyconf b/products/dateutil.pyconf index 5b4f4bd..b107c51 100644 --- a/products/dateutil.pyconf +++ b/products/dateutil.pyconf @@ -10,6 +10,7 @@ default : rpm_dev : [] apt : ["python3-dateutil"] apt_dev : [] + pacman : ["mingw-w64-x86_64-python-dateutil"] } environ : { diff --git a/products/docutils.pyconf b/products/docutils.pyconf index f4843fb..1ed0743 100644 --- a/products/docutils.pyconf +++ b/products/docutils.pyconf @@ -10,6 +10,7 @@ default : rpm_dev : [] apt : ["python3-docutils"] apt_dev : [] + pacman : ["mingw-w64-x86_64-python-docutils"] } environ : { diff --git a/products/doxygen.pyconf b/products/doxygen.pyconf index aec3a71..c801afb 100755 --- a/products/doxygen.pyconf +++ b/products/doxygen.pyconf @@ -9,6 +9,7 @@ default : rpm_dev : ["doxygen"] apt : [] apt_dev : ["doxygen"] + pacman : ["mingw-w64-x86_64-doxygen"] } environ : { diff --git a/products/eigen.pyconf b/products/eigen.pyconf index 7e494bc..41308fe 100644 --- a/products/eigen.pyconf +++ b/products/eigen.pyconf @@ -10,6 +10,7 @@ default : rpm_dev : ["eigen3-devel"] apt : [] apt_dev : ["libeigen3-dev"] + pacman : ["mingw-w64-x86_64-eigen3"] } environ : { diff --git a/products/env_scripts/Python.py b/products/env_scripts/Python.py index fc2f5fe..c5bc828 100644 --- a/products/env_scripts/Python.py +++ b/products/env_scripts/Python.py @@ -42,8 +42,17 @@ def set_nativ_env(env): env.set('PYTHON_ROOT_DIR', "/usr") env.set('PYTHON_INCLUDE', "%s" % sysconfig.get_paths()['include']) env.set('PYTHON_VERSION', sysconfig.get_python_version()) - if sys.version_info[0] == 3 : - env.set('PYTHONBIN','/usr/bin/python3') - else: - env.set('PYTHONBIN','/usr/bin/python2') - + try: + import distro + if distro.name().lower().startswith("mingw64_nt"): + env.set('PYTHONBIN', '/mingw64/bin/python3') + else: + if sys.version_info[0] == 3 : + env.set('PYTHONBIN','/usr/bin/python3') + else: + env.set('PYTHONBIN','/usr/bin/python2') + except: + if sys.version_info[0] == 3 : + env.set('PYTHONBIN','/usr/bin/python3') + else: + env.set('PYTHONBIN','/usr/bin/python2') diff --git a/products/fftw.pyconf b/products/fftw.pyconf index 6b9f294..f1d85bb 100644 --- a/products/fftw.pyconf +++ b/products/fftw.pyconf @@ -10,6 +10,7 @@ default : rpm_dev : ["fftw-devel"] apt : ["fftw"] apt_dev : ["fftw-dev"] + pacman : ["mingw-w64-x86_64-fftw"] } archive_info: { diff --git a/products/freeimage.pyconf b/products/freeimage.pyconf index 6520242..5a3042d 100644 --- a/products/freeimage.pyconf +++ b/products/freeimage.pyconf @@ -10,6 +10,7 @@ default : rpm_dev : ["freeimage-devel"] apt : ["libfreeimage3"] apt_dev : ["libfreeimage-dev"] + pacman : ["mingw-w64-x86_64-freeimage"] } patches : [] environ : diff --git a/products/freetype.pyconf b/products/freetype.pyconf index 5845a1b..9859b29 100755 --- a/products/freetype.pyconf +++ b/products/freetype.pyconf @@ -4,6 +4,10 @@ default : build_source : "script" compil_script : $name + $VARS.scriptExtension get_source : "archive" + system_info : + { + pacman : ["mingw-w64-x86_64-freetype"] + } environ : { env_script : $name + ".py" diff --git a/products/gdal.pyconf b/products/gdal.pyconf index 53049d2..d575cc5 100644 --- a/products/gdal.pyconf +++ b/products/gdal.pyconf @@ -4,6 +4,10 @@ default : build_source : "script" compil_script : $name + $VARS.scriptExtension get_source : "archive" + system_info : + { + pacman : ["mingw-w64-x86_64-gdal", "mingw-w64-x86_64-python-gdal"] + } environ : { env_script : $name + ".py" diff --git a/products/gl2ps.pyconf b/products/gl2ps.pyconf index 9a83399..fc80242 100755 --- a/products/gl2ps.pyconf +++ b/products/gl2ps.pyconf @@ -6,6 +6,10 @@ default : # to disable link with GLUT library and suppress '-DGLUT_FOUND=OFF' option cmake_options : "-DENABLE_PNG=ON -DENABLE_ZLIB=ON -DENABLE_GLUT=OFF" get_source : "archive" + system_info : + { + pacman : ["mingw-w64-x86_64-gl2ps"] + } environ : { env_script : $name + ".py" diff --git a/products/graphviz.pyconf b/products/graphviz.pyconf index c6d3859..15fdd53 100755 --- a/products/graphviz.pyconf +++ b/products/graphviz.pyconf @@ -10,6 +10,7 @@ default : rpm_dev : ["graphviz-devel"] apt : ["graphviz"] apt_dev : ["libgraphviz-dev"] + pacman : ["mingw-w64-x86_64-graphviz"] } environ : { diff --git a/products/h5py.pyconf b/products/h5py.pyconf index cd85a27..45f234a 100644 --- a/products/h5py.pyconf +++ b/products/h5py.pyconf @@ -11,6 +11,7 @@ default : rpm_dev : [] apt : ["python3-h5py"] apt_dev : [] + pacman : ["mingw-w64-x86_64-python-h5py"] } environ : { diff --git a/products/hdf5.pyconf b/products/hdf5.pyconf index 1dd2ebd..1b28e00 100755 --- a/products/hdf5.pyconf +++ b/products/hdf5.pyconf @@ -10,6 +10,7 @@ default : rpm_dev : ["hdf5-devel"] apt : [] apt_dev : ["libhdf5-dev"] + pacman : ["mingw-w64-x86_64-hdf5"] } environ : { diff --git a/products/idna.pyconf b/products/idna.pyconf index b196ff1..21d95e9 100755 --- a/products/idna.pyconf +++ b/products/idna.pyconf @@ -10,6 +10,7 @@ default : rpm_dev : [] apt : ["python3-idna"] apt_dev : [] + pacman : ["mingw-w64-x86_64-python-idna"] } environ : { diff --git a/products/imagesize.pyconf b/products/imagesize.pyconf index cf40b3e..706e694 100755 --- a/products/imagesize.pyconf +++ b/products/imagesize.pyconf @@ -10,6 +10,7 @@ default : rpm_dev : [] apt : ["python3-imagesize"] apt_dev : [] + pacman : ["mingw-w64-x86_64-python-imagesize"] } environ : { diff --git a/products/kiwisolver.pyconf b/products/kiwisolver.pyconf index 662832d..67dc0eb 100755 --- a/products/kiwisolver.pyconf +++ b/products/kiwisolver.pyconf @@ -10,6 +10,7 @@ default : rpm_dev : [] apt : ["python3-kiwisolver"] apt_dev : [] + pacman : ["mingw-w64-x86_64-python-kiwisolver"] } environ : { diff --git a/products/lapack.pyconf b/products/lapack.pyconf index 5c8e445..84d270d 100644 --- a/products/lapack.pyconf +++ b/products/lapack.pyconf @@ -10,6 +10,7 @@ default : rpm_dev : ["lapack-devel"] apt : ["liblapack3", "liblapacke"] apt_dev : ["liblapack-dev", "liblapacke-dev"] + pacman : ["mingw-w64-x86_64-blas", "mingw-w64-x86_64-cblas", "mingw-w64-x86_64-lapack", "mingw-w64-x86_64-lapacke"] } environ : { diff --git a/products/libxml2.pyconf b/products/libxml2.pyconf index 20d27bb..55ba5c5 100644 --- a/products/libxml2.pyconf +++ b/products/libxml2.pyconf @@ -10,6 +10,7 @@ default : rpm_dev : ["libxml2-devel"] apt : ["libxml2"] apt_dev : ["libxml2-dev"] + pacman : ["mingw-w64-x86_64-libxml2"] } archive_info: { diff --git a/products/llvm.pyconf b/products/llvm.pyconf index d7a733c..51766e4 100644 --- a/products/llvm.pyconf +++ b/products/llvm.pyconf @@ -10,6 +10,7 @@ default : rpm_dev : ["llvm-devel", "clang-devel"] apt : ["clang"] apt_dev : ["llvm-dev"] + pacman : ["mingw-w64-x86_64-llvm", "mingw-w64-x86_64-clang"] } environ : { diff --git a/products/markdown_it_py.pyconf b/products/markdown_it_py.pyconf index 2e00dc8..e18a216 100644 --- a/products/markdown_it_py.pyconf +++ b/products/markdown_it_py.pyconf @@ -12,6 +12,7 @@ default : rpm_dev : [] apt : ['python3-markdown-it'] apt_dev : [] + pacman : ["mingw-w64-x86_64-python-markdown-it-py"] } environ : { diff --git a/products/markupsafe.pyconf b/products/markupsafe.pyconf index 2b26e0d..d1d1266 100644 --- a/products/markupsafe.pyconf +++ b/products/markupsafe.pyconf @@ -10,6 +10,7 @@ default : rpm_dev : [] apt : ["python3-markupsafe"] apt_dev : [] + pacman : ["mingw-w64-x86_64-python-markupsafe"] } environ : { diff --git a/products/matplotlib.pyconf b/products/matplotlib.pyconf index 2626027..2dd812c 100755 --- a/products/matplotlib.pyconf +++ b/products/matplotlib.pyconf @@ -10,6 +10,7 @@ default : rpm_dev : [] apt : ["python3-matplotlib"] apt_dev : [] + pacman : ["mingw-w64-x86_64-python-matplotlib"] } environ : { diff --git a/products/mdurl.pyconf b/products/mdurl.pyconf index 8de90e4..09f86c7 100644 --- a/products/mdurl.pyconf +++ b/products/mdurl.pyconf @@ -11,6 +11,7 @@ default : rpm_dev : [] apt : ['python3-mdurl'] apt_dev : [] + pacman : ["mingw-w64-x86_64-python-mdurl"] } environ : { diff --git a/products/meshio.pyconf b/products/meshio.pyconf index b3ce9fd..d8fff97 100644 --- a/products/meshio.pyconf +++ b/products/meshio.pyconf @@ -11,6 +11,7 @@ default : rpm_dev : [] apt : ['python3-meshio', 'meshio-tools'] apt_dev : [] + pacman : ["mingw-w64-x86_64-python-meshio"] } environ : { diff --git a/products/metis.pyconf b/products/metis.pyconf index c2b705d..76da34a 100644 --- a/products/metis.pyconf +++ b/products/metis.pyconf @@ -10,6 +10,7 @@ default : rpm_dev : ["metis-devel"] apt : ["libmetis5"] apt_dev : ["libmetis-dev"] + pacman : ["mingw-w64-x86_64-metis"] } environ : { diff --git a/products/netCDF4.pyconf b/products/netCDF4.pyconf index f82ff06..49eb711 100644 --- a/products/netCDF4.pyconf +++ b/products/netCDF4.pyconf @@ -11,6 +11,7 @@ default : rpm_dev : [] apt : ['python3-netcdf4'] apt_dev : [] + pacman : [] } environ : { diff --git a/products/nlopt.pyconf b/products/nlopt.pyconf index 9f22871..37d21f6 100644 --- a/products/nlopt.pyconf +++ b/products/nlopt.pyconf @@ -10,6 +10,7 @@ default : rpm_dev : ["NLopt-devel"] apt : ["libnlopt0","libnlopt-cxx0","python3-nlopt"] apt_dev : ["libnlopt-dev","libnlopt-cxx-dev" ] + pacman : ["mingw-w64-x86_64-nlopt"] } environ : { diff --git a/products/nose.pyconf b/products/nose.pyconf index d45963b..e2e71a5 100644 --- a/products/nose.pyconf +++ b/products/nose.pyconf @@ -10,6 +10,7 @@ default : rpm_dev : [] apt : ["python3-nose"] apt_dev : [] + pacman : ["mingw-w64-x86_64-python-nose"] } archive_info: { diff --git a/products/numpy.pyconf b/products/numpy.pyconf index a2786e0..829a277 100755 --- a/products/numpy.pyconf +++ b/products/numpy.pyconf @@ -10,6 +10,7 @@ default : rpm_dev : [] apt : ["python3-numpy"] apt_dev : [] + pacman : ["mingw-w64-x86_64-python-numpy"] } environ : { diff --git a/products/numpydoc.pyconf b/products/numpydoc.pyconf index 7fb9022..eeca096 100644 --- a/products/numpydoc.pyconf +++ b/products/numpydoc.pyconf @@ -10,6 +10,7 @@ default : rpm_dev : [] apt : ["python3-numpydoc"] apt_dev : [] + pacman : ["mingw-w64-x86_64-python-numpydoc"] } archive_info: { diff --git a/products/opencv.pyconf b/products/opencv.pyconf index efbb175..8c31374 100644 --- a/products/opencv.pyconf +++ b/products/opencv.pyconf @@ -10,6 +10,7 @@ default : rpm_dev : ["opencv-devel"] apt : ["python3-opencv"] apt_dev : ["libopencv-dev"] + pacman : ["mingw-w64-x86_64-opencv", "mingw-w64-x86_64-python-opencv"] } environ : { diff --git a/products/openmpi.pyconf b/products/openmpi.pyconf index cfc6ac4..5189a24 100644 --- a/products/openmpi.pyconf +++ b/products/openmpi.pyconf @@ -4,6 +4,10 @@ default : build_source : "script" compil_script : $name + ".sh" get_source : "archive" + system_info : + { + pacman : ["mingw-w64-x86_64-msmpi"] + } environ : { env_script : $name + ".py" diff --git a/products/packaging.pyconf b/products/packaging.pyconf index fd39a56..a216396 100755 --- a/products/packaging.pyconf +++ b/products/packaging.pyconf @@ -10,6 +10,7 @@ default : rpm_dev : [] apt : ["python3-packaging"] apt_dev : [] + pacman : ["mingw-w64-x86_64-python-packaging"] } environ : { diff --git a/products/pandas.pyconf b/products/pandas.pyconf index 1073b86..133c425 100644 --- a/products/pandas.pyconf +++ b/products/pandas.pyconf @@ -10,6 +10,7 @@ default : rpm_dev : [] apt : ["python3-pandas"] apt_dev : [] + pacman : ["mingw-w64-x86_64-python-pandas"] } environ : { diff --git a/products/petsc.pyconf b/products/petsc.pyconf index 3eefc52..462518d 100644 --- a/products/petsc.pyconf +++ b/products/petsc.pyconf @@ -4,6 +4,14 @@ default : build_source : "script" compil_script : $name + ".sh" get_source : "archive" + system_info : + { + rpm : [] + rpm_dev : [] + apt : [] + apt_dev : [] + pacman : ["mingw-w64-x86_64-petsc", "mingw-w64-x86_64-petsc-build"] + } environ : { env_script : $name + ".py" diff --git a/products/poetry.pyconf b/products/poetry.pyconf index 46fd183..2ae7c8d 100644 --- a/products/poetry.pyconf +++ b/products/poetry.pyconf @@ -12,6 +12,7 @@ default : rpm_dev : [] apt : [] apt_dev : [] + pacman : ["mingw-w64-x86_64-python-poetry"] } environ : { diff --git a/products/poetry_core.pyconf b/products/poetry_core.pyconf index 4611bfe..aa80d5c 100644 --- a/products/poetry_core.pyconf +++ b/products/poetry_core.pyconf @@ -12,6 +12,7 @@ default : rpm_dev : [] apt : [] apt_dev : [] + pacman : ["mingw-w64-x86_64-python-poetry-core"] } environ : { diff --git a/products/psutil.pyconf b/products/psutil.pyconf index 3fa843b..8e01531 100755 --- a/products/psutil.pyconf +++ b/products/psutil.pyconf @@ -10,6 +10,7 @@ default : rpm_dev : [] apt : ["python3-psutil"] apt_dev : [] + pacman : ["mingw-w64-x86_64-python-psutil"] } environ : { diff --git a/products/pyparsing.pyconf b/products/pyparsing.pyconf index 155e6be..a1acb22 100644 --- a/products/pyparsing.pyconf +++ b/products/pyparsing.pyconf @@ -10,6 +10,7 @@ default : rpm_dev : [] apt : ["python3-pyparsing"] apt_dev : [] + pacman : ["mingw-w64-x86_64-python-pyparsing"] } environ : { diff --git a/products/pyreadline.pyconf b/products/pyreadline.pyconf index 79d0147..4af4bfd 100755 --- a/products/pyreadline.pyconf +++ b/products/pyreadline.pyconf @@ -10,6 +10,7 @@ default : rpm_dev : [] apt : ["readline-common"] apt_dev : [] + pacman : ["mingw-w64-x86_64-readline", "mingw-w64-x86_64-python-pyreadline3"] } environ : { diff --git a/products/pytest.pyconf b/products/pytest.pyconf index 89b5a12..05b9f17 100644 --- a/products/pytest.pyconf +++ b/products/pytest.pyconf @@ -12,6 +12,7 @@ default : rpm_dev : [] apt : ['python3-pytest'] apt_dev : [] + pacman : ["mingw-w64-x86_64-python-pytest"] } environ : { diff --git a/products/pytz.pyconf b/products/pytz.pyconf index 7aa88f1..71c15e1 100644 --- a/products/pytz.pyconf +++ b/products/pytz.pyconf @@ -10,6 +10,7 @@ default : rpm_dev : [] apt : ["python3-tz"] apt_dev : [] + pacman : ["mingw-w64-x86_64-python-pytz"] } environ : { diff --git a/products/qt.pyconf b/products/qt.pyconf index 69cd272..ae0b252 100644 --- a/products/qt.pyconf +++ b/products/qt.pyconf @@ -4,6 +4,15 @@ default: build_source : "script" compil_script : $name + $VARS.scriptExtension get_source : "archive" + system_info : + { + rpm : [] + rpm_dev : [] + apt : [] + apt_dev : [] + pacman : ["mingw-w64-x86_64-qt5-base"] + } + environ : { env_script : $name + ".py" diff --git a/products/qtpy.pyconf b/products/qtpy.pyconf index 9fff776..ab6dd29 100644 --- a/products/qtpy.pyconf +++ b/products/qtpy.pyconf @@ -8,15 +8,15 @@ default : { archive_prefix : "QtPy" } - - patches : [] system_info : { rpm : [] rpm_dev : [] apt : ['python3-qtpy'] apt_dev : [] + pacman : ["mingw-w64-x86_64-python-qtpy"] } + patches : [] environ : { env_script : "qtpy.py" diff --git a/products/qwt.pyconf b/products/qwt.pyconf index 0ae4e56..0e467c1 100644 --- a/products/qwt.pyconf +++ b/products/qwt.pyconf @@ -10,6 +10,7 @@ default : rpm_dev : ["qwt-qt5-devel"] apt : ["libqwt-qt5-6"] apt_dev : ["libqwt-qt5-dev"] + pacman : ["mingw-w64-x86_64-qwt-qt5"] } environ : { diff --git a/products/requests.pyconf b/products/requests.pyconf index 9fb7a7b..7819f46 100755 --- a/products/requests.pyconf +++ b/products/requests.pyconf @@ -10,6 +10,7 @@ default : rpm_dev : [] apt : ["python3-requests"] apt_dev : [] + pacman : ["mingw-w64-x86_64-python-requests"] } environ : { diff --git a/products/rich.pyconf b/products/rich.pyconf index 39db5f7..cd81e32 100644 --- a/products/rich.pyconf +++ b/products/rich.pyconf @@ -11,6 +11,7 @@ default : rpm_dev : [] apt : ['python3-rich'] apt_dev : [] + pacman : ["mingw-w64-x86_64-python-rich"] } environ : { diff --git a/products/salome_system.pyconf b/products/salome_system.pyconf index cba6e64..00dc21f 100644 --- a/products/salome_system.pyconf +++ b/products/salome_system.pyconf @@ -32,6 +32,7 @@ default : "libxi-dev", "libxt-dev", "libxmu-dev", "libxpm-dev", "libxft-dev", "automake", "libtool", "libjpeg-dev", "cmake", "libicu-dev", "libopenmpi-dev", "libreadline-dev", "libhwloc-dev", "libsqlite3-dev", "libcurl4-openssl-dev", "libxt-dev", "libxcursor-dev", "libtbb-dev"] + pacman : [] # specific to some platform(s) "CO7" : diff --git a/products/scipy.pyconf b/products/scipy.pyconf index 9eefb6f..8472989 100755 --- a/products/scipy.pyconf +++ b/products/scipy.pyconf @@ -11,6 +11,7 @@ default : rpm_dev : [] apt : ["python3-scipy"] apt_dev : [] + pacman : ["mingw-w64-x86_64-python-scipy"] } environ : { diff --git a/products/scotch.pyconf b/products/scotch.pyconf index d18f265..75ad047 100644 --- a/products/scotch.pyconf +++ b/products/scotch.pyconf @@ -10,6 +10,7 @@ default : rpm_dev : ["scotch-devel"] apt : [] apt_dev : ["libscotch-dev"] + pacman : ["mingw-w64-x86_64-scotch"] } environ : { diff --git a/products/setuptools.pyconf b/products/setuptools.pyconf index 5e3bc19..256868e 100644 --- a/products/setuptools.pyconf +++ b/products/setuptools.pyconf @@ -10,6 +10,7 @@ default : rpm_dev : [] apt : ["python3-setuptools"] apt_dev : [] + pacman : ["mingw-w64-x86_64-python-setuptools"] } environ : { diff --git a/products/sip.pyconf b/products/sip.pyconf index 4da50ed..817df2a 100644 --- a/products/sip.pyconf +++ b/products/sip.pyconf @@ -11,6 +11,7 @@ default : rpm_dev : ["python3-sip-devel"] apt : ["python3-sip"] apt_dev : ["python3-sip-dev"] + pacman : ["mingw-w64-x86_64-sip", "mingw-w64-x86_64-pyqt5-sip"] } environ : { diff --git a/products/six.pyconf b/products/six.pyconf index d687fc3..b1bdc2b 100644 --- a/products/six.pyconf +++ b/products/six.pyconf @@ -11,6 +11,7 @@ default : rpm_dev : [] apt : ["python3-six"] apt_dev : [] + pacman : ["mingw-w64-x86_64-python-six"] } environ : { diff --git a/products/snowballstemmer.pyconf b/products/snowballstemmer.pyconf index eebcc58..a377ce1 100644 --- a/products/snowballstemmer.pyconf +++ b/products/snowballstemmer.pyconf @@ -10,6 +10,7 @@ default : rpm_dev : [] apt : ["python3-stemmer"] apt_dev : [] + pacman : ["mingw-w64-x86_64-python-snowballstemmer"] } environ : { diff --git a/products/sphinx_rtd_theme.pyconf b/products/sphinx_rtd_theme.pyconf index c80674a..49ca228 100644 --- a/products/sphinx_rtd_theme.pyconf +++ b/products/sphinx_rtd_theme.pyconf @@ -10,6 +10,7 @@ default : rpm_dev : [] apt : ["python3-sphinx-rtd-theme"] apt_dev : [] + pacman : ["mingw-w64-x86_64-python-sphinx_rtd_theme"] } environ : { diff --git a/products/sphinxcontrib_websupport.pyconf b/products/sphinxcontrib_websupport.pyconf index 5870156..94dc7f8 100755 --- a/products/sphinxcontrib_websupport.pyconf +++ b/products/sphinxcontrib_websupport.pyconf @@ -10,6 +10,7 @@ default : rpm_dev : [] apt : ["python3-sphinxcontrib.websupport"] apt_dev : [] + pacman : ["mingw-w64-x86_64-python-sphinxcontrib-websupport"] } environ : { diff --git a/products/sphinxintl.pyconf b/products/sphinxintl.pyconf index e87df9b..a59a22b 100644 --- a/products/sphinxintl.pyconf +++ b/products/sphinxintl.pyconf @@ -10,6 +10,7 @@ default : rpm_dev : [] apt : ["sphinx-intl"] apt_dev : [] + pacman : [] } environ : { diff --git a/products/statsmodels.pyconf b/products/statsmodels.pyconf index b022a54..31bc737 100644 --- a/products/statsmodels.pyconf +++ b/products/statsmodels.pyconf @@ -10,6 +10,7 @@ default : rpm_dev : ['python3-statsmodels'] apt : ['python3-statsmodels'] apt_dev : ['python3-statsmodels'] + pacman : ["mingw-w64-x86_64-python-statsmodels"] } environ : { diff --git a/products/swig.pyconf b/products/swig.pyconf index 756b517..85ceb9c 100644 --- a/products/swig.pyconf +++ b/products/swig.pyconf @@ -10,6 +10,7 @@ default : rpm_dev : ["swig"] apt : [] apt_dev : ["swig"] + pacman : ["mingw-w64-x86_64-swig"] } environ : { diff --git a/products/tbb.pyconf b/products/tbb.pyconf index b2b348a..22d76c0 100644 --- a/products/tbb.pyconf +++ b/products/tbb.pyconf @@ -4,6 +4,10 @@ default : build_source : "script" compil_script : $name + $VARS.scriptExtension get_source : "archive" + system_info : + { + pacman : ["mingw-w64-x86_64-tbb"] + } environ : { env_script : $name + ".py" diff --git a/products/tcl.pyconf b/products/tcl.pyconf index 501dcfc..8076039 100644 --- a/products/tcl.pyconf +++ b/products/tcl.pyconf @@ -10,6 +10,7 @@ default : rpm_dev : ["tcl-devel"] apt : ["libtcl"] apt_dev : ["tcl-dev"] + pacman : ["mingw-w64-x86_64-tcl"] } environ : { diff --git a/products/tk.pyconf b/products/tk.pyconf index 8885b38..6639d31 100644 --- a/products/tk.pyconf +++ b/products/tk.pyconf @@ -10,6 +10,7 @@ default : rpm_dev : ["tk-devel"] apt : ["libtk"] apt_dev : ["tk-dev"] + pacman : ["mingw-w64-x86_64-tk"] } environ : { diff --git a/products/toml.pyconf b/products/toml.pyconf index f6de9ac..2cd2b0f 100644 --- a/products/toml.pyconf +++ b/products/toml.pyconf @@ -10,6 +10,7 @@ default : rpm_dev : [] apt : ["python3-toml"] apt_dev : [] + pacman : ["mingw-w64-x86_64-python-toml"] } environ : { diff --git a/products/urllib3.pyconf b/products/urllib3.pyconf index a1bf4b5..9c24d2b 100755 --- a/products/urllib3.pyconf +++ b/products/urllib3.pyconf @@ -10,6 +10,7 @@ default : rpm_dev : [] apt : ["python3-urllib3"] apt_dev : [] + pacman : ["mingw-w64-x86_64-python-urllib3"] } environ : { -- 2.39.2