#Packager: George Vlahavas <vlahavas~at~gmail~dot~com>

pkgname=python-ptyprocess
pkgver=0.5.1
pkgrel=1gv
source=("https://pypi.python.org/packages/source/p/ptyprocess/ptyprocess-$pkgver.tar.gz")
docs=("readme" "install" "copying" "changelog" "authors" "news" "todo")
url=https://pypi.python.org/pypi/ptyprocess

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"python-ptyprocess (Run a subprocess in a pseudo terminal)"
"With ptyprocess, you can launch a subprocess in a pseudo terminal"
"(pty), and interact with both the process and its pty. Sometimes,"
"piping stdin and stdout is not enough. There might be a password"
"prompt that doesn’t read from stdin, output that changes when it’s"
"going to a pipe rather than a terminal, or curses-style interfaces"
"that rely on a terminal. If you need to automate these things,"
"running the process in a pseudo terminal (pty) is the answer."
)


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