blob: cdb71207fac93455c1de171cf4b8d883604babc6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
self.description = "Query info on a package (reverse optdeps)"
pkg = pmpkg("dummy", "1.0-2")
pkg.optdepends = ["dep: for foobar"]
self.addpkg2db("local", pkg)
dep = pmpkg("dep")
self.addpkg2db("local", dep)
self.args = "-Qi %s" % dep.name
self.addrule("PACMAN_RETCODE=0")
self.addrule("PACMAN_OUTPUT=^Optional For.*%s" % pkg.name)
|