1 self
.description
= "Get info on package from a sync db"
4 sp
.files
= ["bin/dummy",
5 "usr/man/man1/dummy.1"]
6 sp
.desc
= "test description"
8 sp
.url
= "http://www.archlinux.org"
11 # test both old style and new style dates
12 sp
.builddate
= "Mon Oct 1 01:40:21 2007 UTC"
13 sp
.packager
= "Arch Linux"
14 sp
.md5sum
= "00000000000000000000000000000000"
16 self
.addpkg2db("sync", sp
)
18 self
.args
= "-Si %s" % sp
.name
20 self
.addrule("PACMAN_RETCODE=0")
21 self
.addrule("PACMAN_OUTPUT=^Name.*%s" % sp
.name
)
22 self
.addrule("PACMAN_OUTPUT=^Description.*%s" % sp
.desc
)
23 self
.addrule("PACMAN_OUTPUT=^Build Date.*2007")