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
makepkg: skip devel_check() when repackaging
[pacman-ng.git]
/
pactest
/
tests
/
upgrade004.py
blob
31daf915bcc182c5eb74cf15dab04749ec98a231
1
self
.
description
=
"Upgrade a package (not installed)"
2
3
p
=
pmpkg
(
"dummy"
)
4
p
.
files
= [
"bin/dummy"
,
5
"usr/man/man1/dummy.1"
]
6
self
.
addpkg
(
p
)
7
8
self
.
args
=
"-U
%s
"
%
p
.
filename
()
9
10
self
.
addrule
(
"PKG_EXIST=dummy"
)
11
for
f
in
p
.
files
:
12
self
.
addrule
(
"FILE_EXIST=
%s
"
%
f
)