[arch-commits] Commit in python-quart-cors/trunk (PKGBUILD)
Maxime Gauduin
alucryd at archlinux.org
Sun Feb 9 15:58:51 UTC 2020
Date: Sunday, February 9, 2020 @ 15:58:50
Author: alucryd
Revision: 565423
upgpkg: python-quart-cors 0.3.0-1
Modified:
python-quart-cors/trunk/PKGBUILD
----------+
PKGBUILD | 16 +++++++++++-----
1 file changed, 11 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-02-09 15:58:38 UTC (rev 565422)
+++ PKGBUILD 2020-02-09 15:58:50 UTC (rev 565423)
@@ -1,8 +1,8 @@
# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
pkgname=python-quart-cors
-pkgver=0.2.0
-pkgrel=2
+pkgver=0.3.0
+pkgrel=1
pkgdesc='A Quart extension to provide Cross Origin Resource Sharing, access control, support'
url=https://gitlab.com/pgjones/quart-cors
arch=(any)
@@ -22,9 +22,15 @@
python-pytest-sugar
python-tox
)
-source=(git+https://gitlab.com/pgjones/quart-cors.git#tag=${pkgver})
-sha256sums=('SKIP')
+source=(git+https://gitlab.com/pgjones/quart-cors.git#tag=d2cb4c71c2afab7b93c8dabdde90d88732482374)
+sha256sums=(SKIP)
+pkgver() {
+ cd quart-cors
+
+ git describe --tags
+}
+
build() {
cd quart-cors
@@ -40,7 +46,7 @@
package() {
cd quart-cors
- python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1
+ python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 --skip-build
install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/python-quart-cors/
}
More information about the arch-commits
mailing list