contrib/python3-pexpect/Pkgfile

18 lines
530 B
Plaintext

# Description: Pexpect makes Python a better tool for controlling other applications
# URL: https://github.com/pexpect/pexpect
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: python3-ptyprocess
name=python3-pexpect
version=4.8.0
release=1
source=(https://github.com/pexpect/pexpect/archive/$version/$name-$version.tar.gz)
build() {
cd pexpect-$version
sed -i 's,env python,env python3,' pexpect/FSM.py
#/usr/bin/python3 setup.py build
/usr/bin/python3 setup.py install --prefix=/usr \
--root=$PKG
}