summaryrefslogtreecommitdiff
path: root/portato
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2009-05-15 18:34:34 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2009-05-15 18:34:34 +0200
commiteb9f7af6073d0295d6f2b8b5cef0b8a3da7267c8 (patch)
tree3a25e69374c5a589fcfe7333d72bfe453221d5b2 /portato
parent9a4046fc6a557550425e865d019d2dca1c1a9a55 (diff)
downloadportato-eb9f7af6073d0295d6f2b8b5cef0b8a3da7267c8.tar.gz
portato-eb9f7af6073d0295d6f2b8b5cef0b8a3da7267c8.tar.bz2
portato-eb9f7af6073d0295d6f2b8b5cef0b8a3da7267c8.zip
Add 'eapi_supported'
Diffstat (limited to 'portato')
-rw-r--r--portato/backend/portage/system.py3
-rw-r--r--portato/backend/system_interface.py6
2 files changed, 9 insertions, 0 deletions
diff --git a/portato/backend/portage/system.py b/portato/backend/portage/system.py
index 7470fdc..d7c7806 100644
--- a/portato/backend/portage/system.py
+++ b/portato/backend/portage/system.py
@@ -49,6 +49,9 @@ class PortageSystem (SystemInterface):
"system" : syssets.SystemSet
}
+ def eapi_supported (self, eapi):
+ return portage.eapi_is_supported(eapi)
+
def has_set_support (self):
return False
diff --git a/portato/backend/system_interface.py b/portato/backend/system_interface.py
index 5f4c50a..43de1ec 100644
--- a/portato/backend/system_interface.py
+++ b/portato/backend/system_interface.py
@@ -17,6 +17,12 @@ class SystemInterface (object):
SET_INSTALLED = "__portato_installed__"
SET_UNINSTALLED = "__portato_uninstalled__"
+ def eapi_supported (self, eapi):
+ """Signals, whether the given eapi is supported.
+
+ @rtype: boolean"""
+ raise NotImplementedError
+
def has_set_support (self):
"""Signals, whether this backend supports sets.
deletions'>-1/+1 2022-02-01Move resources to own folderRené 'Necoro' Neumann5-4/+4 2022-02-01Icon and better windows dataRené 'Necoro' Neumann6-1/+51 2022-02-01Combo BoxesRené 'Necoro' Neumann2-22/+27 2022-02-01Add windows manifestRené 'Necoro' Neumann3-0/+34 2022-02-01Use our version of giuRené 'Necoro' Neumann2-2/+4 2022-02-01go mod tidyRené 'Necoro' Neumann2-4/+3 2022-02-01Use up2date giuRené 'Necoro' Neumann1-1/+1 2022-02-01GUI: GridLayoutRené 'Necoro' Neumann1-2/+62 2022-01-29[release]: Move checkout to the frontRené 'Necoro' Neumann1-3/+3 2022-01-29[release]: Make Windows build link staticRené 'Necoro' Neumann1-1/+1 2022-01-29[release]: Fix multiple issuesRené 'Necoro' Neumann1-10/+8 2022-01-29Start with a basic GUIRené 'Necoro' Neumann4-2/+73 2022-01-29[release]: Fix github variable syntaxRené 'Necoro' Neumann1-2/+2 2022-01-29Build on windows and linuxRené 'Necoro' Neumann1-6/+9 2022-01-29Build on windows and linuxRené 'Necoro' Neumann1-45/+58 2022-01-25const blockRené 'Necoro' Neumann1-3/+5 2022-01-25Slight restructuringRené 'Necoro' Neumann2-84/+93 2022-01-24Add test stuff to .gitignoreRené 'Necoro' Neumann1-1/+7 2022-01-24Factor out `writeOutput`René 'Necoro' Neumann1-15/+15 2022-01-24Create clubs and participants files also via templateRené 'Necoro' Neumann4-113/+63