criu-python: switch to python 3

This commit is contained in:
Đoàn Trần Công Danh 2020-09-20 14:08:57 +07:00
parent 0464e72332
commit f555f789a5
1 changed files with 5 additions and 5 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'criu'
pkgname=criu
version=3.14
revision=1
revision=2
# i686 unsupported upstream: https://criu.org/32bit_tasks_C/R#Compatible_applications
# ppc64 big endian not supported upstream
archs="x86_64* aarch64* ppc64le* armv7l*"
@ -37,12 +37,12 @@ criu-devel_package() {
}
criu-python_package() {
archs=noarch
depends="python-protobuf python-ipaddr criu-${version}_${revision}"
short_desc="Python2 bindings for criu and crit cli util"
# https://github.com/checkpoint-restore/criu/commit/4feb07020dedbf845fc00268d8ca02f4645641cd
depends="python3-protobuf criu-${version}_${revision}"
short_desc="Python bindings for criu and crit cli util"
pkg_install() {
vmove usr/bin/crit
vmove usr/share/man/man1/crit.1
vmove usr/lib/python2.7
vmove usr/lib/python${py3_ver}
}
}