[arch-commits] Commit in python-quart/repos/community-any (PKGBUILD PKGBUILD)

Maxime Gauduin alucryd at gemini.archlinux.org
Wed Nov 24 13:16:02 UTC 2021


    Date: Wednesday, November 24, 2021 @ 13:16:02
  Author: alucryd
Revision: 1054677

archrelease: copy trunk to community-any

Added:
  python-quart/repos/community-any/PKGBUILD
    (from rev 1054676, python-quart/trunk/PKGBUILD)
Deleted:
  python-quart/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  119 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 59 insertions(+), 60 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-24 13:15:57 UTC (rev 1054676)
+++ PKGBUILD	2021-11-24 13:16:02 UTC (rev 1054677)
@@ -1,60 +0,0 @@
-# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-
-pkgname=python-quart
-pkgver=0.15.1
-pkgrel=1
-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-setuptools
-)
-checkdepends=(
-  python-asynctest
-  python-distlib
-  python-hypothesis
-  python-pytest
-  python-pytest-asyncio
-  python-pytest-cov
-  python-pytest-sugar
-  python-tox
-)
-_tag=34b60e976e661b44a4b8c00db3b0171ff56a5a9b
-source=(git+https://gitlab.com/pgjones/quart.git#tag=${_tag})
-sha256sums=(SKIP)
-
-pkgver() {
-  cd quart
-  git describe --tags
-}
-
-build() {
-  cd quart
-  export PYTHONHASHSEED=0
-  python setup.py build
-}
-
-check() {
-  cd quart
-  tox -e py39
-}
-
-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/
-}
-
-# vim: ts=2 sw=2 et:

Copied: python-quart/repos/community-any/PKGBUILD (from rev 1054676, python-quart/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-11-24 13:16:02 UTC (rev 1054677)
@@ -0,0 +1,59 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=python-quart
+pkgver=0.16.1
+pkgrel=1
+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=1e953f655d13f54ad5e24e82f955992314285cd7
+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 py39
+}
+
+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