#Packager: Dimitris Tzemos <dijemos~at~gmail~dot~com>

pkgname=python-pexpect
pkgver=4.8.0
pkgrel=1dj
source=("https://github.com/pexpect/pexpect/archive/$pkgver.tar.gz")
docs=("authors" "install" "readme.rst" "license" "developers.rst")
url=https://pexpect.readthedocs.io

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"python-pexpect (makes Python a better tool for controlling other apps)"
"Pexpect is a pure Python module for spawning child applications;"
"controlling them; and responding to expected patterns in their output."
"Pexpect works like Don Libes’ Expect. Pexpect allows your script to"
"spawn a child application and control it as if a human were typing"
"commands."
)

build() {
	cd $startdir/src/pexpect-$pkgver
	python2 setup.py install --prefix=/usr --root=$startdir/pkg
	python3 setup.py install --prefix=/usr --root=$startdir/pkg
}
