[arch-commits] Commit in python-quart-cors/repos (2 files)

Maxime Gauduin alucryd at gemini.archlinux.org
Mon Dec 6 10:12:47 UTC 2021


    Date: Monday, December 6, 2021 @ 10:12:47
  Author: alucryd
Revision: 1065261

archrelease: copy trunk to community-staging-any

Added:
  python-quart-cors/repos/community-staging-any/
  python-quart-cors/repos/community-staging-any/PKGBUILD
    (from rev 1065260, python-quart-cors/trunk/PKGBUILD)

----------+
 PKGBUILD |   62 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 62 insertions(+)

Copied: python-quart-cors/repos/community-staging-any/PKGBUILD (from rev 1065260, python-quart-cors/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-12-06 10:12:47 UTC (rev 1065261)
@@ -0,0 +1,62 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=python-quart-cors
+pkgver=0.5.0
+pkgrel=2
+pkgdesc='A Quart extension to provide Cross Origin Resource Sharing, access control, support'
+url=https://gitlab.com/pgjones/quart-cors
+arch=(any)
+license=(MIT)
+depends=(
+  python
+  python-quart
+)
+makedepends=(
+  git
+  python-pip
+  python-poetry
+)
+checkdepends=(
+  python-pytest
+  python-pytest-asyncio
+  python-pytest-cov
+  python-pytest-sugar
+  python-tox
+)
+_tag=597b48b6bf0cd6a73327f05063915aca4afc0662
+source=(git+https://gitlab.com/pgjones/quart-cors.git#tag=${_tag})
+sha256sums=(SKIP)
+
+prepare() {
+  cd quart-cors
+  git cherry-pick -n ba39c2f3ffad89c4a9761d838c5d4f10048b6cc5
+  git cherry-pick -n 5f7568c3843f1df71916424d98a944110cf1d7b2
+  git cherry-pick -n eaedcc2b8698b28602849e8fd0f35e9d615a2e42
+  git cherry-pick -n dcd8d6bee19c155c62409c264ddb7a5002bd98de
+  git cherry-pick -n d879adcbbc45180fbc420ec2b4d5a28d395d5a60
+  git cherry-pick -n d27921855ba8a23c141d52d10a6401db0c9a1fc9
+  git cherry-pick -n 8555bdfc4a69f11ffd266f62eccbc0a3ab63bb38
+  rm tests/test_websocket.py
+}
+
+pkgver() {
+  cd quart-cors
+  git describe --tags
+}
+
+build() {
+  cd quart-cors
+  poetry build --format wheel
+}
+
+check() {
+  cd quart-cors
+  tox -e py310
+}
+
+package() {
+  PIP_CONFIG_FILE=/dev/null pip install --isolated --root="${pkgdir}" --ignore-installed --no-deps quart-cors/dist/*.whl
+  install -Dm 644 quart-cors/LICENSE -t "${pkgdir}"/usr/share/licenses/python-quart-cors/
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list