1 self
.description
= "Sysupgrade with a versioned replacement, original disappears"
3 sp1
= pmpkg("python2-yaml", "5-1")
4 sp1
.replaces
= ["python-yaml<5"]
5 sp1
.conflicts
= ["python-yaml<5"]
6 sp1
.files
= ["lib/python2/file"]
7 self
.addpkg2db("sync", sp1
)
9 lp1
= pmpkg("python-yaml", "4-1")
10 lp1
.files
= ["lib/python2/file"]
11 self
.addpkg2db("local", lp1
)
15 self
.addrule("PACMAN_RETCODE=0")
16 self
.addrule("!PKG_EXIST=python-yaml")
17 self
.addrule("PKG_VERSION=python2-yaml|5-1")
18 self
.addrule("FILE_EXIST=lib/python2/file")