pkgname: python-imagesize pkgver: '2.0.0' pkgrel: '1' pkgdesc: Getting image size from png/jpeg/jpeg2000/gif file url: 'https://github.com/shibukawa/imagesize_py' arch: x86_64 depends: [] makedepends: - python-setuptools - python-wheel source: - 'https://files.pythonhosted.org/packages/source/i/imagesize/imagesize-${pkgver}.tar.gz' sha256sums: - 8e8358c4a05c304f1fccf7ff96f036e7243a189e9e42e90851993c558cfe9ee3 build: "cd imagesize-${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 imagesize\n\ \nfind ${PKGDIR} -type d -name vendor -o -name tests |xargs rm -rf \n" package: | true