summaryrefslogtreecommitdiff
path: root/portato/backend/package.py
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2009-10-05 15:25:22 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2009-10-05 15:25:22 +0200
commitce9f4821e2238ca2961002ad3f872e8432267ee2 (patch)
treee79dd48001e5a54d863ae0c43ab84ecc71e5e976 /portato/backend/package.py
parent7a38fcc10c89f401cdd2acb716f5200ad906fd9c (diff)
downloadportato-ce9f4821e2238ca2961002ad3f872e8432267ee2.tar.gz
portato-ce9f4821e2238ca2961002ad3f872e8432267ee2.tar.bz2
portato-ce9f4821e2238ca2961002ad3f872e8432267ee2.zip
Enhanced system.sort_package_list to also sort CPVs
Diffstat (limited to 'portato/backend/package.py')
-rw-r--r--portato/backend/package.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/portato/backend/package.py b/portato/backend/package.py
index 8a80fd5..c085816 100644
--- a/portato/backend/package.py
+++ b/portato/backend/package.py
@@ -371,16 +371,6 @@ class Package (_Package):
raise NotImplementedError
- def compare_version(self, other):
- """Compares this package's version to another's CPV; returns -1, 0, 1.
-
- @param other: the other package
- @type other: Package
- @returns: -1, 0 or 1
- @rtype: int"""
-
- raise NotImplementedError
-
def matches (self, criterion):
"""This checks, whether this package matches a specific versioning criterion - e.g.: "<=net-im/foobar-1.2".