[arch-commits] Commit in python-quart-cors/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Mon Nov 4 07:50:27 UTC 2019
Date: Monday, November 4, 2019 @ 07:50:26
Author: felixonmars
Revision: 523583
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 523582, python-quart-cors/trunk/PKGBUILD)
----------+
PKGBUILD | 47 +++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)
Copied: python-quart-cors/repos/community-staging-any/PKGBUILD (from rev 523582, python-quart-cors/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-11-04 07:50:26 UTC (rev 523583)
@@ -0,0 +1,47 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=python-quart-cors
+pkgver=0.2.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-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 py38
+}
+
+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