void-packages/srcpkgs/python-urwid/template
2020-10-10 10:22:21 -04:00

22 lines
722 B
Bash

# Template file for 'python-urwid'
pkgname=python-urwid
version=2.1.0
revision=2
wrksrc="urwid-${version}"
build_style="python-module"
hostmakedepends="python-setuptools python3-setuptools"
makedepends="python-devel python3-devel"
short_desc="Console user interface library for Python2"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="http://urwid.org/"
changelog="https://raw.githubusercontent.com/urwid/urwid/master/docs/changelog.rst"
distfiles="${PYPI_SITE}/u/urwid/urwid-${version}.tar.gz"
checksum=0896f36060beb6bf3801cb554303fef336a79661401797551ba106d23ab4cd86
python3-urwid_package() {
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}