# Template file for 'python-xapp'
pkgname=python-xapp
version=1.6.0
revision=1
archs=noarch
build_style=python-module
pycompile_module="xapp"
hostmakedepends="python python3"
depends="python python-psutil"
short_desc="Python2 Xapp Library"
maintainer="John <johnz@posteo.net>"
license="LGPL-2.1-or-later"
homepage="https://github.com/linuxmint/python-xapp"
distfiles="https://github.com/linuxmint/python-xapp/archive/${version}.tar.gz"
checksum=0de55525b12166d80895ef14b0ba4583b1cd8c23d9262357a18d5f47cf7254df

python3-xapp_package() {
	archs=noarch
	depends="python3 python3-psutil"
	pycompile_module="xapp"
	short_desc="${short_desc/Python2/Python3}"
	pkg_install() {
		vmove usr/lib/python3*
	}
}
