summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2008-03-04 22:07:26 +0100
committerRené 'Necoro' Neumann <necoro@necoro.net>2008-03-04 22:07:26 +0100
commit49b00c4ddca1b112e48aebc2f9c95c3a21c9bf48 (patch)
tree1073d757465d07992f424e392b81a7239de6b033
parent615173a21c7efb8e7df57a64f1f3ee30d971a4db (diff)
downloadportato-49b00c4ddca1b112e48aebc2f9c95c3a21c9bf48.tar.gz
portato-49b00c4ddca1b112e48aebc2f9c95c3a21c9bf48.tar.bz2
portato-49b00c4ddca1b112e48aebc2f9c95c3a21c9bf48.zip
Registered "get_dependencies" in the abstract Package.
Diffstat (limited to '')
-rw-r--r--portato/backend/package.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/portato/backend/package.py b/portato/backend/package.py
index da44e8a..f75360d 100644
--- a/portato/backend/package.py
+++ b/portato/backend/package.py
@@ -333,6 +333,17 @@ class Package (_Package):
@rtype: string<iterator>
"""
+ raise NotImplementedError
+
+ def get_dependencies (self):
+ """
+ Returns the tree of dependencies that this package needs.
+
+ @rtype: L{DependencyTree}
+ """
+
+ raise NotImplementedError
+
def get_package_settings(self, var, tree = None):
"""Returns a package specific setting, such as DESCRIPTION, SRC_URI, IUSE ...