# Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=py-pexpect _pkgname=${pkgname#py-} pkgver=4.1.0 pkgrel=0 pkgdesc="Make Python a better tool for controlling and automating other programs" url="http://pexpect.readthedocs.org/en/stable" arch="noarch" license="MIT" depends="python py-ptyprocess" makedepends="python-dev" subpackages="$pkgname-doc" source="$pkgname-$pkgver.tar.gz::https://github.com/pexpect/$_pkgname/archive/$pkgver.tar.gz" builddir="$srcdir/$_pkgname-$pkgver" build() { cd "$builddir" python setup.py build || return 1 } package() { cd "$builddir" python setup.py install --prefix=/usr --root="$pkgdir" || return 1 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } md5sums="049f3c98f4b0b7426e6b5d8a01566786 py-pexpect-4.1.0.tar.gz" sha256sums="be665e01713acc296014a9883bc1ab12232424053ae884a317864b0e8ece6f93 py-pexpect-4.1.0.tar.gz" sha512sums="eecd0a4d621e9c14249922bfc36efb8e89c527625d2e2f4fdc0053911f3666e5de7608ce08e023a4020a6baefadbd4643fe32b9e8c34d961296c6b388a2cc2d5 py-pexpect-4.1.0.tar.gz"