pkgname: 'python-ply' pkgver: '3.11' pkgrel: '18' pkgdesc: 'Implementation of lex and yacc parsing tools' url: 'http://www.dabeaz.com/ply/' arch: x86_64 depends: [] makedepends: - 'python-setuptools' - 'python-wheel' source: - 'https://pypi.io/packages/source/p/ply/ply-${pkgver}.tar.gz' sha256sums: - SKIP build: | cd ply-${pkgver} pip3 wheel -w dist \ --no-build-isolation \ --no-deps $PWD pip3 install --no-index \ --find-links dist \ --no-cache-dir \ --no-user \ --root=${PKGDIR} \ ply find ${PKGDIR} -type d -name vendor -o -name tests |xargs rm -rf package: | true