pkgname: 'python-pexpect' pkgver: '4.9.0' pkgrel: '7' pkgdesc: 'For controlling and automating applications.' url: 'https://pexpect.readthedocs.org/en/stable/' arch: x86_64 depends: [] makedepends: - git - 'python-setuptools' - 'python-wheel' - 'python-ptyprocess' source: [] sha256sums: [] build: | git clone https://github.com/pexpect/pexpect.git cd pexpect git checkout 4.9 pip3 wheel -w dist \ --no-build-isolation \ --no-deps $PWD pip3 install --no-index \ --find-links dist \ --no-cache-dir \ --no-user \ --root=${PKGDIR} \ pexpect find ${PKGDIR} -type d -name vendor -o -name tests |xargs rm -rf package: | true