void-packages/srcpkgs/python-xapp/template

26 lines
700 B
Bash

# Template file for 'python-xapp'
pkgname=python-xapp
version=1.4.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=71ab0ee87df2c6902b36c66c1764b47f558ce3dd1a95b6435a0e65cee8d7eb26
python3-xapp_package() {
archs=noarch
depends="python3 python3-psutil"
pycompile_module="xapp"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}