void-packages/srcpkgs/python-urwidtrees/template

27 lines
808 B
Bash

# Template file for 'python-urwidtrees'
pkgname=python-urwidtrees
version=1.0.2
revision=3
archs=noarch
wrksrc="urwidtrees-${version}"
build_style=python-module
pycompile_module="urwidtrees"
hostmakedepends="python-devel python3-devel python-urwid python3-urwid"
depends="python-urwid"
short_desc="Tree widgets for urwid (Python2)"
license="GPL-3.0-or-later"
maintainer="Felix Van der Jeugt <felix.vanderjeugt@gmail.com>"
homepage="https://github.com/pazz/urwidtrees"
distfiles="https://github.com/pazz/urwidtrees/archive/${version}.tar.gz"
checksum=703f4b161b930a26a461a3e3e695f94237ac75e2a52b87613e49093d9aa76034
python3-urwidtrees_package() {
archs=noarch
pycompile_module="urwidtrees"
depends="python3-urwid"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}