# Contributor: Thomas Boerger # Maintainer: Thomas Boerger pkgname=py3-prompt_toolkit _pkgname=prompt_toolkit pkgver=2.0.9 pkgrel=2 pkgdesc="Library for building powerful interactive command lines in Python" url="https://pypi.python.org/pypi/prompt_toolkit" arch="noarch" license="BSD-3-Clause" depends="py3-six py3-wcwidth" makedepends="py3-setuptools" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir/$_pkgname-$pkgver" replaces=py-prompt_toolkit # Backwards compatibility provides=py-prompt_toolkit=$pkgver-r$pkgrel # Backwards compatibility build() { python3 setup.py build } check() { python3 setup.py check } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="8fd0f8f2d05ba81dbdd02e2885652dc8d4e756d3cfc57646328c6ebc3e0e38242604cadc72c7f2479850800c8f0e9f555ffab33df3061800f9a99744d857afd3 prompt_toolkit-2.0.9.tar.gz"