Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
84 changes: 84 additions & 0 deletions easybuild/easyconfigs/m/matplotlib/matplotlib-3.8.2-iimkl-2023b.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
easyblock = 'PythonBundle'

name = 'matplotlib'
version = '3.8.2'

homepage = 'https://matplotlib.org'
description = """matplotlib is a python 2D plotting library which produces publication quality figures in a variety of
hardcopy formats and interactive environments across platforms. matplotlib can be used in python scripts, the python
and ipython shell, web application servers, and six graphical user interface toolkits."""

toolchain = {'name': 'iimkl', 'version': '2023b'}

builddependencies = [
('pkgconf', '2.0.3'),
('cppy', '1.2.1'),
('meson-python', '0.15.0'),
]

dependencies = [
('Python', '3.11.5'),
('SciPy-bundle', '2023.11'),
('libpng', '1.6.40'),
('freetype', '2.13.2'),
('Tkinter', '%(pyver)s'),
('Pillow', '10.2.0'),
# ('Qhull', '2020.2'),
]

# avoid that matplotlib downloads and builds its own copies of freetype and qhull
_fix_setup = "sed -e 's/#system_freetype = False/system_freetype = True/g' "
# _fix_setup += "-e 's/#system_qhull = False/system_qhull = True/g' mplsetup.cfg.template >mplsetup.cfg && "
_fix_setup += " mplsetup.cfg.template >mplsetup.cfg && "

_include_path = "export CPLUS_INCLUDE_PATH=$EBROOTFREETYPE/include/freetype2:${CPLUS_INCLUDE_PATH} && "

local_preinstallopts = "sed -e 's/#system_freetype = False/system_freetype = True/g' -e "
# local_preinstallopts += "'s/#system_qhull = False/system_qhull = True/g' mplsetup.cfg.template >mplsetup.cfg"
local_preinstallopts += " mplsetup.cfg.template >mplsetup.cfg"
local_preinstallopts += "&& export CPLUS_INCLUDE_PATH=$EBROOTFREETYPE/include/freetype2:${CPLUS_INCLUDE_PATH} && "

exts_list = [
('fonttools', '4.47.0', {
'modulename': 'fontTools',
'source_tmpl': '%(name)s-%(version)s.tar.gz',
'checksums': ['ec13a10715eef0e031858c1c23bfaee6cba02b97558e4a7bfa089dba4a8c2ebf'],
}),
('Cycler', '0.12.1', {
'modulename': 'cycler',
'source_tmpl': 'cycler-%(version)s.tar.gz',
'checksums': ['88bb128f02ba341da8ef447245a9e138fae777f6a23943da4540077d3601eb1c'],
}),
('kiwisolver', '1.4.5', {
'patches': ['kiwisolver-1.4.4-fix_version.patch'],
'checksums': [
{'kiwisolver-1.4.5.tar.gz': 'e57e563a57fb22a142da34f38acc2fc1a5c864bc29ca1517a88abc963e60d6ec'},
{'kiwisolver-1.4.4-fix_version.patch': '6753afbb3a88856493fcfa0b33989f35742f57bfd41ff3b7f71a98797e1bfbd0'},
],
}),
('contourpy', '1.2.0', {
'checksums': ['171f311cb758de7da13fc53af221ae47a5877be5a0843a9fe150818c51ed276a'],
}),
(name, version, {
'patches': ['matplotlib-3.8.2-fix_setup.patch'],
'preinstallopts': "sed -e 's/#system_freetype = False/system_freetype = True/g' "
# "-e 's/#system_qhull = False/system_qhull = True/g' mplsetup.cfg.template >mplsetup.cfg"
" mplsetup.cfg.template >mplsetup.cfg"
"&& export CPLUS_INCLUDE_PATH=$EBROOTFREETYPE/include/freetype2:${CPLUS_INCLUDE_PATH} && ",
'checksums': [
{'matplotlib-3.8.2.tar.gz': '01a978b871b881ee76017152f1f1a0cbf6bd5f7b8ff8c96df0df1bd57d8755a1'},
{'matplotlib-3.8.2-fix_setup.patch': '16e1610aec49af402e324e0b71c69d6b7ae106732088318e727b48282492a932'},
],
}),
]

sanity_check_commands = [
"""python -c 'import matplotlib; matplotlib.use("Agg"); import matplotlib.pyplot' """,
"python -c 'from mpl_toolkits.mplot3d import Axes3D'",
]

# use non-interactive plotting backend as default
# see https://matplotlib.org/tutorials/introductory/usage.html#what-is-a-backend
modextravars = {'MPLBACKEND': 'Agg'}

moduleclass = 'vis'
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
easyblock = 'PythonBundle'

name = 'Waveform-Editor'
version = '0.1.0'

description = """Python tool for creating and managing 1D time-dependent data"""
homepage = "https://github.com/iterorganization/Waveform-Editor"

toolchain = {'name': 'intel', 'version': '2023b'}

builddependencies = [
('meson-python', '0.15.0'),
('pybind11', '2.11.1'),
('hatch-jupyter-builder', '0.9.1'),
]

dependencies = [
('Python', '3.11.5'),
('SciPy-bundle', '2023.11'),
('Python-bundle-PyPI', '2023.10'),
('matplotlib', '3.8.2'),
('plotly.py', '5.18.0'),
('nodejs', '20.9.0'),
('IMAS-Python', '2.0.1'),
('ruamel.yaml', '0.18.6'),
('Kaleido', '0.2.1'),
('PyYAML', '6.0.1'),
('Pillow', '10.2.0'),
('tornado', '6.4'),
('tqdm', '4.66.2'),
('Markdown', '3.6'),
]

exts_list = [
('pyviz_comms', '3.0.6', {
'checksums': ['73d66b620390d97959b2c4d8a2c0778d41fe20581be4717f01e46b8fae8c5695'],
}),
('param', '2.2.1', {
'checksums': ['ba1f7cec6455ea8ad96f641f4082759bf1057dcbe629aa79d956b25973252422'],
}),
('pyct', '0.5.0', {
'checksums': ['dd9f4ac5cbd8e37c352c04036062d3c5f67efec76d404761ef16b0cbf26aa6a0'],
}),
('colorcet', '3.1.0', {
'checksums': ['2921b3cd81a2288aaf2d63dbc0ce3c26dcd882e8c389cc505d6886bf7aa9a4eb'],
}),
('holoviews', '1.18.3', {
'checksums': ['578e30e89d72754f97a83ebe08198fec8e87cc7e49b25b9f31ec393f939ca500'],
}),
('xyzservices', '2024.4.0', {
'checksums': ['6a04f11487a6fb77d92a98984cd107fbd9157fd5e65f929add9c3d6e604ee88c'],
}),
('narwhals', '2.0.1', {
'checksums': ['235e61ca807bc21110ca36a4d53888ecc22c42dcdf50a7c886e10dde3fd7f38c'],
}),
('bokeh', '3.7.3', {
'preinstallopts': """sed -i 's/setup(/setup(version="%(version)s",/g' setup.py && """,
'checksums': ['70a89a9f797b103d5ee6ad15fb7944adda115cf0da996ed0b75cfba61cb12f2b'],
}),
('bleach', '6.2.0', {
'checksums': ['123e894118b8a599fd80d3ec1a6d4cc7ce4e5882b1317a7e1ba69b56e95f991f'],
}),
('uc-micro-py', '1.0.3', {
'modulename': 'uc_micro',
'checksums': ['d321b92cff673ec58027c04015fcaa8bb1e005478643ff4a500882eaab88c48a'],
}),
('linkify-it-py', '2.0.3', {
'modulename': 'linkify_it',
'checksums': ['68cda27e162e9215c17d786649d1da0021a451bdc436ef9e0fa0ba5234b9b048'],
}),
('mdit_py_plugins', '0.4.2', {
'checksums': ['5f2cd1fdb606ddf152d37ec30e46101a60512bc0e5fa1a7002c36647b09e26b5'],
}),
('panel', '1.7.5', {
'checksums': ['8bf5041174593fdb0e8c46bef3ade334ae7e97ef64f52c8955a1d7c62b5db18d'],
}),
('pygments', '2.19.2', {
'checksums': ['636cb2477cec7f8952536970bc533bc43743542f70392ae026374600add5b887'],
}),
('asteval', '1.0.6', {
'checksums': ['1aa8e7304b2e171a90d64dd269b648cacac4e46fe5de54ac0db24776c0c4a19f'],
}),
('waveform_editor', version, {
'checksums': ['fb5d33825312c785c9ad0bcfec88f2577e8efe848f471585069980bfc60e1e74'],
}),
]

moduleclass = 'tools'
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
easyblock = 'PythonBundle'

name = 'Waveform-Editor'
version = '0.2.0'

description = """Python tool for creating and managing 1D time-dependent data"""
homepage = "https://github.com/iterorganization/Waveform-Editor"

toolchain = {'name': 'intel', 'version': '2023b'}

builddependencies = [
('meson-python', '0.15.0'),
('pybind11', '2.11.1'),
('hatch-jupyter-builder', '0.9.1'),
]

dependencies = [
('Python', '3.11.5'),
('SciPy-bundle', '2023.11'),
('Python-bundle-PyPI', '2023.10'),
('matplotlib', '3.8.2'),
('plotly.py', '5.18.0'),
('nodejs', '20.9.0'),
('IMAS-Python', '2.0.1'),
('ruamel.yaml', '0.18.6'),
('Kaleido', '0.2.1'),
('PyYAML', '6.0.1'),
('Pillow', '10.2.0'),
('tornado', '6.4'),
('tqdm', '4.66.2'),
('Markdown', '3.6'),
]

exts_list = [
('pyviz_comms', '3.0.6', {
'checksums': ['73d66b620390d97959b2c4d8a2c0778d41fe20581be4717f01e46b8fae8c5695'],
}),
('param', '2.2.1', {
'checksums': ['ba1f7cec6455ea8ad96f641f4082759bf1057dcbe629aa79d956b25973252422'],
}),
('pyct', '0.5.0', {
'checksums': ['dd9f4ac5cbd8e37c352c04036062d3c5f67efec76d404761ef16b0cbf26aa6a0'],
}),
('colorcet', '3.1.0', {
'checksums': ['2921b3cd81a2288aaf2d63dbc0ce3c26dcd882e8c389cc505d6886bf7aa9a4eb'],
}),
('holoviews', '1.18.3', {
'checksums': ['578e30e89d72754f97a83ebe08198fec8e87cc7e49b25b9f31ec393f939ca500'],
}),
('xyzservices', '2024.4.0', {
'checksums': ['6a04f11487a6fb77d92a98984cd107fbd9157fd5e65f929add9c3d6e604ee88c'],
}),
('narwhals', '2.0.1', {
'checksums': ['235e61ca807bc21110ca36a4d53888ecc22c42dcdf50a7c886e10dde3fd7f38c'],
}),
('bokeh', '3.7.3', {
'preinstallopts': """sed -i 's/setup(/setup(version="%(version)s",/g' setup.py && """,
'checksums': ['70a89a9f797b103d5ee6ad15fb7944adda115cf0da996ed0b75cfba61cb12f2b'],
}),
('bleach', '6.2.0', {
'checksums': ['123e894118b8a599fd80d3ec1a6d4cc7ce4e5882b1317a7e1ba69b56e95f991f'],
}),
('uc-micro-py', '1.0.3', {
'modulename': 'uc_micro',
'checksums': ['d321b92cff673ec58027c04015fcaa8bb1e005478643ff4a500882eaab88c48a'],
}),
('linkify-it-py', '2.0.3', {
'modulename': 'linkify_it',
'checksums': ['68cda27e162e9215c17d786649d1da0021a451bdc436ef9e0fa0ba5234b9b048'],
}),
('mdit_py_plugins', '0.4.2', {
'checksums': ['5f2cd1fdb606ddf152d37ec30e46101a60512bc0e5fa1a7002c36647b09e26b5'],
}),
('panel', '1.7.5', {
'checksums': ['8bf5041174593fdb0e8c46bef3ade334ae7e97ef64f52c8955a1d7c62b5db18d'],
}),
('pygments', '2.19.2', {
'checksums': ['636cb2477cec7f8952536970bc533bc43743542f70392ae026374600add5b887'],
}),
('asteval', '1.0.6', {
'checksums': ['1aa8e7304b2e171a90d64dd269b648cacac4e46fe5de54ac0db24776c0c4a19f'],
}),
('waveform_editor', version, {
'checksums': ['93e6d99fe7dab0bf9c5b8f4ff41143aacd92b1bbe5a103ac49c6057d2e3619da'],
}),
]

moduleclass = 'tools'
Loading