Skip to content

Commit

Permalink
add ecs for deps and remove them from exts_list
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelToman committed Oct 21, 2024
1 parent 11bc9c0 commit 10cf300
Show file tree
Hide file tree
Showing 8 changed files with 235 additions and 48 deletions.
42 changes: 42 additions & 0 deletions easybuild/easyconfigs/b/black/black-24.10.0-GCCcore-13.2.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
easyblock = 'PythonBundle'

name = 'black'
version = '24.10.0'

homepage = 'https://black.readthedocs.io'
description = """Black is the uncompromising Python code formatter.
By using it, you agree to cede control over minutiae of hand-formatting.
In return, Black gives you speed, determinism, and freedom from pycodestyle nagging about formatting.
You will save time and mental energy for more important matters.
Blackened code looks the same regardless of the project you're reading.
Formatting becomes transparent after a while and you can focus on the content instead.
Black makes code review faster by producing the smallest diffs possible.
"""

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

builddependencies = [
('binutils', '2.40'),
('hatchling', '1.18.0'),
]
dependencies = [
('Python', '3.11.5'),
('Python-bundle-PyPI', '2023.10'),
]

use_pip = True
sanity_pip_check = True

exts_list = [
('mypy-extensions', '1.0.0', {
'source_tmpl': 'mypy_extensions-%(version)s.tar.gz',
'checksums': ['75dbf8955dc00442a438fc4d0666508a9a97b6bd41aa2f0ffe9d2f2725af0782'],
}),
(name, version, {
'checksums': ['846ea64c97afe3bc677b761787993be4991810ecc7a4a937816dd6bddedc4875'],
}),
]

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

name = 'cookiecutter'
version = '2.6.0'

homepage = 'https://github.com/cookiecutter/cookiecutter'
description = """A command-line utility that creates projects from project templates.
E.g. creating a Python package project from a Python package project template."""

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

builddependencies = [('binutils', '2.40')]
dependencies = [
('Python', '3.11.5'),
('Python-bundle-PyPI', '2023.10'),
('PyYAML', '6.0.1'),
('python-slugify', '8.0.4'),
]

use_pip = True
sanity_pip_check = True

exts_list = [
('types-python-dateutil', '2.9.0.20241003', {
'modulename': False,
'checksums': ['58cb85449b2a56d6684e41aeefb4c4280631246a0da1a719bdbe6f3fb0317446'],
}),
('arrow', '1.3.0', {
'checksums': ['d4540617648cb5f895730f1ad8c82a65f2dad0166f57b75f3ca54759c4d67a85'],
}),
('binaryornot', '0.4.4', {
'checksums': ['359501dfc9d40632edc9fac890e19542db1a287bbcfa58175b66658392018061'],
}),
(name, version, {
'checksums': ['db21f8169ea4f4fdc2408d48ca44859349de2647fbe494a9d6c3edfc0542c21c'],
}),
]

moduleclass = 'devel'
29 changes: 29 additions & 0 deletions easybuild/easyconfigs/n/numpydoc/numpydoc-1.8.0-GCCcore-13.2.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
easyblock = 'PythonPackage'

name = 'numpydoc'
version = '1.8.0'

homepage = 'https://numpydoc.readthedocs.io/'
description = """Sphinx extension to support docstrings in Numpy format
This package provides the numpydoc Sphinx extension for handling docstrings formatted
according to the NumPy documentation format.
The extension also adds the code description directives np:function, np-c:function, etc."""

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

sources = [SOURCE_TAR_GZ]
checksums = ['022390ab7464a44f8737f79f8b31ce1d3cfa4b4af79ccaa1aac5e8368db587fb']

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

dependencies = [
('Python', '3.11.5'),
('Python-bundle-PyPI', '2023.10'),
]

use_pip = True
download_dep_fail = True
sanity_pip_check = True

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

name = 'python-lsp-server'
version = '1.12.0'

homepage = 'https://github.com/spyder-ide/spyder'
description = """Python Language Server for the Language Server Protocol
A Python 3.8+ implementation of the Language Server Protocol.
"""

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

builddependencies = [('binutils', '2.40')]
dependencies = [
('Python', '3.11.5'),
('Pylint', '3.2.5'),
('black', '24.10.0'),
('jedi', '0.19.1'),
]

use_pip = True
sanity_pip_check = True

exts_list = [
('docstring-to-markdown', '0.15', {
'checksums': ['e146114d9c50c181b1d25505054a8d0f7a476837f0da2c19f07e06eaed52b73d'],
}),
('python-lsp-jsonrpc', '1.1.2', {
'modulename': 'pylsp_jsonrpc',
'checksums': ['4688e453eef55cd952bff762c705cedefa12055c0aec17a06f595bcc002cc912'],
}),
('python-lsp-black', '2.0.0', {
'modulename': 'pylsp_black',
'checksums': ['8286d2d310c566844b3c116b824ada6fccfa6ba228b1a09a0526b74c04e0805f'],
}),
(name, version, {
'modulename': 'pylsp',
'source_tmpl': 'python_lsp_server-%(version)s.tar.gz',
'checksums': ['b6a336f128da03bd9bac1e61c3acca6e84242b8b31055a1ccf49d83df9dc053b'],
}),
]

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

name = 'python-slugify'
version = '8.0.4'

homepage = 'https://github.com/un33k/python-slugify'
description = """Best attempt to create slugs from unicode strings while keeping it DRY."""

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

builddependencies = [('binutils', '2.40')]
dependencies = [
('Python', '3.11.5'),
('text-unidecode', '1.3'),
]

use_pip = True
sanity_pip_check = True

exts_list = [
(name, version, {
'modulename': 'slugify',
'checksums': ['59202371d1d05b54a9e7720c5e038f928f45daaffe41dd10822f3907b937c856'],
}),
]

moduleclass = 'devel'
52 changes: 4 additions & 48 deletions easybuild/easyconfigs/s/Spyder/Spyder-6.0.1-gfbf-2023b.eb
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ dependencies = [
('Rtree', '1.2.0'),
('Deprecated', '1.2.14'),
('tornado', '6.4'),
('numpydoc', '1.8.0'),
('cookiecutter', '2.6.0'),
('wurlitzer', '3.1.1'),
('python-lsp-server', '1.12.0'),
]

use_pip = True
Expand All @@ -39,35 +43,12 @@ exts_list = [
('asyncssh', '2.17.0', {
'checksums': ['3b159c105aa388c1e2245c4faf483f540ada8cad99402281119100166e5edb3c'],
}),
('binaryornot', '0.4.4', {
'checksums': ['359501dfc9d40632edc9fac890e19542db1a287bbcfa58175b66658392018061'],
}),
('text-unidecode', '1.3', {
'checksums': ['bad6603bb14d279193107714b288be206cac565dfa49aa5b105294dd5c4aab93'],
}),
('python-slugify', '8.0.4', {
'modulename': 'slugify',
'checksums': ['59202371d1d05b54a9e7720c5e038f928f45daaffe41dd10822f3907b937c856'],
}),
('types-python-dateutil', '2.9.0.20241003', {
'modulename': False,
'checksums': ['58cb85449b2a56d6684e41aeefb4c4280631246a0da1a719bdbe6f3fb0317446'],
}),
('arrow', '1.3.0', {
'checksums': ['d4540617648cb5f895730f1ad8c82a65f2dad0166f57b75f3ca54759c4d67a85'],
}),
('cookiecutter', '2.6.0', {
'checksums': ['db21f8169ea4f4fdc2408d48ca44859349de2647fbe494a9d6c3edfc0542c21c'],
}),
('diff-match-patch', '20230430', {
'checksums': ['953019cdb9c9d2c9e47b5b12bcff3cf4746fc4598eb406076fa1fc27e6a1f15c'],
}),
('importlib_metadata', '8.4.0', {
'checksums': ['9a547d3bc3608b025f93d403fdd1aae741c24fbb8314df4b155675742ce303c5'],
}),
('numpydoc', '1.8.0', {
'checksums': ['022390ab7464a44f8737f79f8b31ce1d3cfa4b4af79ccaa1aac5e8368db587fb'],
}),
('pygithub', '2.4.0', {
'modulename': 'github',
'checksums': ['6601e22627e87bac192f1e2e39c6e6f69a43152cfb8f307cee575879320b3051'],
Expand All @@ -78,27 +59,6 @@ exts_list = [
('pyls-spyder', '0.4.0', {
'checksums': ['45a321c83f64267d82907492c55199fccabda45bc872dd23bf1efd08edac1b0b'],
}),
('mypy_extensions', '1.0.0', {
'checksums': ['75dbf8955dc00442a438fc4d0666508a9a97b6bd41aa2f0ffe9d2f2725af0782'],
}),
('black', '24.10.0', {
'checksums': ['846ea64c97afe3bc677b761787993be4991810ecc7a4a937816dd6bddedc4875'],
}),
('python-lsp-black', '2.0.0', {
'modulename': False,
'checksums': ['8286d2d310c566844b3c116b824ada6fccfa6ba228b1a09a0526b74c04e0805f'],
}),
('docstring-to-markdown', '0.15', {
'checksums': ['e146114d9c50c181b1d25505054a8d0f7a476837f0da2c19f07e06eaed52b73d'],
}),
('python-lsp-jsonrpc', '1.1.2', {
'modulename': False,
'checksums': ['4688e453eef55cd952bff762c705cedefa12055c0aec17a06f595bcc002cc912'],
}),
('python_lsp_server', '1.12.0', {
'modulename': 'pylsp',
'checksums': ['b6a336f128da03bd9bac1e61c3acca6e84242b8b31055a1ccf49d83df9dc053b'],
}),
('pyuca', '1.2', {
'checksums': ['8a382fe74627f08c0d18908c0713ca4a20aad5385f077579e56208beea2893b2'],
}),
Expand All @@ -118,10 +78,6 @@ exts_list = [
('QtAwesome', '1.3.1', {
'checksums': ['075b2c9ee01cbaf5e3a4bebed0e5529ee8605981355f21dea051b15c1b869e1b'],
}),
('wurlitzer', '3.1.1', {
'source_tmpl': SOURCE_PY3_WHL,
'checksums': ['0b2749c2cde3ef640bf314a9f94b24d929fe1ca476974719a6909dfc568c3aac'],
}),
('spyder_kernels', '3.0.0', {
'checksums': ['3d316ea04802ed1feb366405cca03df2349dc9e35ad8653538d2fe48c0e9417f'],
}),
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
easyblock = 'PythonBundle'

name = 'text-unidecode'
version = '1.3'

homepage = 'https://github.com/kmike/text-unidecode'
description = """Text-unidecode is the most basic port of the Text::Unidecode Perl library."""

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

builddependencies = [('binutils', '2.40')]
dependencies = [
('Python', '3.11.5'),
]

use_pip = True
sanity_pip_check = True

exts_list = [
(name, version, {
'checksums': ['bad6603bb14d279193107714b288be206cac565dfa49aa5b105294dd5c4aab93'],
}),
]

moduleclass = 'devel'
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
easyblock = 'PythonPackage'

name = 'wurlitzer'
version = '3.1.1'

homepage = 'https://github.com/minrk/wurlitzer'
description = """Capture C-level output in context managers
For more details on why this is needed, please read this blog post:
https://eli.thegreenplace.net/2015/redirecting-all-kinds-of-stdout-in-python
"""

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

sources = [SOURCE_TAR_GZ]
checksums = ['bfb9144ab9f02487d802b9ff89dbd3fa382d08f73e12db8adc4c2fb00cd39bd9']

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

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

use_pip = True
download_dep_fail = True
sanity_pip_check = True

moduleclass = 'devel'

0 comments on commit 10cf300

Please sign in to comment.