[arch-commits] Commit in python-quart/trunk (PKGBUILD)

Maxime Gauduin alucryd at gemini.archlinux.org
Thu Aug 18 13:36:24 UTC 2022


    Date: Thursday, August 18, 2022 @ 13:36:23
  Author: alucryd
Revision: 1267346

upgpkg: python-quart 0.18.0-1

Modified:
  python-quart/trunk/PKGBUILD

----------+
 PKGBUILD |   40 ++++++++++++++++------------------------
 1 file changed, 16 insertions(+), 24 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-08-18 13:27:30 UTC (rev 1267345)
+++ PKGBUILD	2022-08-18 13:36:23 UTC (rev 1267346)
@@ -1,10 +1,10 @@
 # Maintainer: Maxime Gauduin <alucryd at archlinux.org>
 
 pkgname=python-quart
-pkgver=0.17.0
+pkgver=0.18.0
 pkgrel=1
 pkgdesc='A Python ASGI web microframework with the same API as Flask'
-url=https://gitlab.com/pgjones/quart
+url=https://github.com/pallets/quart
 arch=(any)
 license=(MIT)
 depends=(
@@ -12,30 +12,27 @@
   python-aiofiles
   python-blinker
   python-click
+  python-importlib-metadata
   python-itsdangerous
   python-jinja
-  python-toml
+  python-markupsafe
   python-werkzeug
 )
 makedepends=(
   git
-  python-pip
-  python-poetry
+  python-build
+  python-installer
+  python-poetry-core
+  python-wheel
 )
-checkdepends=(
-  python-asynctest
-  python-distlib
-  python-hypothesis
-  python-pytest
-  python-pytest-asyncio
-  python-pytest-cov
-  python-pytest-sugar
-  python-tox
-)
-_tag=638a8e02493441f6c15cf19266d1ae80a2d984d1
-source=(git+https://gitlab.com/pgjones/quart.git#tag=${_tag})
+_tag=364c105fe28680e0a1225a4432eef757fc62f316
+source=(git+https://github.com/pallets/quart.git#tag=${_tag})
 sha256sums=(SKIP)
 
+prepare() {
+  sed 's/name = "Quart"/name = "quart"/' -i quart/pyproject.toml
+}
+
 pkgver() {
   cd quart
   git describe --tags
@@ -43,16 +40,11 @@
 
 build() {
   cd quart
-  poetry build -f wheel
+  python -m build --wheel --no-isolation
 }
 
-check() {
-  cd quart
-  #tox -e py310
-}
-
 package() {
-  PIP_CONFIG_FILE=/dev/null pip install --isolated --root="${pkgdir}" --ignore-installed --no-deps quart/dist/*.whl
+  python -m installer --destdir="${pkgdir}" quart/dist/*.whl
   install -Dm 644 quart/LICENSE -t "${pkgdir}"/usr/share/licenses/python-quart/
 }
 



More information about the arch-commits mailing list