In accordance with review comments; it's small enough this seems fitting.pull/8888/head
parent
fbeb62101c
commit
493dc6ed10
11 changed files with 26 additions and 44 deletions
@ -1,29 +0,0 @@ |
||||
# SPDX-License-Identifier: Apache-2.0 |
||||
# Copyright © 2021 Intel Corporation |
||||
|
||||
from .base import DependencyTypeName, ExternalDependency, DependencyMethods |
||||
import typing as T |
||||
|
||||
if T.TYPE_CHECKING: |
||||
from ..environment import Environment |
||||
|
||||
__all__ = [ |
||||
'SystemDependency', |
||||
] |
||||
|
||||
|
||||
class SystemDependency(ExternalDependency): |
||||
|
||||
"""Dependency base for System type dependencies.""" |
||||
|
||||
def __init__(self, name: str, env: 'Environment', kwargs: T.Dict[str, T.Any], |
||||
language: T.Optional[str] = None) -> None: |
||||
super().__init__(DependencyTypeName('system'), env, kwargs, language=language) |
||||
self.name = name |
||||
|
||||
@staticmethod |
||||
def get_methods() -> T.List[DependencyMethods]: |
||||
return [DependencyMethods.SYSTEM] |
||||
|
||||
def log_tried(self) -> str: |
||||
return 'system' |
Loading…
Reference in new issue