diff options
author | Dan McGee <dan@archlinux.org> | 2010-10-08 16:53:10 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-10-14 06:29:26 +0200 |
commit | 8aa7ed5a7e82eaa40c2ee68271226787710f8f08 (patch) | |
tree | 854f70ae52b9990905d8b2dd801b5961b23080b8 /test/pacman/pmpkg.py | |
parent | 6f37ba61ed79876b23d3328185186d9ac0c3332c (diff) | |
download | pacman-8aa7ed5a7e82eaa40c2ee68271226787710f8f08.tar.gz pacman-8aa7ed5a7e82eaa40c2ee68271226787710f8f08.tar.xz |
Add epoch support to pactest
This adds epoch support to pactest, while still producing packages and
database entries the same way makepkg and repo-add currently do in a
backward compatible fashion (still including the 'force' option).
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'test/pacman/pmpkg.py')
-rwxr-xr-x | test/pacman/pmpkg.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/pacman/pmpkg.py b/test/pacman/pmpkg.py index 1d55175e..aaee28bc 100755 --- a/test/pacman/pmpkg.py +++ b/test/pacman/pmpkg.py @@ -48,8 +48,9 @@ class pmpkg: self.csize = 0 self.reason = 0 self.md5sum = "" # sync only - self.replaces = [] # sync only (will be moved to depends) - self.force = 0 # sync only (will be moved to depends) + self.replaces = [] + self.force = 0 + self.epoch = 0 # depends self.depends = [] self.optdepends = [] |