void-packages/srcpkgs/python-urwid/template
2021-10-09 08:00:36 -04:00

22 lines
722 B
Bash

# Template file for 'python-urwid'
pkgname=python-urwid
version=2.1.2
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=588bee9c1cb208d0906a9f73c613d2bd32c3ed3702012f51efe318a3f2127eae
python3-urwid_package() {
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}