[arch-commits] Commit in python-quart/repos/community-any (PKGBUILD PKGBUILD)
Maxime Gauduin
alucryd at gemini.archlinux.org
Thu Aug 18 13:36:34 UTC 2022
Date: Thursday, August 18, 2022 @ 13:36:34
Author: alucryd
Revision: 1267347
archrelease: copy trunk to community-any
Added:
python-quart/repos/community-any/PKGBUILD
(from rev 1267346, python-quart/trunk/PKGBUILD)
Deleted:
python-quart/repos/community-any/PKGBUILD
----------+
PKGBUILD | 110 ++++++++++++++++++++++++++++---------------------------------
1 file changed, 51 insertions(+), 59 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-08-18 13:36:23 UTC (rev 1267346)
+++ PKGBUILD 2022-08-18 13:36:34 UTC (rev 1267347)
@@ -1,59 +0,0 @@
-# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-
-pkgname=python-quart
-pkgver=0.17.0
-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=638a8e02493441f6c15cf19266d1ae80a2d984d1
-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:
Copied: python-quart/repos/community-any/PKGBUILD (from rev 1267346, python-quart/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-08-18 13:36:34 UTC (rev 1267347)
@@ -0,0 +1,51 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=python-quart
+pkgver=0.18.0
+pkgrel=1
+pkgdesc='A Python ASGI web microframework with the same API as Flask'
+url=https://github.com/pallets/quart
+arch=(any)
+license=(MIT)
+depends=(
+ hypercorn
+ python-aiofiles
+ python-blinker
+ python-click
+ python-importlib-metadata
+ python-itsdangerous
+ python-jinja
+ python-markupsafe
+ python-werkzeug
+)
+makedepends=(
+ git
+ python-build
+ python-installer
+ python-poetry-core
+ python-wheel
+)
+_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
+}
+
+build() {
+ cd quart
+ python -m build --wheel --no-isolation
+}
+
+package() {
+ python -m installer --destdir="${pkgdir}" 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