summaryrefslogtreecommitdiff
path: root/portato/backend
diff options
context:
space:
mode:
Diffstat (limited to 'portato/backend')
-rw-r--r--portato/backend/package.py6
-rw-r--r--portato/backend/portage/package.py4
2 files changed, 10 insertions, 0 deletions
diff --git a/portato/backend/package.py b/portato/backend/package.py
index f9b675d..59d552b 100644
--- a/portato/backend/package.py
+++ b/portato/backend/package.py
@@ -241,6 +241,12 @@ class Package:
@rtype: boolean"""
raise NotImplementedError
+
+ def get_overlay_path(self):
+ """Returns the path to the current overlay.
+ @rtype: string"""
+
+ raise NotImplementedError
def is_in_system (self):
"""Returns False if the package could not be found in the portage system.
diff --git a/portato/backend/portage/package.py b/portato/backend/portage/package.py
index 38e7369..e39dbe2 100644
--- a/portato/backend/portage/package.py
+++ b/portato/backend/portage/package.py
@@ -50,6 +50,10 @@ class PortagePackage (Package):
dir,ovl = self._settings.porttree.dbapi.findname2(self._cpv)
return ovl != self._settings.settings["PORTDIR"]
+ def get_overlay_path (self):
+ dir,ovl = self._settings.porttree.dbapi.findname2(self._cpv)
+ return ovl
+
def is_in_system (self):
return (self._status != None)
> 2020-05-07Better detection if a text starts with html or notRené 'Necoro' Neumann2-4/+13 2020-05-07go fmtRené 'Necoro' Neumann1-3/+2 2020-05-07Add header X-Feed2Imap-GUIDRené 'Necoro' Neumann3-1/+7 2020-05-07update changelogRené 'Necoro' Neumann1-0/+1 2020-05-07FixRené 'Necoro' Neumann1-1/+1 2020-05-07Unified publishedDate and updatedDate into one (just as the old feed2imap...)René 'Necoro' Neumann5-21/+32 2020-05-06Print version during startupRené 'Necoro' Neumann1-1/+1 2020-05-06Improve templateRené 'Necoro' Neumann3-20/+28 2020-05-05Fix pipelineRené 'Necoro' Neumann1-2/+5 2020-05-05Make changelog a part of the release pipeline (untested)René 'Necoro' Neumann2-0/+12