[arch-commits] Commit in uvicorn/repos (2 files)

Felix Yan felixonmars at gemini.archlinux.org
Wed Dec 1 14:53:23 UTC 2021


    Date: Wednesday, December 1, 2021 @ 14:53:23
  Author: felixonmars
Revision: 1059470

archrelease: copy trunk to community-staging-any

Added:
  uvicorn/repos/community-staging-any/
  uvicorn/repos/community-staging-any/PKGBUILD
    (from rev 1059467, uvicorn/trunk/PKGBUILD)

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

Copied: uvicorn/repos/community-staging-any/PKGBUILD (from rev 1059467, uvicorn/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-12-01 14:53:23 UTC (rev 1059470)
@@ -0,0 +1,38 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=uvicorn
+pkgver=0.15.0
+pkgrel=2
+pkgdesc='The lightning-fast ASGI server'
+arch=('any')
+url='https://github.com/encode/uvicorn'
+license=('BSD')
+depends=('python' 'python-asgiref' 'python-click' 'python-h11' 'python-websockets' 'python-httptools' 'python-uvloop')
+optdepends=('python-watchgod: watchgod reload')
+makedepends=('git' 'python-setuptools')
+_tag=a6dff714f03d4b2434fa2ca6d800d2f42d8477ef
+source=("git+$url#tag=${_tag}")
+sha512sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+
+  git describe --tags
+}
+
+build() {
+  cd $pkgname
+
+  python setup.py build
+}
+
+package() {
+  cd $pkgname
+
+  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