pkgname: python-chardet pkgver: '5.2.0' pkgrel: '7' pkgdesc: Module for character encoding auto-detection url: 'https://github.com/chardet/chardet' arch: x86_64 depends: [] makedepends: - python-setuptools - python-wheel source: - 'https://pypi.io/packages/source/c/chardet/chardet-${pkgver}.tar.gz' sha256sums: - 1b3b6ff479a8c414bc3fa2c0852995695c4a026dcd6d0633b2dd092ca39c1cf7 build: "cd chardet-${pkgver}\n\npip3 wheel -w dist \\\n --no-build-isolation \\\n --no-deps $PWD\npip3 install --no-index\ \ \\\n --find-links dist \\\n --no-cache-dir \\\n --no-user \\\n --root=${PKGDIR} \\\n chardet\n\n\ find ${PKGDIR} -type d -name vendor -o -name tests |xargs rm -rf \n" package: | true