pkgname: 'python-evdev' pkgver: '1.9.3' pkgrel: '1' pkgdesc: 'Python bindings for the Linux input subsystem' url: 'https://python-evdev.readthedocs.io/en/latest/' arch: x86_64 depends: [] makedepends: - 'python-setuptools' - 'python-wheel' source: - 'https://pypi.org/packages/source/e/evdev/evdev-${pkgver}.tar.gz' sha256sums: - SKIP build: | cd evdev-${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} \ evdev find ${PKGDIR} -type d -name vendor -o -name tests |xargs rm -rf package: | true