1 self
.description
= "Sync with ignore causing top-level to be ignored"
3 packageA1
= pmpkg("packageA1")
4 packageA1
.depends
= ["packageA2=1.0-1", "packageA3=1.0-1"];
5 self
.addpkg2db("local", packageA1
)
7 packageA2
= pmpkg("packageA2")
8 packageA2
.depends
= ["packageA4=1.0-1", "packageA5=1.0-1"];
9 self
.addpkg2db("local", packageA2
)
11 packageA3
= pmpkg("packageA3")
12 self
.addpkg2db("local", packageA3
)
14 packageA4
= pmpkg("packageA4")
15 self
.addpkg2db("local", packageA4
)
17 packageA5
= pmpkg("packageA5")
18 self
.addpkg2db("local", packageA5
)
20 packageA1up
= pmpkg("packageA1", "2.0-1")
21 packageA1up
.depends
= ["packageA2=2.0-1", "packageA3=2.0-1"];
22 self
.addpkg2db("sync", packageA1up
)
24 packageA2up
= pmpkg("packageA2", "2.0-1")
25 packageA2up
.depends
= ["packageA4=2.0-1", "packageA5=2.0-1"];
26 self
.addpkg2db("sync", packageA2up
)
28 packageA3up
= pmpkg("packageA3", "2.0-1")
29 self
.addpkg2db("sync", packageA3up
)
31 packageA4up
= pmpkg("packageA4", "2.0-1")
32 self
.addpkg2db("sync", packageA4up
)
34 packageA5up
= pmpkg("packageA5", "2.0-1")
35 self
.addpkg2db("sync", packageA5up
)
38 self
.option
["IgnorePkg"] = ["packageA3"]
39 self
.args
= "-S packageA1"
41 self
.addrule("PACMAN_RETCODE=1")
42 self
.addrule("PKG_VERSION=packageA1|1.0-1")
43 self
.addrule("PKG_VERSION=packageA2|1.0-1")
44 self
.addrule("PKG_VERSION=packageA3|1.0-1")
45 self
.addrule("PKG_VERSION=packageA4|1.0-1")
46 self
.addrule("PKG_VERSION=packageA5|1.0-1")