1 self
.description
= "Install a group from a sync db using --needed"
7 sp1
= pmpkg("pkg1", "1.1-1")
11 for p
in lp1
, lp2
, lp3
, sp1
, sp2
, sp3
:
12 setattr(p
, "groups", ["grp"])
14 for p
in lp1
, lp2
, lp3
:
15 self
.addpkg2db("local", p
)
17 for p
in sp1
, sp2
, sp3
:
18 self
.addpkg2db("sync", p
);
20 self
.args
= "-S --needed grp"
22 self
.addrule("PACMAN_RETCODE=0")
23 for p
in sp1
, sp2
, sp3
:
24 self
.addrule("PKG_EXIST=%s" % p
.name
)
25 self
.addrule("PKG_VERSION=pkg1|1.1-1")