From 20936d87003f587e059c5c2f418f7cfc096ded11 Mon Sep 17 00:00:00 2001 From: Chris Green Date: Tue, 28 Nov 2023 20:58:41 -0600 Subject: [PATCH] Style fixes: flake8 --- bin/spack | 2 +- .../repos/builtin/packages/catch2/package.py | 18 ------------------ .../repos/builtin/packages/protobuf/package.py | 10 ++++------ .../repos/builtin/packages/rust/package.py | 6 +++--- 4 files changed, 8 insertions(+), 28 deletions(-) diff --git a/bin/spack b/bin/spack index 7f3d704b912d6f..14c26ae2b397ac 100755 --- a/bin/spack +++ b/bin/spack @@ -1,5 +1,5 @@ #!/usr/bin/python3 -I -#!/bin/sh +# #!/bin/sh # -*- python -*- # # Copyright 2013-2023 Lawrence Livermore National Security, LLC and other diff --git a/var/spack/repos/builtin/packages/catch2/package.py b/var/spack/repos/builtin/packages/catch2/package.py index 167e9e15b10968..d3b661ef8cbf19 100644 --- a/var/spack/repos/builtin/packages/catch2/package.py +++ b/var/spack/repos/builtin/packages/catch2/package.py @@ -17,7 +17,6 @@ class Catch2(CMakePackage): maintainers("ax3l", "greenc-FNAL") # In-Development - version("develop", branch="devel") # Releases @@ -121,23 +120,6 @@ class Catch2(CMakePackage): ) variant("shared", when="@3:", default=False, description="Build shared library") - def patch(self): - filter_file( - r"#include ", - "#include \n#include ", - "src/catch2/internal/catch_string_manip.hpp", - ) - filter_file( - r"#include ", - "#include \n#include ", - "src/catch2/internal/catch_xmlwriter.hpp", - ) - filter_file( - r"#include ", - "#include \n#include ", - "src/catch2/catch_test_case_info.hpp", - ) - def patch(self): filter_file( r"#include \