void-packages/srcpkgs/python-urwid/template

24 lines
680 B
Bash

# Template file for 'python-urwid'
pkgname=python-urwid
version=2.0.1
revision=2
wrksrc="urwid-${version}"
build_style="python-module"
hostmakedepends="python-setuptools python3-setuptools"
makedepends="python-devel python3-devel"
pycompile_module="urwid"
short_desc="Console user interface library for Python2"
maintainer="Orphaned <orphan@voidlinux.org>"
homepage="http://urwid.org/"
license="LGPL-2.1"
distfiles="${PYPI_SITE}/u/urwid/urwid-${version}.tar.gz"
checksum=644d3e3900867161a2fc9287a9762753d66bd194754679adb26aede559bcccbc
python3-urwid_package() {
pycompile_module="urwid"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}