# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
# Maintainer: Alexander F. Rødseth <xyproto@archlinux.org>
# Contributor: Aaron Schaefer <aaron@elasticdog.com>

pkgname=python-pexpect
pkgver=4.9.0
pkgrel=2
pkgdesc='For controlling and automating applications'
arch=(any)
url='https://pexpect.readthedocs.org/en/stable/'
license=(MIT)
depends=(python-ptyprocess)
makedepends=(git python-setuptools)
source=("git+https://github.com/pexpect/pexpect#commit=aa989594e1e413f45c18b26ded1783f7d5990fe5") # 4.9.0
sha512sums=('SKIP')

package() {
  cd pexpect
  python setup.py install --root="$pkgdir"
  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
