[arch-commits] Commit in uvicorn/trunk (PKGBUILD)

Filipe Laíns ffy00 at archlinux.org
Sat May 30 22:16:19 UTC 2020


    Date: Saturday, May 30, 2020 @ 22:16:19
  Author: ffy00
Revision: 637551

upgpkg: uvicorn 0.11.5-1

Added:
  uvicorn/trunk/PKGBUILD

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

Added: PKGBUILD
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-05-30 22:16:19 UTC (rev 637551)
@@ -0,0 +1,30 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+pkgname=uvicorn
+pkgver=0.11.5
+pkgrel=1
+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')
+optdepends=('python-watchgod: watchgod reload')
+makedepends=('python-setuptools')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
+sha512sums=('8bff2ffb06b91cc2323b0ada271379fec611075dd8e4970713fec8af59ea19d804a759503e4495c38854ee9e1ee0ea28d52a9cf478b4b998474537ea63ab43db')
+
+build() {
+  cd $pkgname-$pkgver
+
+  python setup.py build
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+
+  install -Dm 644 LICENSE.md "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list