-
Notifications
You must be signed in to change notification settings - Fork 789
{lib}[foss/2021b] PyTables v3.8.0 w/ Python 3.9.6 #17550
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
sassy-crick
wants to merge
6
commits into
easybuilders:develop
from
sassy-crick:20230316161900_new_pr_PyTables380
Closed
Changes from 2 commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
9d1c066
adding easyconfigs: PyTables-3.8.0-foss-2021b.eb and patches: PyTable…
4e75a86
Merge branch 'develop' of https://github.com/easybuilders/easybuild-e…
5328a77
remove download_dep_fail which should not be set when using `PythonBu…
boegel 2346663
Updated to be in line with PR #17143
9627e1d
download_dep_fail removed
b948eeb
Merge branch 'develop' of https://github.com/easybuilders/easybuild-e…
boegel File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
19 changes: 19 additions & 0 deletions
19
easybuild/easyconfigs/p/PyTables/PyTables-3.8.0-fix-libs.patch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| # pyTables expects that LIBS is a list of library names and will add | ||
| # a -l by itself. | ||
| # original patch by ward.poelmans@ugent.be, ported to PyTables 3.5.2 by Kenneth Hoste (HPC-UGent) | ||
| # updated to 3.7.0 by J. Sassmannshausen (Imperial College London/UK) | ||
| diff --git a/PyTables-3.7.0.orig/setup.py b/PyTables-3.7.0/setup.py | ||
| index ab8f8e3..5804ca3 100755 | ||
| --- a/PyTables-3.7.0.orig/setup.py | ||
| +++ b/PyTables-3.7.0/setup.py | ||
| @@ -526,6 +526,10 @@ if __name__ == "__main__": | ||
| # is not a good idea. | ||
| CFLAGS = os.environ.get("CFLAGS", "").split() | ||
| LIBS = os.environ.get("LIBS", "").split() | ||
| + for idx, lib in enumerate(LIBS): | ||
| + if lib.startswith("-l"): | ||
| + LIBS[idx] = lib.replace("-l", "") | ||
| + | ||
| CONDA_PREFIX = os.environ.get("CONDA_PREFIX", "") | ||
| # We start using pkg-config since some distributions are putting HDF5 | ||
| # (and possibly other libraries) in exotic locations. See issue #442. |
72 changes: 72 additions & 0 deletions
72
easybuild/easyconfigs/p/PyTables/PyTables-3.8.0-foss-2021b.eb
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,72 @@ | ||
| # J. Sassmannshausen (Imperial College London/UK) | ||
|
|
||
| easyblock = 'PythonBundle' | ||
|
|
||
| name = 'PyTables' | ||
| version = '3.8.0' | ||
|
|
||
| homepage = 'https://github.com/PyTables/PyTables' | ||
| description = """PyTables is a package for managing hierarchical datasets | ||
| and designed to efficiently cope with extremely large amounts of data.""" | ||
|
|
||
| toolchain = {'name': 'foss', 'version': '2021b'} | ||
| toolchainopts = {'pic': True} | ||
|
|
||
| builddependencies = [ | ||
| ('CMake', '3.22.1'), | ||
| ('Ninja', '1.10.2'), | ||
| ('pkgconf', '1.8.0'), | ||
| ] | ||
|
|
||
| dependencies = [ | ||
| ('Python', '3.9.6'), | ||
| ('h5py', '3.6.0'), | ||
| ('scikit-build', '0.11.1'), | ||
| ('SciPy-bundle', '2021.10'), | ||
| ('HDF5', '1.12.1'), | ||
| ('LZO', '2.10'), | ||
| ('Blosc', '1.21.1'), | ||
| ('py-cpuinfo', '9.0.0'), | ||
| ] | ||
|
|
||
| use_pip = True | ||
| download_dep_fail = True | ||
| sanity_pip_check = True | ||
|
|
||
| exts_list = [ | ||
| ('markdown-it-py', '2.2.0', { | ||
| 'modulename': 'markdown_it', | ||
| 'checksums': ['7c9a5e412688bc771c67432cbfebcdd686c93ce6484913dccf06cb5a0bea35a1'], | ||
| }), | ||
| ('mdurl', '0.1.2', { | ||
| 'checksums': ['bb413d29f5eea38f31dd4754dd7377d4465116fb207585f97bf925588687c1ba'], | ||
| }), | ||
| ('Pygments', '2.14.0', { | ||
| 'checksums': ['b3ed06a9e8ac9a9aae5a6f5dbe78a8a58655d17b43b93c078f094ddc476ae297'], | ||
| }), | ||
| ('ndindex', '1.6', { | ||
| 'checksums': ['752e5a05c39883824316fdd7f7b650f6860eb71cecb9f15d811be2d879bebf02'], | ||
| }), | ||
| ('rich', '13.3.2', { | ||
| 'checksums': ['91954fe80cfb7985727a467ca98a7618e5dd15178cc2da10f553b36a93859001'], | ||
| }), | ||
| ('blosc2', '2.0.0', { | ||
| 'patches': ['py-%(name)s-%(version)s-numpylib.patch'], | ||
| 'checksums': [ | ||
| {'blosc2-2.0.0.tar.gz': 'f19b0b3674f6c825b490f00d8264b0c540c2cdc11ec7e81178d38b83c57790a1'}, | ||
| {'py-blosc2-2.0.0-numpylib.patch': '13b90b7eb72fea74f6eb660b52c48177b4db39d10b5090d7086c5cdef30b057e'}, | ||
| ], | ||
| }), | ||
| (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': [ | ||
| {'v3.8.0.tar.gz': '652b56b3d355797af4337a4493acfa4c4de4a60e7c6663cc6ce44d8ee477e920'}, | ||
| {'PyTables-3.8.0-fix-libs.patch': '022c26960b8401f3693974f57be49832b72ee1f3a0a92f8e0dd9281c7c0e2c8c'}, | ||
| ], | ||
| }), | ||
| ] | ||
|
|
||
| moduleclass = 'lib' | ||
15 changes: 15 additions & 0 deletions
15
easybuild/easyconfigs/p/PyTables/py-blosc2-2.0.0-numpylib.patch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| removes the not-set include-directory for NumPy | ||
| Author: J. Sassmannshausen (Imperial College London/UK) | ||
| diff --git a/blosc2-2.0.0.orig/blosc2/CMakeLists.txt b/blosc2-2.0.0/blosc2/CMakeLists.txt | ||
| index 012bb1e..c4aabd3 100644 | ||
| --- a/blosc2-2.0.0.orig/blosc2/CMakeLists.txt | ||
| +++ b/blosc2-2.0.0/blosc2/CMakeLists.txt | ||
| @@ -11,8 +11,6 @@ set(CMAKE_POSITION_INDEPENDENT_CODE ON) | ||
| set(BLOSC_INSTALL ON) | ||
| add_subdirectory(c-blosc2) | ||
| include_directories("${CMAKE_CURRENT_SOURCE_DIR}/c-blosc2/include") | ||
| -include_directories("${Python_NumPy_INCLUDE_DIRS}") | ||
| - | ||
|
|
||
| add_cython_target(blosc2_ext blosc2_ext.pyx) | ||
| add_library(blosc2_ext MODULE ${blosc2_ext}) |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.