From b1b30c633f3a7fe36d24fb6db1eb36d82fdadf5d Mon Sep 17 00:00:00 2001 From: Chris Green Date: Tue, 28 Nov 2023 20:58:41 -0600 Subject: [PATCH] Style fixes: flake8 --- .../repos/builtin/packages/catch2/package.py | 18 ------------------ .../repos/builtin/packages/protobuf/package.py | 10 ++++------ .../repos/builtin/packages/rust/package.py | 6 +++--- 3 files changed, 7 insertions(+), 27 deletions(-) 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 \