void-packages/srcpkgs/python-xapp/template

26 lines
692 B
Bash

# Template file for 'python-xapp'
pkgname=python-xapp
version=1.2.0
revision=1
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.0-only"
homepage="https://github.com/linuxmint/python-xapp"
distfiles="https://github.com/linuxmint/python-xapp/archive/${version}.tar.gz"
checksum=a81e50b1a16efcd2db0db99afbeebf56a4dfd45b008ec5bc606db0adc7cb9ac0
noarch=yes
python3-xapp_package() {
noarch=yes
depends="python3 python3-psutil"
pycompile_module="xapp"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}