Skip to content
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

use pycodestyle for code style check + stop using l in list comprehensions #21502

Merged
merged 4 commits into from
Sep 30, 2024
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
2 changes: 1 addition & 1 deletion .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
# for testing OpenMPI-system*eb we need to have Open MPI installed
sudo apt-get install libopenmpi-dev openmpi-bin
# required for test_dep_graph
pip install pep8 python-graph-core python-graph-dot
pip install pycodestyle python-graph-core python-graph-dot

- name: install EasyBuild framework
run: |
Expand Down
4 changes: 2 additions & 2 deletions easybuild/easyconfigs/c/CaDiCaL/CaDiCaL-1.3.0-GCC-9.3.0.eb
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ local_libs = ['libcadical.a']

files_to_copy = [
(['build/%s' % x for x in local_bins], 'bin'),
(['build/%s' % l for l in local_libs], 'lib'),
(['build/%s' % x for x in local_libs], 'lib'),
]

sanity_check_paths = {
'files': ['bin/%s' % x for x in local_bins] + ['lib/%s' % l for l in local_libs],
'files': ['bin/%s' % x for x in local_bins] + ['lib/%s' % x for x in local_libs],
'dirs': [],
}

Expand Down
2 changes: 1 addition & 1 deletion easybuild/easyconfigs/c/Cbc/Cbc-2.10.5-foss-2020b.eb
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ configopts += '--with-cgl-lib="-lCgl" '
configopts += '--with-cgl-datadir=$EBROOTCGL/share/coin/Data '

sanity_check_paths = {
'files': ['bin/cbc'] + ['lib/lib%s.%s' % (l, SHLIB_EXT) for l in ['Cbc', 'CbcSolver', 'OsiCbc']],
'files': ['bin/cbc'] + ['lib/lib%s.%s' % (x, SHLIB_EXT) for x in ['Cbc', 'CbcSolver', 'OsiCbc']],
'dirs': ['include/coin', 'lib/pkgconfig', 'share/coin']
}

Expand Down
2 changes: 1 addition & 1 deletion easybuild/easyconfigs/c/Clp/Clp-1.17.6-foss-2020b.eb
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ configopts += '--with-osi-lib="-lOsi" '
configopts += '--with-osi-datadir=$EBROOTOSI/share/coin/Data '

sanity_check_paths = {
'files': ['bin/clp'] + ['lib/lib%s.%s' % (l, SHLIB_EXT) for l in ['Clp', 'ClpSolver', 'OsiClp']],
'files': ['bin/clp'] + ['lib/lib%s.%s' % (x, SHLIB_EXT) for x in ['Clp', 'ClpSolver', 'OsiClp']],
'dirs': ['include/coin', 'lib/pkgconfig', 'share/coin']
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ local_exes = ['adjacency', 'allfaces', 'cddexec', 'fourier', 'lcdd', 'projection
'testcdd2', 'testlp1', 'testlp2', 'testlp3', 'testshoot']
sanity_check_paths = {
'files': ['bin/%s' % x for x in local_exes] + ['bin/%s_gmp' % x for x in local_exes] +
['lib/%s.%s' % (l, e) for l in ['libcdd', 'libcddgmp'] for e in ['a', SHLIB_EXT]] +
['lib/%s.%s' % (x, e) for x in ['libcdd', 'libcddgmp'] for e in ['a', SHLIB_EXT]] +
['include/cddlib/%s.h' % h for h in ['cdd', 'cddmp', 'cddtypes', 'setoper', 'splitmix64']],
'dirs': ['share/doc']
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ local_exes = ['adjacency', 'allfaces', 'cddexec', 'fourier', 'lcdd', 'projection
'testcdd2', 'testlp1', 'testlp2', 'testlp3', 'testshoot']
sanity_check_paths = {
'files': ['bin/%s' % x for x in local_exes] + ['bin/%s_gmp' % x for x in local_exes] +
['lib/%s.%s' % (l, e) for l in ['libcdd', 'libcddgmp'] for e in ['a', SHLIB_EXT]] +
['lib/%s.%s' % (x, e) for x in ['libcdd', 'libcddgmp'] for e in ['a', SHLIB_EXT]] +
['include/cddlib/%s.h' % h for h in ['cdd', 'cddmp', 'cddtypes', 'setoper', 'splitmix64']],
'dirs': ['share/doc']
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ components = [
]

sanity_check_paths = {
'files': ['lib/%s.a' % l for l in ['libcudd', 'libsylvan']] +
'files': ['lib/%s.a' % x for x in ['libcudd', 'libsylvan']] +
['include/%s.h' % h for h in ['cudd', 'lace', 'sylvan', 'sylvan_gmp']],
'dirs': ['lib/python%(pyshortver)s/site-packages'],
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@ version = '7.1.1'
versionsuffix = '-centos6_x86_64'

homepage = 'https://surfer.nmr.mgh.harvard.edu/'
description = """FreeSurfer is a set of tools for analysis and visualization of structural and functional brain imaging data.
FreeSurfer contains a fully automatic structural imaging stream for processing cross sectional and longitudinal data."""
description = """FreeSurfer is a set of tools for analysis and visualization
of structural and functional brain imaging data. FreeSurfer contains a fully
automatic structural imaging stream for processing cross sectional and
longitudinal data."""
Comment on lines +6 to +9
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that this changes the module help text. I used the following for IMO more sensible line breaks in #21405

description = """\
FreeSurfer is a set of tools for analysis and visualization of structural and functional brain imaging data.
FreeSurfer contains a fully automatic structural imaging stream for processing cross sectional and longitudinal data.
"""

If that sounds useful I can do the Search&replace using the texts I previously used.


toolchain = SYSTEM

Expand All @@ -22,8 +24,10 @@ sources = [
]

checksums = [
'4026a5d5df41fd5a82a1b8c43a011cf0da4a0055737822e6b011fdb1370284a3', # freesurfer-linux-centos6_x86_64-7.1.1.tar.gz
'944852af2b5a493f5261fd619af828c6e4afc0c90e6f7e709acfb616c5b51648', # runtime2014bLinux.tar.gz
# freesurfer-linux-centos6_x86_64-7.1.1.tar.gz
'4026a5d5df41fd5a82a1b8c43a011cf0da4a0055737822e6b011fdb1370284a3',
# runtime2014bLinux.tar.gz
'944852af2b5a493f5261fd619af828c6e4afc0c90e6f7e709acfb616c5b51648',
]

postinstallcmds = ['cp -a %(builddir)s/MCRv84/ %(installdir)s']
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@ version = '7.1.1'
versionsuffix = '-centos7_x86_64'

homepage = 'https://surfer.nmr.mgh.harvard.edu/'
description = """FreeSurfer is a set of tools for analysis and visualization of structural and functional brain imaging data.
FreeSurfer contains a fully automatic structural imaging stream for processing cross sectional and longitudinal data."""
description = """FreeSurfer is a set of tools for analysis and visualization
of structural and functional brain imaging data. FreeSurfer contains a fully
automatic structural imaging stream for processing cross sectional and
longitudinal data."""

toolchain = SYSTEM

Expand All @@ -22,8 +24,10 @@ sources = [
]

checksums = [
'6098b166fee8644f44f9ec88f3ffe88d05f2bc033cca60443e99e3e56f2e166b', # freesurfer-linux-centos7_x86_64-7.1.1.tar.gz
'944852af2b5a493f5261fd619af828c6e4afc0c90e6f7e709acfb616c5b51648', # runtime2014bLinux.tar.gz
# freesurfer-linux-centos7_x86_64-7.1.1.tar.gz
'6098b166fee8644f44f9ec88f3ffe88d05f2bc033cca60443e99e3e56f2e166b',
# runtime2014bLinux.tar.gz
'944852af2b5a493f5261fd619af828c6e4afc0c90e6f7e709acfb616c5b51648',
]

postinstallcmds = ['cp -a %(builddir)s/MCRv84/ %(installdir)s']
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@ version = '7.1.1'
versionsuffix = '-centos8_x86_64'

homepage = 'https://surfer.nmr.mgh.harvard.edu/'
description = """FreeSurfer is a set of tools for analysis and visualization of structural and functional brain imaging data.
FreeSurfer contains a fully automatic structural imaging stream for processing cross sectional and longitudinal data."""
description = """FreeSurfer is a set of tools for analysis and visualization
of structural and functional brain imaging data. FreeSurfer contains a fully
automatic structural imaging stream for processing cross sectional and
longitudinal data."""

toolchain = SYSTEM

Expand All @@ -17,8 +19,10 @@ sources = [
'runtime2014bLinux.tar.gz'
]
checksums = [
'6098b166fee8644f44f9ec88f3ffe88d05f2bc033cca60443e99e3e56f2e166b', # freesurfer-linux-centos8_x86_64-7.1.1.tar.gz
'944852af2b5a493f5261fd619af828c6e4afc0c90e6f7e709acfb616c5b51648', # runtime2014bLinux.tar.gz
# freesurfer-linux-centos8_x86_64-7.1.1.tar.gz
'6098b166fee8644f44f9ec88f3ffe88d05f2bc033cca60443e99e3e56f2e166b',
# runtime2014bLinux.tar.gz
'944852af2b5a493f5261fd619af828c6e4afc0c90e6f7e709acfb616c5b51648',
]

# The FreeSurfer and MCR versions are linked. Fresurfer > v7 uses MCR 8.4 (R2014b).
Expand Down
2 changes: 1 addition & 1 deletion easybuild/easyconfigs/g/GMP/GMP-6.2.0-GCCcore-10.2.0.eb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ testopts = " && rm -r %(installdir)s/lib"
runtest = 'check'

sanity_check_paths = {
'files': ['lib/lib%s.%s' % (l, e) for l in ['gmp', 'gmpxx'] for e in [SHLIB_EXT, 'a']] +
'files': ['lib/lib%s.%s' % (x, e) for x in ['gmp', 'gmpxx'] for e in [SHLIB_EXT, 'a']] +
['include/gmp.h', 'include/gmpxx.h'],
'dirs': ['share'],
}
Expand Down
2 changes: 1 addition & 1 deletion easybuild/easyconfigs/g/GMP/GMP-6.2.0-GCCcore-9.3.0.eb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ testopts = " && rm -r %(installdir)s/lib"
runtest = 'check'

sanity_check_paths = {
'files': ['lib/lib%s.%s' % (l, e) for l in ['gmp', 'gmpxx'] for e in [SHLIB_EXT, 'a']] +
'files': ['lib/lib%s.%s' % (x, e) for x in ['gmp', 'gmpxx'] for e in [SHLIB_EXT, 'a']] +
['include/gmp.h', 'include/gmpxx.h'],
'dirs': ['share'],
}
Expand Down
2 changes: 1 addition & 1 deletion easybuild/easyconfigs/g/GMP/GMP-6.2.1-GCCcore-10.3.0.eb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ testopts = " && rm -r %(installdir)s/lib"
runtest = 'check'

sanity_check_paths = {
'files': ['lib/lib%s.%s' % (l, e) for l in ['gmp', 'gmpxx'] for e in [SHLIB_EXT, 'a']] +
'files': ['lib/lib%s.%s' % (x, e) for x in ['gmp', 'gmpxx'] for e in [SHLIB_EXT, 'a']] +
['include/gmp.h', 'include/gmpxx.h'],
'dirs': ['share'],
}
Expand Down
2 changes: 1 addition & 1 deletion easybuild/easyconfigs/g/GMP/GMP-6.2.1-GCCcore-11.2.0.eb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ testopts = " && rm -r %(installdir)s/lib"
runtest = 'check'

sanity_check_paths = {
'files': ['lib/lib%s.%s' % (l, e) for l in ['gmp', 'gmpxx'] for e in [SHLIB_EXT, 'a']] +
'files': ['lib/lib%s.%s' % (x, e) for x in ['gmp', 'gmpxx'] for e in [SHLIB_EXT, 'a']] +
['include/gmp.h', 'include/gmpxx.h'],
'dirs': ['share'],
}
Expand Down
2 changes: 1 addition & 1 deletion easybuild/easyconfigs/g/GMP/GMP-6.2.1-GCCcore-11.3.0.eb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ testopts = " && rm -r %(installdir)s/lib"
runtest = 'check'

sanity_check_paths = {
'files': ['lib/lib%s.%s' % (l, e) for l in ['gmp', 'gmpxx'] for e in [SHLIB_EXT, 'a']] +
'files': ['lib/lib%s.%s' % (x, e) for x in ['gmp', 'gmpxx'] for e in [SHLIB_EXT, 'a']] +
['include/gmp.h', 'include/gmpxx.h'],
'dirs': ['share'],
}
Expand Down
2 changes: 1 addition & 1 deletion easybuild/easyconfigs/g/GMP/GMP-6.2.1-GCCcore-12.2.0.eb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ testopts = " && rm -r %(installdir)s/lib"
runtest = 'check'

sanity_check_paths = {
'files': ['lib/lib%s.%s' % (l, e) for l in ['gmp', 'gmpxx'] for e in [SHLIB_EXT, 'a']] +
'files': ['lib/lib%s.%s' % (x, e) for x in ['gmp', 'gmpxx'] for e in [SHLIB_EXT, 'a']] +
['include/gmp.h', 'include/gmpxx.h'],
'dirs': ['share'],
}
Expand Down
2 changes: 1 addition & 1 deletion easybuild/easyconfigs/g/GMP/GMP-6.2.1-GCCcore-12.3.0.eb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ testopts = " && rm -r %(installdir)s/lib"
runtest = 'check'

sanity_check_paths = {
'files': ['lib/lib%s.%s' % (l, e) for l in ['gmp', 'gmpxx'] for e in [SHLIB_EXT, 'a']] +
'files': ['lib/lib%s.%s' % (x, e) for x in ['gmp', 'gmpxx'] for e in [SHLIB_EXT, 'a']] +
['include/gmp.h', 'include/gmpxx.h'],
'dirs': ['share'],
}
Expand Down
2 changes: 1 addition & 1 deletion easybuild/easyconfigs/g/GMP/GMP-6.3.0-GCCcore-13.2.0.eb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ testopts = " && rm -r %(installdir)s/lib"
runtest = 'check'

sanity_check_paths = {
'files': ['lib/lib%s.%s' % (l, e) for l in ['gmp', 'gmpxx'] for e in [SHLIB_EXT, 'a']] +
'files': ['lib/lib%s.%s' % (x, e) for x in ['gmp', 'gmpxx'] for e in [SHLIB_EXT, 'a']] +
['include/gmp.h', 'include/gmpxx.h'],
'dirs': ['share'],
}
Expand Down
2 changes: 1 addition & 1 deletion easybuild/easyconfigs/g/GMP/GMP-6.3.0-GCCcore-13.3.0.eb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ testopts = " && rm -r %(installdir)s/lib"
runtest = 'check'

sanity_check_paths = {
'files': ['lib/lib%s.%s' % (l, e) for l in ['gmp', 'gmpxx'] for e in [SHLIB_EXT, 'a']] +
'files': ['lib/lib%s.%s' % (x, e) for x in ['gmp', 'gmpxx'] for e in [SHLIB_EXT, 'a']] +
['include/gmp.h', 'include/gmpxx.h'],
'dirs': ['share'],
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ _bins = ['bin/igzip']
_includes = ['include/%(namelower)s.h']
_includes += ['include/isa-l/%s.h' % i for i in ['crc64', 'crc', 'erasure_code', 'gf_vect_mul', 'igzip_lib',
'mem_routines', 'raid', 'test', 'types']]
_libs = ['lib/libisal.%s' % l for l in ['a', 'la', SHLIB_EXT]]
_libs = ['lib/libisal.%s' % x for x in ['a', 'la', SHLIB_EXT]]

sanity_check_paths = {
'files': _bins + _includes + _libs,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ _bins = ['bin/igzip']
_includes = ['include/%(namelower)s.h']
_includes += ['include/isa-l/%s.h' % i for i in ['crc64', 'crc', 'erasure_code', 'gf_vect_mul', 'igzip_lib',
'mem_routines', 'raid', 'test', 'types']]
_libs = ['lib/libisal.%s' % l for l in ['a', 'la', SHLIB_EXT]]
_libs = ['lib/libisal.%s' % x for x in ['a', 'la', SHLIB_EXT]]

sanity_check_paths = {
'files': _bins + _includes + _libs,
Expand Down
2 changes: 1 addition & 1 deletion easybuild/easyconfigs/i/ITK/ITK-5.2.1-foss-2020b.eb
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ local_lib_names = ['ITKCommon', 'ITKIOHDF5', 'ITKIOJPEG', 'ITKIOPNG', 'ITKIOTIFF

sanity_check_paths = {
'files': ['bin/itkTestDriver'] +
['lib/lib%s-%%(version_major)s.%%(version_minor)s.%s' % (l, SHLIB_EXT) for l in local_lib_names],
['lib/lib%s-%%(version_major)s.%%(version_minor)s.%s' % (x, SHLIB_EXT) for x in local_lib_names],
'dirs': ['include/ITK-%(version_major)s.%(version_minor)s', 'share'],
}

Expand Down
2 changes: 1 addition & 1 deletion easybuild/easyconfigs/i/ITK/ITK-5.2.1-foss-2021a.eb
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ local_lib_names = ['ITKCommon', 'ITKIOHDF5', 'ITKIOJPEG', 'ITKIOPNG', 'ITKIOTIFF

sanity_check_paths = {
'files': ['bin/itkTestDriver'] +
['lib/lib%s-%%(version_major)s.%%(version_minor)s.%s' % (l, SHLIB_EXT) for l in local_lib_names],
['lib/lib%s-%%(version_major)s.%%(version_minor)s.%s' % (x, SHLIB_EXT) for x in local_lib_names],
'dirs': ['include/ITK-%(version_major)s.%(version_minor)s', 'share'],
}

Expand Down
2 changes: 1 addition & 1 deletion easybuild/easyconfigs/i/ITK/ITK-5.2.1-foss-2021b.eb
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ local_lib_names = ['ITKCommon', 'ITKIOHDF5', 'ITKIOJPEG', 'ITKIOPNG', 'ITKIOTIFF

sanity_check_paths = {
'files': ['bin/itkTestDriver'] +
['lib/lib%s-%%(version_major)s.%%(version_minor)s.%s' % (l, SHLIB_EXT) for l in local_lib_names],
['lib/lib%s-%%(version_major)s.%%(version_minor)s.%s' % (x, SHLIB_EXT) for x in local_lib_names],
'dirs': ['include/ITK-%(version_major)s.%(version_minor)s', 'share'],
}

Expand Down
2 changes: 1 addition & 1 deletion easybuild/easyconfigs/i/ITK/ITK-5.2.1-foss-2022a.eb
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ local_lib_names = ['ITKCommon', 'ITKIOHDF5', 'ITKIOJPEG', 'ITKIOPNG', 'ITKIOTIFF

sanity_check_paths = {
'files': ['bin/itkTestDriver'] +
['lib/lib%s-%%(version_major)s.%%(version_minor)s.%s' % (l, SHLIB_EXT) for l in local_lib_names],
['lib/lib%s-%%(version_major)s.%%(version_minor)s.%s' % (x, SHLIB_EXT) for x in local_lib_names],
'dirs': ['include/ITK-%(version_major)s.%(version_minor)s', 'lib/python%(pyshortver)s/site-packages', 'share'],
}

Expand Down
2 changes: 1 addition & 1 deletion easybuild/easyconfigs/i/ITK/ITK-5.2.1-fosscuda-2020b.eb
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ local_lib_names = ['ITKCommon', 'ITKIOHDF5', 'ITKIOJPEG', 'ITKIOPNG', 'ITKIOTIFF

sanity_check_paths = {
'files': ['bin/itkTestDriver'] +
['lib/lib%s-%%(version_major)s.%%(version_minor)s.%s' % (l, SHLIB_EXT) for l in local_lib_names],
['lib/lib%s-%%(version_major)s.%%(version_minor)s.%s' % (x, SHLIB_EXT) for x in local_lib_names],
'dirs': ['include/ITK-%(version_major)s.%(version_minor)s', 'share'],
}

Expand Down
2 changes: 1 addition & 1 deletion easybuild/easyconfigs/i/ITK/ITK-5.3.0-foss-2022b.eb
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ local_lib_names = ['ITKCommon', 'ITKIOHDF5', 'ITKIOJPEG', 'ITKIOPNG', 'ITKIOTIFF

sanity_check_paths = {
'files': ['bin/itkTestDriver'] +
['lib/lib%s-%%(version_major)s.%%(version_minor)s.%s' % (l, SHLIB_EXT) for l in local_lib_names],
['lib/lib%s-%%(version_major)s.%%(version_minor)s.%s' % (x, SHLIB_EXT) for x in local_lib_names],
'dirs': ['include/ITK-%(version_major)s.%(version_minor)s', 'lib/python%(pyshortver)s/site-packages', 'share'],
}

Expand Down
2 changes: 1 addition & 1 deletion easybuild/easyconfigs/i/ITK/ITK-5.3.0-foss-2023a.eb
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ local_lib_names = ['ITKCommon', 'ITKIOHDF5', 'ITKIOJPEG', 'ITKIOPNG', 'ITKIOTIFF

sanity_check_paths = {
'files': ['bin/itkTestDriver'] +
['lib/lib%s-%%(version_major)s.%%(version_minor)s.%s' % (l, SHLIB_EXT) for l in local_lib_names],
['lib/lib%s-%%(version_major)s.%%(version_minor)s.%s' % (x, SHLIB_EXT) for x in local_lib_names],
'dirs': ['include/ITK-%(version_major)s.%(version_minor)s', 'lib/python%(pyshortver)s/site-packages', 'share'],
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ version = '1.3.5'
versionsuffix = '-R-%(rver)s'

homepage = 'https://github.com/dchristop/inflection'
description = """inflection is a package that finds the inflection point of a planar curve which is given as a data frame
of discrete (xi,yi) points"""
description = """inflection is a package that finds the inflection point of a planar curve which is given as
a data frame of discrete (xi,yi) points"""

toolchain = {'name': 'foss', 'version': '2023a'}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ _solinks = [
"libaio.%s.1" % SHLIB_EXT,
]

postinstallcmds = ["cd %%(installdir)s/lib && ln -s %s %s" % (_soname, l) for l in _solinks]
postinstallcmds = ["cd %%(installdir)s/lib && ln -s %s %s" % (_soname, x) for x in _solinks]

sanity_check_paths = {
'files': ['lib/%s' % l for l in ['libaio.a', _soname] + _solinks] + ['include/libaio.h'],
'files': ['lib/%s' % x for x in ['libaio.a', _soname] + _solinks] + ['include/libaio.h'],
'dirs': [],
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ _solinks = [
"libaio.%s.1" % SHLIB_EXT,
]

postinstallcmds = ["cd %%(installdir)s/lib && ln -s %s %s" % (_soname, l) for l in _solinks]
postinstallcmds = ["cd %%(installdir)s/lib && ln -s %s %s" % (_soname, x) for x in _solinks]

sanity_check_paths = {
'files': ['lib/%s' % l for l in ['libaio.a', _soname] + _solinks] + ['include/libaio.h'],
'files': ['lib/%s' % x for x in ['libaio.a', _soname] + _solinks] + ['include/libaio.h'],
'dirs': [],
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ _solinks = [
"libaio.%s.1" % SHLIB_EXT,
]

postinstallcmds = ["cd %%(installdir)s/lib && ln -s %s %s" % (_soname, l) for l in _solinks]
postinstallcmds = ["cd %%(installdir)s/lib && ln -s %s %s" % (_soname, x) for x in _solinks]

sanity_check_paths = {
'files': ['lib/%s' % l for l in ['libaio.a', _soname] + _solinks] + ['include/libaio.h'],
'files': ['lib/%s' % x for x in ['libaio.a', _soname] + _solinks] + ['include/libaio.h'],
'dirs': [],
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ _solinks = [
"libaio.%s.1" % SHLIB_EXT,
]

postinstallcmds = ["cd %%(installdir)s/lib && ln -s %s %s" % (_soname, l) for l in _solinks]
postinstallcmds = ["cd %%(installdir)s/lib && ln -s %s %s" % (_soname, x) for x in _solinks]

sanity_check_paths = {
'files': ['lib/%s' % l for l in ['libaio.a', _soname] + _solinks] + ['include/libaio.h'],
'files': ['lib/%s' % x for x in ['libaio.a', _soname] + _solinks] + ['include/libaio.h'],
'dirs': [],
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ _solinks = [
"libaio.%s.1" % SHLIB_EXT,
]

postinstallcmds = ["cd %%(installdir)s/lib && ln -s %s %s" % (_soname, l) for l in _solinks]
postinstallcmds = ["cd %%(installdir)s/lib && ln -s %s %s" % (_soname, x) for x in _solinks]

sanity_check_paths = {
'files': ['lib/%s' % l for l in ['libaio.a', _soname] + _solinks] + ['include/libaio.h'],
'files': ['lib/%s' % x for x in ['libaio.a', _soname] + _solinks] + ['include/libaio.h'],
'dirs': [],
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ _solinks = [
"libaio.%s.1" % SHLIB_EXT,
]

postinstallcmds = ["cd %%(installdir)s/lib && ln -s %s %s" % (_soname, l) for l in _solinks]
postinstallcmds = ["cd %%(installdir)s/lib && ln -s %s %s" % (_soname, x) for x in _solinks]

sanity_check_paths = {
'files': ['lib/%s' % l for l in ['libaio.a', _soname] + _solinks] + ['include/libaio.h'],
'files': ['lib/%s' % x for x in ['libaio.a', _soname] + _solinks] + ['include/libaio.h'],
'dirs': [],
}

Expand Down
Loading
Loading