blob: 4ac1a015d8867df130c402cb4ef3e1cf4ed0a787 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
self.description = "Sysupgrade: upgrade pacman being depended on"
sp = pmpkg("pacman", "4.0.1-1")
self.addpkg2db("sync", sp)
sp2 = pmpkg("pyalpm", "2-1")
sp2.depends = ["pacman>=4.0", "pacman<4.1"]
self.addpkg2db("sync", sp2)
lp = pmpkg("pacman", "3.5.4-1")
self.addpkg2db("local", lp)
lp2 = pmpkg("pyalpm", "1-1")
lp2.depends = ["pacman>=3.5", "pacman<3.6"]
self.addpkg2db("local", lp2)
self.option["SyncFirst"] = ["pacman"]
self.args = "-Su"
self.addrule("PACMAN_RETCODE=0")
self.addrule("PKG_EXIST=pacman")
self.addrule("PKG_VERSION=pacman|4.0.1-1")
self.addrule("PKG_EXIST=pyalpm")
self.addrule("PKG_VERSION=pyalpm|2-1")
self.expectfailure = True
|