pkgname: 'python-curl' pkgver: '7.48.0' pkgrel: '1' pkgdesc: 'PycURL is a Python interface to libcurl' url: 'http://pycurl.io/' arch: x86_64 depends: - curl - openssl makedepends: - 'python-setuptools' - 'python-wheel' - curl source: - 'https://github.com/pycurl/pycurl/archive/refs/tags/v${pkgver}.tar.gz' sha256sums: - 03b715d61ff7609d50f5f8156f557ce3f32597d3018b55c0531cd2b025956e8d build: | cd pycurl-${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} \ pycurl find ${PKGDIR} -type d -name vendor -o -name tests |xargs rm -rf package: | true