diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2022-07-30 15:19:18 -0700 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2022-07-31 13:29:20 -0700 |
commit | f52f6e99dbf1131886a80112b8c79dfc414afb7c (patch) | |
tree | 05cb7d64b2395922f2f24683da49f472075be12c /var/spack/repos/builtin/packages/vc/package.py | |
parent | 549ba1ed32372c67fc57271cde3797d58b7dec6e (diff) | |
download | spack-f52f6e99dbf1131886a80112b8c79dfc414afb7c.tar.gz spack-f52f6e99dbf1131886a80112b8c79dfc414afb7c.tar.bz2 spack-f52f6e99dbf1131886a80112b8c79dfc414afb7c.tar.xz spack-f52f6e99dbf1131886a80112b8c79dfc414afb7c.zip |
black: reformat entire repository with black
Diffstat (limited to 'var/spack/repos/builtin/packages/vc/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/vc/package.py | 36 |
1 files changed, 19 insertions, 17 deletions
diff --git a/var/spack/repos/builtin/packages/vc/package.py b/var/spack/repos/builtin/packages/vc/package.py index 12f67f75d8..f7cc66baa4 100644 --- a/var/spack/repos/builtin/packages/vc/package.py +++ b/var/spack/repos/builtin/packages/vc/package.py @@ -10,30 +10,32 @@ class Vc(CMakePackage): """SIMD Vector Classes for C++""" homepage = "https://github.com/VcDevel/Vc" - url = "https://github.com/VcDevel/Vc/archive/1.3.0.tar.gz" + url = "https://github.com/VcDevel/Vc/archive/1.3.0.tar.gz" - version('1.4.2', sha256='50d3f151e40b0718666935aa71d299d6370fafa67411f0a9e249fbce3e6e3952') - version('1.4.1', sha256='7e8b57ed5ff9eb0835636203898c21302733973ff8eaede5134dd7cb87f915f6') - version('1.3.0', sha256='2309a19eea136e1f9d5629305b2686e226093e23fe5b27de3d6e3d6084991c3a') - version('1.2.0', sha256='9cd7b6363bf40a89e8b1d2b39044b44a4ce3f1fd6672ef3fc45004198ba28a2b') - version('1.1.0', sha256='281b4c6152fbda11a4b313a0a0ca18565ee049a86f35f672f1383967fef8f501') + version("1.4.2", sha256="50d3f151e40b0718666935aa71d299d6370fafa67411f0a9e249fbce3e6e3952") + version("1.4.1", sha256="7e8b57ed5ff9eb0835636203898c21302733973ff8eaede5134dd7cb87f915f6") + version("1.3.0", sha256="2309a19eea136e1f9d5629305b2686e226093e23fe5b27de3d6e3d6084991c3a") + version("1.2.0", sha256="9cd7b6363bf40a89e8b1d2b39044b44a4ce3f1fd6672ef3fc45004198ba28a2b") + version("1.1.0", sha256="281b4c6152fbda11a4b313a0a0ca18565ee049a86f35f672f1383967fef8f501") - variant('build_type', default='RelWithDebInfo', - description='The build type to build', - values=('Debug', 'Release', 'RelWithDebug', - 'RelWithDebInfo', 'MinSizeRel')) + variant( + "build_type", + default="RelWithDebInfo", + description="The build type to build", + values=("Debug", "Release", "RelWithDebug", "RelWithDebInfo", "MinSizeRel"), + ) # Build fails without it when --test is used, can't be type='test': - depends_on('virtest') + depends_on("virtest") def patch(self): - tests = FileFilter('tests/CMakeLists.txt') - tests.filter(';AVX2', '') - tests.filter('.*logarithm.*', '') - tests.filter('.*trigonometric.*', '') + tests = FileFilter("tests/CMakeLists.txt") + tests.filter(";AVX2", "") + tests.filter(".*logarithm.*", "") + tests.filter(".*trigonometric.*", "") def cmake_args(self): if self.run_tests: - return ['-DBUILD_TESTING=ON'] + return ["-DBUILD_TESTING=ON"] else: - return ['-DBUILD_TESTING=OFF'] + return ["-DBUILD_TESTING=OFF"] |