[arch-commits] Commit in python-quart-cors (3 files)

Maxime Gauduin alucryd at archlinux.org
Thu May 23 17:28:35 UTC 2019


    Date: Thursday, May 23, 2019 @ 17:28:35
  Author: alucryd
Revision: 469442

archrelease: copy trunk to community-any

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

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

Copied: python-quart-cors/repos/community-any/PKGBUILD (from rev 469441, python-quart-cors/trunk/PKGBUILD)
===================================================================
--- repos/community-any/PKGBUILD	                        (rev 0)
+++ repos/community-any/PKGBUILD	2019-05-23 17:28:35 UTC (rev 469442)
@@ -0,0 +1,47 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=python-quart-cors
+pkgver=0.1.3
+pkgrel=1
+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-setuptools
+)
+checkdepends=(
+  python-pytest
+  python-pytest-asyncio
+  python-pytest-cov
+  python-pytest-sugar
+  python-tox
+)
+source=(git+https://gitlab.com/pgjones/quart-cors.git#tag=${pkgver})
+sha256sums=(SKIP)
+
+build() {
+  cd quart-cors
+
+  python setup.py build
+}
+
+check() {
+  cd quart-cors
+
+  tox -e py37
+}
+
+package() {
+  cd quart-cors
+
+  python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1
+  install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/python-quart-cors/
+}
+
+# vim: ts=2 sw=2 et:


More information about the arch-commits mailing list