# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py3-dialog
pkgver=3.4.0
pkgrel=1
pkgdesc="A Python3 interface to the UNIX dialog utility and mostly-compatible programs"
url="http://pythondialog.sourceforge.net/"
arch="noarch"
license="LGPL"
depends="dialog"
makedepends="python3-dev binutils"
source="http://downloads.sourceforge.net/project/pythondialog/pythondialog/${pkgver}/python3-pythondialog-${pkgver}.tar.bz2"
builddir="$srcdir"/pythondialog-$pkgver

build() {
	cd "$builddir"
	python3 setup.py build
}

check() {
	cd "$builddir"
	python3 setup.py check
}

package() {
	cd "$builddir"
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

md5sums="3d5ebc33e85f6313964f5eef720dab19  python3-pythondialog-3.4.0.tar.bz2"
sha256sums="019cdbffe3f61d32d6fb158ce48a767478af2aac2f31fb40460b39aefae604fe  python3-pythondialog-3.4.0.tar.bz2"
sha512sums="a810128459133c4e416f4b04b8dd98b2230f046b8762e6b29c4e02e1458fa96029d37137a71cc01aee292106867a6f30026941ed1f727b7e48cbe976d96d7ed4  python3-pythondialog-3.4.0.tar.bz2"
