SciPy-bundle-2021.05-foss-2021b.eb 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. easyblock = 'PythonBundle'
  2. name = 'SciPy-bundle'
  3. version = '2021.05'
  4. homepage = 'https://python.org/'
  5. description = "Bundle of Python packages for scientific software"
  6. toolchain = {'name': 'foss', 'version': '2021b'}
  7. toolchainopts = {'pic': True, 'lowopt': True}
  8. builddependencies = [('hypothesis', '6.14.6')]
  9. dependencies = [
  10. ('Python', '3.9.6'),
  11. ('pybind11', '2.7.1'), # required by scipy
  12. ]
  13. use_pip = True
  14. # order is important!
  15. exts_list = [
  16. ('numpy', '1.20.3', {
  17. 'sources': [SOURCE_ZIP],
  18. 'patches': [
  19. 'numpy-1.20.3_skip-ppc-long-complex-test.patch',
  20. 'numpy-1.20.3_xfail-test-nan.patch',
  21. 'numpy-1.20.3_fix-target-test-ccompiler-opt.patch',
  22. ],
  23. 'checksums': [
  24. 'e55185e51b18d788e49fe8305fd73ef4470596b33fc2c1ceb304566b99c71a69', # numpy-1.20.3.zip
  25. # numpy-1.20.3_skip-ppc-long-complex-test.patch
  26. '2f9a12e3a352b39076db84a7622fc8f4796abd3cb7f97f71958a495e864659a4',
  27. 'f0ce961f7d79551598e23050d92f46e827e300f6a7e5a6112e58efcc10385d4d', # numpy-1.20.3_xfail-test-nan.patch
  28. # numpy-1.20.3_fix-target-test-ccompiler-opt.patch
  29. '3d84e8b7d48387778974a5f6ae342a690ab5989547206b6add9d9667f8d7572a',
  30. ],
  31. }),
  32. ('scipy', '1.6.3', {
  33. 'checksums': ['a75b014d3294fce26852a9d04ea27b5671d86736beb34acdfc05859246260707'],
  34. }),
  35. ('mpi4py', '3.0.3', {
  36. 'checksums': ['012d716c8b9ed1e513fcc4b18e5af16a8791f51e6d1716baccf988ad355c5a1f'],
  37. }),
  38. ('numexpr', '2.7.3', {
  39. 'checksums': ['43616529f9b7d1afc83386f943dc66c4da5e052f00217ba7e3ad8dd1b5f3a825'],
  40. }),
  41. ('Bottleneck', '1.3.2', {
  42. 'checksums': ['20179f0b66359792ea283b69aa16366419132f3b6cf3adadc0c48e2e8118e573'],
  43. }),
  44. ('pandas', '1.2.4', {
  45. 'preinstallopts': """sed -i 's@extra_compile_args = \["-Werror"\]@extra_compile_args = []@g' setup.py && """,
  46. 'checksums': ['649ecab692fade3cbfcf967ff936496b0cfba0af00a55dfaacd82bdda5cb2279'],
  47. }),
  48. ('mpmath', '1.2.1', {
  49. 'checksums': ['79ffb45cf9f4b101a807595bcb3e72e0396202e0b1d25d689134b48c4216a81a'],
  50. }),
  51. ('deap', '1.3.1', {
  52. 'checksums': ['11f54493ceb54aae10dde676577ef59fc52d52f82729d5a12c90b0813c857a2f'],
  53. }),
  54. ]
  55. sanity_pip_check = True
  56. moduleclass = 'lang'