[arch-commits] Commit in uvicorn/trunk (PKGBUILD)
Maxime Gauduin
alucryd at gemini.archlinux.org
Wed Jul 28 08:48:13 UTC 2021
Date: Wednesday, July 28, 2021 @ 08:48:13
Author: alucryd
Revision: 988589
uvicorn 0.14.0-2: FS#71429 add dep on python-asgiref
Modified:
uvicorn/trunk/PKGBUILD
----------+
PKGBUILD | 22 +++++++++++++++-------
1 file changed, 15 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-07-28 08:47:46 UTC (rev 988588)
+++ PKGBUILD 2021-07-28 08:48:13 UTC (rev 988589)
@@ -1,26 +1,34 @@
# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
pkgname=uvicorn
pkgver=0.14.0
-pkgrel=1
+pkgrel=2
pkgdesc='The lightning-fast ASGI server'
arch=('any')
url='https://github.com/encode/uvicorn'
license=('BSD')
-depends=('python' 'python-click' 'python-h11' 'python-websockets' 'python-httptools' 'python-uvloop')
+depends=('python' 'python-asgiref' 'python-click' 'python-h11' 'python-websockets' 'python-httptools' 'python-uvloop')
optdepends=('python-watchgod: watchgod reload')
-makedepends=('python-setuptools')
-source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
-sha512sums=('f41a7f01ac6893ceaf4d1f06a4bccd7355e319eee11d6aa290b0d316fb356eb807c926941157ec64f1fc6b7c4601930cfbe271075d6c4cf684bd7e175617390f')
+makedepends=('git' 'python-setuptools')
+_tag=87da6cf4082cd28306bdb78d7d42552d131cc179
+source=("git+$url#tag=${_tag}")
+sha512sums=('SKIP')
+pkgver() {
+ cd $pkgname
+
+ git describe --tags
+}
+
build() {
- cd $pkgname-$pkgver
+ cd $pkgname
python setup.py build
}
package() {
- cd $pkgname-$pkgver
+ cd $pkgname
python setup.py install --root="$pkgdir" --optimize=1 --skip-build
More information about the arch-commits
mailing list