# Contributor: Jakub Jirutka # Maintainer: Francesco Colista pkgname=py3-ptyprocess _pkgname=ptyprocess pkgver=0.6.0 pkgrel=2 pkgdesc="Run a subprocess in a pseudo terminal" url="https://github.com/pexpect/ptyprocess" arch="noarch" license="ISC" depends="python3" makedepends="py3-setuptools" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir/$_pkgname-$pkgver" replaces="py-ptyprocess" # Backwards compatibility provides="py-ptyprocess=$pkgver-r$pkgrel" # Backwards compatibility build() { python3 setup.py build } check() { python3 -m unittest } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="b34b6bca977f09d1443b210e338e1300e12d6ef35857f9543b3a116ef3b500ad4844357a7a283321756f886af41bddb1f02b27bf200ef1e82a96fd9e431bed86 ptyprocess-0.6.0.tar.gz"