Date: Monday, October 24, 2022 @ 08:36:12 Author: alucryd Revision: 1334519
python-poetry -> python-poetry-core Modified: python-aiofiles/trunk/PKGBUILD ----------+ PKGBUILD | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-10-24 08:36:07 UTC (rev 1334518) +++ PKGBUILD 2022-10-24 08:36:12 UTC (rev 1334519) @@ -3,18 +3,21 @@ pkgname=python-aiofiles pkgver=22.1.0 -pkgrel=1 +pkgrel=2 pkgdesc='File support for asyncio' arch=(any) license=(APACHE) url=https://github.com/Tinche/aiofiles +depends=(python) makedepends=( git - python-pip - python-poetry + python-build + python-installer + python-poetry-core ) checkdepends=( python-coverage + python-poetry python-pytest-asyncio python-pytest python-pytest-cov @@ -32,17 +35,16 @@ build() { cd aiofiles - poetry build --format wheel + python -m build --wheel --no-isolation } check() { cd aiofiles - SETUPTOOLS_USE_DISTUTILS=stdlib \ - tox -e py310 + SETUPTOOLS_USE_DISTUTILS=stdlib tox -e py310 } package() { - PIP_CONFIG_FILE=/dev/null pip install --isolated --root="${pkgdir}" --ignore-installed --no-deps aiofiles/dist/*.whl + python -m installer --destdir="${pkgdir}" aiofiles/dist/*.whl install -Dm 644 aiofiles/LICENSE -t "${pkgdir}"/usr/share/licenses/python-aiofiles/ }
