[arch-commits] Commit in (3 files)
Maxime Gauduin
alucryd at archlinux.org
Thu May 23 17:28:23 UTC 2019
Date: Thursday, May 23, 2019 @ 17:28:23
Author: alucryd
Revision: 469441
add python-quart-cors
Added:
python-quart-cors/
python-quart-cors/trunk/
python-quart-cors/trunk/PKGBUILD
----------+
PKGBUILD | 47 +++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)
Added: python-quart-cors/trunk/PKGBUILD
===================================================================
--- python-quart-cors/trunk/PKGBUILD (rev 0)
+++ python-quart-cors/trunk/PKGBUILD 2019-05-23 17:28:23 UTC (rev 469441)
@@ -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