Skip to content
Merged
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
easyblock = 'PythonBundle'

name = 'hypothesis'
version = '4.57.1'
versionsuffix = '-Python-%(pyver)s'

homepage = "https://github.com/HypothesisWorks/hypothesis"
description = """Hypothesis is an advanced testing library for Python. It lets you write tests which are parametrized
by a source of examples, and then generates simple and comprehensible examples that make your tests fail. This lets
you find more bugs in your code with less work."""

toolchain = {'name': 'GCCcore', 'version': '12.3.0'}

builddependencies = [('binutils', '2.40')]

dependencies = [('Python', '2.7.18')]

use_pip = True
sanity_pip_check = True

exts_list = [
('attrs', '21.4.0', {
'modulename': 'attr',
'source_tmpl': SOURCE_WHL,
'checksums': ['2d27e3784d7a565d36ab851fe94887c5eccd6a463168875832a1be79c82828b4'],
}),
('enum34', '1.1.10', {
'modulename': 'enum',
'source_tmpl': SOURCE_PY2_WHL,
'checksums': ['a98a201d6de3f2ab3db284e70a33b0f896fbf35f8086594e8c9e74b909058d53'],
}),
('sortedcontainers', '2.4.0', {
'source_tmpl': SOURCE_WHL,
'checksums': ['a163dcaede0f1c021485e957a39245190e74249897e2ae4b2aa38595db237ee0'],
}),
(name, version, {
'checksums': ['3c4369a4b0a1348561048bcda5f1db951a1b8e2a514ea8e8c70d36e656bf6fa0'],
}),
]

moduleclass = 'tools'
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name = 'pybind11'
version = '2.9.2'
versionsuffix = '-Python-%(pyver)s'

homepage = 'https://pybind11.readthedocs.io'
description = """pybind11 is a lightweight header-only library that exposes C++ types in Python and vice versa,
mainly to create Python bindings of existing C++ code."""

toolchain = {'name': 'GCCcore', 'version': '12.3.0'}

source_urls = ['https://github.com/pybind/pybind11/archive/']
sources = ['v%(version)s.tar.gz']
checksums = ['6bd528c4dbe2276635dc787b6b1f2e5316cf6b49ee3e150264e455a0d68d19c1']

builddependencies = [
('binutils', '2.40'),
('CMake', '3.26.3'),
('Eigen', '3.4.0'),
('pytest', '4.6.11', versionsuffix),
]

dependencies = [('Python', '2.7.18')]

configopts = "-DPYTHON_EXECUTABLE=$EBROOTPYTHON/bin/python"

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

name = 'SciPy-bundle'
version = '2024.06'
versionsuffix = '-Python-%(pyver)s'

homepage = 'https://python.org/'
description = "Bundle of Python packages for scientific software"

toolchain = {'name': 'foss', 'version': '2023a'}
toolchainopts = {'pic': True, 'lowopt': True}

builddependencies = [
('hypothesis', '4.57.1', versionsuffix),
('UnZip', '6.0'),
('pybind11', '2.9.2', versionsuffix), # required by scipy
]

dependencies = [
('Python', '2.7.18'),
('numpy', '1.16.6', versionsuffix)
]

use_pip = True

# order is important!
exts_list = [
('ply', '3.11', {
'checksums': ['00c7c1aaa88358b9c765b6d3000c6eec0ba42abca5351b095321aef446081da3'],
}),
('gast', '0.5.5', {
'checksums': ['5f4ae749ba7199034b6912af98f05b4058d6d48fc2f065037b241be819a22924'],
}),
('beniget', '0.4.1', {
'checksums': ['75554b3b8ad0553ce2f607627dad3d95c60c441189875b98e097528f8e23ac0c'],
}),
('scipy', '1.2.3', {
'patches': ['scipy-1.2.3_fix_nan_problem_in_vi.patch'],
'prebuildopts': 'export FFLAGS="$FFLAGS -fallow-argument-mismatch" && ',
'checksums': [
'ecbe6413ca90b8e19f8475bfa303ac001e81b04ec600d17fa7f816271f7cca57', # scipy-1.2.3.tar.gz
# scipy-1.2.3_fix_nan_problem_in_vi.patch
'0513c5d0491a3f062ed024b6aa7b382706e8c42b3a3fdd26ff7a4d305ac9a30d',
],
}),
('mpi4py', '3.1.6', {
'checksums': ['c8fa625e0f92b082ef955bfb52f19fa6691d29273d7d71135d295aa143dee6cb'],
}),
('numexpr', '2.7.3', {
'checksums': ['43616529f9b7d1afc83386f943dc66c4da5e052f00217ba7e3ad8dd1b5f3a825'],
}),
('Bottleneck', '1.3.2', {
'checksums': ['20179f0b66359792ea283b69aa16366419132f3b6cf3adadc0c48e2e8118e573'],
}),
('python_dateutil', '2.9.0.post0', {
'modulename': 'dateutil',
'source_tmpl': SOURCE_WHL,
'checksums': ['a8b2bc7bffae282281c8140a97d3aa9c14da0b136dfe83f850eea9a5f7470427'],
}),
('pytz', '2025.1', {
'source_tmpl': SOURCE_WHL,
'checksums': ['89dd22dca55b46eac6eda23b2d72721bf1bdfef212645d81513ef5d03038de57'],
}),
('pandas', '0.24.2', {
'checksums': ['4f919f409c433577a501e023943e582c57355d50a724c589e78bc1d551a535a2'],
}),
('mpmath', '1.3.0', {
'checksums': ['7a28eb2a9774d00c7bc92411c19a89209d5da7c4c9a9e227be8330a23a25b91f'],
}),
('deap', '1.3.1', {
'checksums': ['11f54493ceb54aae10dde676577ef59fc52d52f82729d5a12c90b0813c857a2f'],
}),
]

sanity_pip_check = True

moduleclass = 'lang'