Date: Monday, October 24, 2022 @ 08:57:57 Author: alucryd Revision: 1334525
upgpkg: python-quart-cors 0.5.0-4 Modified: python-quart-cors/trunk/PKGBUILD ----------+ PKGBUILD | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-10-24 08:55:12 UTC (rev 1334524) +++ PKGBUILD 2022-10-24 08:57:57 UTC (rev 1334525) @@ -2,7 +2,7 @@ pkgname=python-quart-cors pkgver=0.5.0 -pkgrel=3 +pkgrel=4 pkgdesc='A Quart extension to provide Cross Origin Resource Sharing, access control, support' url=https://gitlab.com/pgjones/quart-cors arch=(any) @@ -13,8 +13,9 @@ ) makedepends=( git - python-pip - python-poetry + python-build + python-installer + python-poetry-core ) checkdepends=( python-pytest @@ -46,7 +47,7 @@ build() { cd quart-cors - poetry build --format wheel + python -m build --wheel --no-isolation } check() { @@ -56,7 +57,7 @@ } package() { - PIP_CONFIG_FILE=/dev/null pip install --isolated --root="${pkgdir}" --ignore-installed --no-deps quart-cors/dist/*.whl + python -m installer --destdir="${pkgdir}" quart-cors/dist/*.whl install -Dm 644 quart-cors/LICENSE -t "${pkgdir}"/usr/share/licenses/python-quart-cors/ }
