[arch-commits] Commit in python-quart/trunk (PKGBUILD)
Maxime Gauduin
alucryd at gemini.archlinux.org
Wed Nov 24 13:15:57 UTC 2021
Date: Wednesday, November 24, 2021 @ 13:15:57
Author: alucryd
Revision: 1054676
upgpkg: python-quart 0.16.1-1
Modified:
python-quart/trunk/PKGBUILD
----------+
PKGBUILD | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-24 13:06:58 UTC (rev 1054675)
+++ PKGBUILD 2021-11-24 13:15:57 UTC (rev 1054676)
@@ -1,7 +1,7 @@
# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
pkgname=python-quart
-pkgver=0.15.1
+pkgver=0.16.1
pkgrel=1
pkgdesc='A Python ASGI web microframework with the same API as Flask'
url=https://gitlab.com/pgjones/quart
@@ -19,7 +19,8 @@
)
makedepends=(
git
- python-setuptools
+ python-pip
+ python-poetry
)
checkdepends=(
python-asynctest
@@ -31,7 +32,7 @@
python-pytest-sugar
python-tox
)
-_tag=34b60e976e661b44a4b8c00db3b0171ff56a5a9b
+_tag=1e953f655d13f54ad5e24e82f955992314285cd7
source=(git+https://gitlab.com/pgjones/quart.git#tag=${_tag})
sha256sums=(SKIP)
@@ -42,7 +43,7 @@
build() {
cd quart
- python setup.py build
+ poetry build -f wheel
}
check() {
@@ -51,9 +52,8 @@
}
package() {
- cd quart
- python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 --skip-build
- install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/python-quart/
+ PIP_CONFIG_FILE=/dev/null pip install --isolated --root="${pkgdir}" --ignore-installed --no-deps quart/dist/*.whl
+ install -Dm 644 quart/LICENSE -t "${pkgdir}"/usr/share/licenses/python-quart/
}
# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list