* update python-quart to 0.20.0-1
This commit is contained in:
parent
c8c051e92c
commit
19e8a696b4
@ -1,26 +1,32 @@
|
||||
pkgbase = python-quart
|
||||
pkgdesc = A Python ASGI web microframework with the same API as Flask
|
||||
pkgver = 0.19.6
|
||||
pkgrel = 2
|
||||
pkgver = 0.20.0
|
||||
pkgrel = 1
|
||||
url = https://github.com/pallets/quart
|
||||
arch = any
|
||||
license = MIT
|
||||
checkdepends = python-dotenv
|
||||
checkdepends = python-hypothesis
|
||||
checkdepends = python-pytest
|
||||
checkdepends = python-pytest-asyncio
|
||||
makedepends = git
|
||||
makedepends = python-build
|
||||
makedepends = python-flit-core
|
||||
makedepends = python-installer
|
||||
makedepends = python-poetry-core
|
||||
makedepends = python-wheel
|
||||
depends = hypercorn
|
||||
depends = python
|
||||
depends = python-aiofiles
|
||||
depends = python-blinker
|
||||
depends = python-click
|
||||
depends = python-flask
|
||||
depends = python-importlib-metadata
|
||||
depends = python-itsdangerous
|
||||
depends = python-jinja
|
||||
depends = python-markupsafe
|
||||
depends = python-werkzeug
|
||||
source = git+https://github.com/pallets/quart.git#tag=2fc6d4fa6e3df017e8eef1411ec80b5a6dce25a5
|
||||
sha256sums = 7118e6bb103b8f8384b32822900307407be27d06d1645f23a31123d1f163f43a
|
||||
optdepends = python-dotenv: support for .env files
|
||||
source = git+https://github.com/pallets/quart.git#tag=22aa3859884ee3d670c68e48d1945bc65af51a1a
|
||||
sha256sums = 3995aecbf78b1a8ee25bc1c2c086cd971c599e31b5114d69ef4404fb3a50b3fa
|
||||
|
||||
pkgname = python-quart
|
||||
|
@ -2,8 +2,8 @@
|
||||
# Maintainer: Maxime Gauduin <alucryd@archlinux.org>
|
||||
|
||||
pkgname=python-quart
|
||||
pkgver=0.19.6
|
||||
pkgrel=2
|
||||
pkgver=0.20.0
|
||||
pkgrel=1
|
||||
pkgdesc='A Python ASGI web microframework with the same API as Flask'
|
||||
url=https://github.com/pallets/quart
|
||||
arch=(any)
|
||||
@ -14,6 +14,7 @@ depends=(
|
||||
python-aiofiles
|
||||
python-blinker
|
||||
python-click
|
||||
python-flask
|
||||
python-importlib-metadata
|
||||
python-itsdangerous
|
||||
python-jinja
|
||||
@ -23,13 +24,20 @@ depends=(
|
||||
makedepends=(
|
||||
git
|
||||
python-build
|
||||
python-flit-core
|
||||
python-installer
|
||||
python-poetry-core
|
||||
python-wheel
|
||||
)
|
||||
_tag=2fc6d4fa6e3df017e8eef1411ec80b5a6dce25a5
|
||||
checkdepends=(
|
||||
python-dotenv
|
||||
python-hypothesis
|
||||
python-pytest
|
||||
python-pytest-asyncio
|
||||
)
|
||||
optdepends=('python-dotenv: support for .env files')
|
||||
_tag=22aa3859884ee3d670c68e48d1945bc65af51a1a
|
||||
source=(git+https://github.com/pallets/quart.git#tag=${_tag})
|
||||
sha256sums=('7118e6bb103b8f8384b32822900307407be27d06d1645f23a31123d1f163f43a')
|
||||
sha256sums=('3995aecbf78b1a8ee25bc1c2c086cd971c599e31b5114d69ef4404fb3a50b3fa')
|
||||
|
||||
prepare() {
|
||||
sed 's/name = "Quart"/name = "quart"/' -i quart/pyproject.toml
|
||||
@ -45,9 +53,16 @@ build() {
|
||||
python -m build --wheel --no-isolation
|
||||
}
|
||||
|
||||
check() {
|
||||
cd quart
|
||||
python -m venv --system-site-packages test-env
|
||||
test-env/bin/python -m installer dist/*.whl
|
||||
test-env/bin/python -m pytest --override-ini="addopts="
|
||||
}
|
||||
|
||||
package() {
|
||||
python -m installer --destdir="${pkgdir}" quart/dist/*.whl
|
||||
install -Dm 644 quart/LICENSE -t "${pkgdir}"/usr/share/licenses/python-quart/
|
||||
install -Dm 644 quart/LICENSE.txt -t "${pkgdir}"/usr/share/licenses/python-quart/
|
||||
}
|
||||
|
||||
# vim: ts=2 sw=2 et:
|
||||
|
Loading…
x
Reference in New Issue
Block a user