1 self
.description
= "Query info on a package (new date)"
4 p
.files
= ["bin/foobar"]
5 p
.desc
= "test description"
7 p
.url
= "http://www.archlinux.org"
11 p
.builddate
= "1196640127"
12 p
.packager
= "Arch Linux"
14 self
.addpkg2db("local", p
)
16 self
.args
= "-Qi %s" % p
.name
18 self
.addrule("PACMAN_RETCODE=0")
19 self
.addrule("PACMAN_OUTPUT=^Name.*%s" % p
.name
)
20 self
.addrule("PACMAN_OUTPUT=^Description.*%s" % p
.desc
)
21 self
.addrule("PACMAN_OUTPUT=^Build Date.* 2007")