pkgname: 'python-poetry-core' pkgver: '2.4.1' pkgrel: '1' pkgdesc: 'Poetry PEP 517 Build Backend & Core Utilities' url: 'https://github.com/python-poetry/poetry-core' arch: x86_64 depends: [] makedepends: - 'python-setuptools' - 'python-wheel' source: - 'https://github.com/python-poetry/poetry-core/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz' sha256sums: - SKIP build: | cd poetry-core-${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} \ poetry-core find ${PKGDIR} -type d -name vendor -o -name tests |xargs rm -rf package: | true