# Description: Run a subprocess in a pseudo terminal
# URL: https://github.com/pexpect/ptyprocess
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: python3-build python3-flit-core python3-installer

name=python3-ptyprocess
version=0.7.0
release=1
source=(https://pypi.io/packages/source/p/ptyprocess/ptyprocess-$version.tar.gz)

build() {
  cd ptyprocess-$version

  /usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
  /usr/bin/python3 -m installer --compile-bytecode 0 --destdir=$PKG dist/*.whl
}
