1 self
.description
= "Install a package from a sync db with cascaded dependencies + provides"
3 sp1
= pmpkg("dummy", "1.0-2")
4 sp1
.depends
= ["dep1", "dep2=1.0-2"]
7 sp2
.files
= ["bin/dep1"]
8 sp2
.provides
= ["dep2"]
10 sp3
= pmpkg("dep2", "1.0-2")
12 for p
in sp1
, sp2
, sp3
:
13 self
.addpkg2db("sync", p
);
15 self
.args
= "-S %s" % sp1
.name
17 self
.addrule("PACMAN_RETCODE=0")
18 self
.addrule("PKG_VERSION=dummy|1.0-2")
19 self
.addrule("PKG_EXIST=dep1")
20 self
.addrule("PKG_EXIST=dep2")