# Template file for 'python-xapp'
pkgname=python-xapp
version=1.8.1
revision=2
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=f407edf5db6a30fcdec26a24addc86dc7b7ed891890fb128dd36675a95434355

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