pkgname: 'python-fonttools' pkgver: '4.63.0' pkgrel: '1' pkgdesc: 'A library to manipulate font files from Python' url: 'https://github.com/fonttools/fonttools' arch: x86_64 license: - MLT depends: [] makedepends: - 'python-setuptools' - 'python-wheel' - cython source: - 'https://github.com/fonttools/fonttools/archive/refs/tags/${pkgver}.tar.gz' sha256sums: - SKIP build: | cd fonttools-${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} \ fonttools find ${PKGDIR} -type d -name vendor -o -name tests |xargs rm -rf install -Dm644 LICENSE ${PKGDIR}/usr/share/licenses/${pkgname}/LICENSE install -Dm644 LICENSE.external ${PKGDIR}/usr/share/licenses/${pkgname}/LICENSE.external package: | true