repo.or.cz
/
pacman-ng.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Move important information up in -Si output
[pacman-ng.git]
/
test
/
pacman
/
tests
/
query004.py
blob
8c58012696158243a2c1dbfb4b947240bc67ca52
1
self
.
description
=
"Query a package"
2
3
p
=
pmpkg
(
"foobar"
)
4
p
.
files
= [
"bin/foobar"
]
5
self
.
addpkg2db
(
"local"
,
p
)
6
7
self
.
args
=
"-Q
%s
"
%
p
.
name
8
9
self
.
addrule
(
"PACMAN_RETCODE=0"
)
10
self
.
addrule
(
"PACMAN_OUTPUT=^
%s
"
%
p
.
name
)