pkgname: 'python-distro' pkgver: '1.9.0' pkgrel: '7' pkgdesc: 'Linux OS platform information API' url: 'https://github.com/nir0s/distro' arch: x86_64 depends: [] makedepends: - 'python-setuptools' - 'python-wheel' source: - 'https://github.com/nir0s/distro/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz' sha256sums: - SKIP build: | cd distro-${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} \ distro find ${PKGDIR} -type d -name vendor -o -name tests |xargs rm -rf package: | true