diff --git a/easybuild/easyconfigs/p/PyTables/PyTables-3.8.0-foss-2022a.eb b/easybuild/easyconfigs/p/PyTables/PyTables-3.8.0-foss-2022a.eb new file mode 100644 index 000000000000..9aa0ead0e072 --- /dev/null +++ b/easybuild/easyconfigs/p/PyTables/PyTables-3.8.0-foss-2022a.eb @@ -0,0 +1,72 @@ +# http://www.pytables.org/usersguide/installation.html + +easyblock = 'PythonBundle' + +name = 'PyTables' +version = '3.8.0' + +homepage = 'https://www.pytables.org' +description = """PyTables is a package for managing hierarchical datasets and designed to efficiently and easily cope + with extremely large amounts of data. PyTables is built on top of the HDF5 library, using the Python language and the + NumPy package. It features an object-oriented interface that, combined with C extensions for the performance-critical + parts of the code (generated using Cython), makes it a fast, yet extremely easy to use tool for interactively browse, + process and search very large amounts of data. One important feature of PyTables is that it optimizes memory and disk + resources so that data takes much less space (specially if on-flight compression is used) than other solutions such as + relational or object oriented databases.""" + +toolchain = {'name': 'foss', 'version': '2022a'} +toolchainopts = {'usempi': True} + +dependencies = [ + ('Python', '3.10.4'), + ('SciPy-bundle', '2022.05'), # provides numexpr + ('HDF5', '1.12.2'), + ('LZO', '2.10'), + ('Blosc', '1.21.3'), + ('scikit-build', '0.15.0'), +] + +builddependencies = [ + ('CMake', '3.23.1'), +] + +use_pip = True + +exts_list = [ + ('py-cpuinfo', '9.0.0', { + 'checksums': ['3cdbbf3fac90dc6f118bfd64384f309edeadd902d7c8fb17f02ffa1fc3f49690'], + 'modulename': 'cpuinfo', + }), + ('blosc2', '2.0.0', { + 'checksums': ['f19b0b3674f6c825b490f00d8264b0c540c2cdc11ec7e81178d38b83c57790a1'], + }), + (name, version, { + 'modulename': 'tables', + 'patches': [ + '%(name)s-%(version)s-fix-libs.patch', + ], + 'source_urls': ['https://github.com/PyTables/PyTables/archive/'], + 'sources': ['v%(version)s.tar.gz'], + 'checksums': [ + '652b56b3d355797af4337a4493acfa4c4de4a60e7c6663cc6ce44d8ee477e920', + # PyTables-3.8.0-fix-libs.patch + '69c40f3642e760f6d11e1a7f9a8930d1cffd7de2c1728d05ce8dc99519711dad', + ], + }), +] + + +download_dep_fail = True +sanity_pip_check = True + +local_bins = ['pt2to3', 'ptdump', 'ptrepack', 'pttree'] +sanity_check_paths = { + 'files': ['bin/%s' % x for x in local_bins], + 'dirs': ['lib/python%(pyshortver)s/site-packages'], +} + +options = {'modulename': 'tables'} + +sanity_check_commands = ["%s --help" % x for x in local_bins] + +moduleclass = 'data'