summaryrefslogtreecommitdiff
path: root/portato/backend/system_interface.py
diff options
context:
space:
mode:
Diffstat (limited to 'portato/backend/system_interface.py')
-rw-r--r--portato/backend/system_interface.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/portato/backend/system_interface.py b/portato/backend/system_interface.py
index 40834f9..9af0b33 100644
--- a/portato/backend/system_interface.py
+++ b/portato/backend/system_interface.py
@@ -21,6 +21,18 @@ class SystemInterface:
@rtype: string[]"""
raise NotImplementedError
+
+ def cpv_matches (self, cpv, criterion):
+ """Checks whether a cpv matches a specific criterion.
+
+ @param cpv: cpv to check
+ @type cpv: string
+ @param criterion: criterion to check against
+ @type criterion: string
+ @returns: match result
+ @rtype: boolean"""
+
+ raise NotImplementedError
def find_best(self, list):
"""Returns the best package out of a list of packages.