# 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-wheel name=python3-ptyprocess version=0.7.0 release=2 source=(https://pypi.io/packages/source/p/ptyprocess/ptyprocess-$version.tar.gz pyproject.patch) build() { cd ptyprocess-$version patch -Np1 -i $SRC/pyproject.patch sed -i -e '/makeSuite/d' tests/test_invalid_binary.py /usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation /usr/bin/python3 -m installer --compile-bytecode 0 --destdir=$PKG dist/*.whl }