[arch-commits] Commit in python-quart/repos (2 files)
Evangelos Foutras
foutrelis at gemini.archlinux.org
Sun Mar 6 15:48:23 UTC 2022
Date: Sunday, March 6, 2022 @ 15:48:23
Author: foutrelis
Revision: 1142544
archrelease: copy trunk to community-staging-any
Added:
python-quart/repos/community-staging-any/
python-quart/repos/community-staging-any/PKGBUILD
(from rev 1142542, python-quart/trunk/PKGBUILD)
----------+
PKGBUILD | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 59 insertions(+)
Copied: python-quart/repos/community-staging-any/PKGBUILD (from rev 1142542, python-quart/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2022-03-06 15:48:23 UTC (rev 1142544)
@@ -0,0 +1,59 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=python-quart
+pkgver=0.16.2
+pkgrel=2
+pkgdesc='A Python ASGI web microframework with the same API as Flask'
+url=https://gitlab.com/pgjones/quart
+arch=(any)
+license=(MIT)
+depends=(
+ hypercorn
+ python-aiofiles
+ python-blinker
+ python-click
+ python-itsdangerous
+ python-jinja
+ python-toml
+ python-werkzeug
+)
+makedepends=(
+ git
+ python-pip
+ python-poetry
+)
+checkdepends=(
+ python-asynctest
+ python-distlib
+ python-hypothesis
+ python-pytest
+ python-pytest-asyncio
+ python-pytest-cov
+ python-pytest-sugar
+ python-tox
+)
+_tag=68a5bc4e98a07d903e7bfe148c1b7faa260f4334
+source=(git+https://gitlab.com/pgjones/quart.git#tag=${_tag})
+sha256sums=(SKIP)
+
+pkgver() {
+ cd quart
+ git describe --tags
+}
+
+build() {
+ cd quart
+ poetry build -f wheel
+}
+
+check() {
+ cd quart
+ #tox -e py310
+}
+
+package() {
+ 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