proplot-0.9.91-foss-2024a.eb 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. # This file is an EasyBuild reciPY as per https://github.com/easybuilders/easybuild
  2. # Created: Pierre-Yves Barriat
  3. #
  4. # Run first: it will crash on sanity checking
  5. # Then run again with "--module-only --skip-sanity-check"
  6. #
  7. easyblock = 'PythonBundle'
  8. name = 'proplot'
  9. version = '0.9.91'
  10. homepage = 'https://github.com/cvanelteren/proplot'
  11. description = """A succinct matplotlib wrapper for making beautiful, publication-quality graphics."""
  12. toolchain = {'name': 'foss', 'version': '2024a'}
  13. builddependencies = [
  14. ('hatchling', '1.24.2'),
  15. ]
  16. dependencies = [
  17. ('Python', '3.12.3'),
  18. ('Python-bundle-PyPI', '2024.06'),
  19. ('Cython', '3.0.10'),
  20. ('SciPy-bundle', '2024.05'),
  21. ('matplotlib', '3.9.2'), #gfbf
  22. ('Cartopy', '0.24.1'),
  23. ('xarray', '2024.11.0'), #gfbf
  24. ('Seaborn', '0.13.2'), #gfbf
  25. ('IPython', '8.27.0'),
  26. ('jupyter-server', '2.14.2'),
  27. ('basemap', '1.4.1'),
  28. ]
  29. #- pyqt 5.15.11
  30. #- git+https://github.com/cvanelteren/sphinx-rtd-light-dark.git@mplv3.9.1 0.1.2
  31. use_pip = True
  32. sanity_pip_check = False
  33. exts_list = [
  34. ('jupytext', '1.16.4', {
  35. 'checksums': ['28e33f46f2ce7a41fb9d677a4a2c95327285579b64ca104437c4b9eb1e4174e9'],
  36. }),
  37. ('pandoc', '2.4', {
  38. 'checksums': ['ecd1f8cbb7f4180c6b5db4a17a7c1a74df519995f5f186ef81ce72a9cbd0dd9a'],
  39. }),
  40. ('pint', '0.24.3', {
  41. 'checksums': ['d54771093e8b94c4e0a35ac638c2444ddf3ef685652bab7675ffecfa0c5c5cdf'],
  42. }),
  43. #('pyqt', '5.15.11', {
  44. # 'checksums': ['4caec82fd8dd096feba8217858068bacb2a3b5950f43c048c6dc32a3489d5af1'],
  45. #}),
  46. #
  47. ('sphinx_autoapi', '3.3.2', {
  48. 'modulename': 'sphinx-autoapi',
  49. 'checksums': ['ebf8b44b2ebab5c28f0263ec6c2f8acdd156e9b2d539a58eca39d2f368445173'],
  50. }),
  51. ('basemap_data_hires', '1.3.2', {
  52. 'modulename': 'basemap-data-hires',
  53. 'source_tmpl': '%(name)s-%(version)s.zip',
  54. 'checksums': ['0982eb95b2066ccbe10b6580bcd9c597e3a4e25016bf25afb65e1a96f6e3e97d'],
  55. #'preinstallopts': r"""cd .. && git clone -b develop https://github.com/matplotlib/basemap.git && cd basemap/packages/basemap_data_hires && """
  56. }),
  57. ('sphinx_automodapi', '0.18.0', {
  58. 'modulename': 'sphinx-automodapi',
  59. 'checksums': ['7bf9d9a2cb67a5389c51071cfd86674ca3892ca5d5943f95de4553d6f35dddae'],
  60. }),
  61. ('nbsphinx', '0.9.5', {
  62. 'checksums': ['736916e7b0dab28fc904f4a9ae3b53a9a50c29fccc6329c052fcc7485abcf2b7'],
  63. }),
  64. ('sphinx-copybutton', '0.5.2', {
  65. 'checksums': ['4cf17c82fb9646d1bc9ca92ac280813a3b605d8c421225fd9913154103ee1fbd'],
  66. }),
  67. # sphinx-rtd-theme==2.1.0rc2
  68. ('sphinx_rtd_theme', '3.0.1', {
  69. 'modulename': 'sphinx-rtd-theme',
  70. 'checksums': ['a4c5745d1b06dfcb80b7704fe532eb765b44065a8fad9851e4258c8804140703'],
  71. }),
  72. #
  73. ('mdit_py_plugins', '0.4.2', {
  74. 'modulename': 'mdit-py-plugins',
  75. }),
  76. ('plumbum', '1.8.3', {
  77. 'modulename': 'plumbum',
  78. }),
  79. ('flexcache', '0.3', {
  80. 'modulename': 'flexcache',
  81. }),
  82. ('flexparser', '0.3.1', {
  83. 'modulename': 'flexparser',
  84. }),
  85. ('astroid', '3.3.5', {
  86. 'modulename': 'astroid',
  87. }),
  88. ('sphinxcontrib-jquery', '4.1', {
  89. 'modulename': 'sphinxcontrib-jquery',
  90. }),
  91. #
  92. (name, version, {
  93. 'source_tmpl': 'mpl3.9.1.zip',
  94. 'source_urls': ['https://github.com/cvanelteren/proplot/archive/refs/heads'],
  95. #'checksums': ['07ae8fe0f32f2adf96065e2ef137fa0fee11eb69a58b1892dc80534054a29d3b'],
  96. 'preinstallopts': r"""cd .. && git clone -b mpl3.9.1 https://github.com/cvanelteren/proplot && cd proplot && """
  97. }),
  98. ]
  99. sanity_check_commands = [
  100. "python -c 'import jupytext'",
  101. "python -c 'import pandoc'",
  102. "python -c 'import pint'",
  103. "python -c 'from mpl_toolkits.basemap import Basemap'",
  104. "python -c 'import nbsphinx'",
  105. "python -c 'import sphinx_copybutton'",
  106. "python -c 'import plumbum'",
  107. "python -c 'import flexcache'",
  108. "python -c 'import flexparser'",
  109. "python -c 'import astroid'",
  110. ]
  111. sanity_check_paths = {
  112. 'files': [],
  113. 'dirs': ['lib/python%(pyshortver)s/site-packages'],
  114. }
  115. moduleclass = 'geo'