fix filter_file
This commit is contained in:
		| @@ -196,4 +196,4 @@ def install(self, spec, prefix): | ||||
|             # See https://github.com/Homebrew/homebrew-science/issues/2148#issuecomment-103614509 | ||||
|             # A workaround it to remove PyTrilinos from the COMPONENTS_LIST : | ||||
|             if '+python' in self.spec: | ||||
|                 filter_file(r'(?:SET\(COMPONENTS_LIST.*)(PyTrilinos;)(?:.*)',  '',  '%s/cmake/Trilinos/TrilinosConfig.cmake' % prefix.lib) | ||||
|                 filter_file(r'(SET\(COMPONENTS_LIST.*)(PyTrilinos;)(.*)',  (r'\1\3'),  '%s/cmake/Trilinos/TrilinosConfig.cmake' % prefix.lib) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Denis Davydov
					Denis Davydov