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

Evangelos Foutras foutrelis at gemini.archlinux.org
Sun Mar 6 15:39:02 UTC 2022


    Date: Sunday, March 6, 2022 @ 15:39:02
  Author: foutrelis
Revision: 1142444

archrelease: copy trunk to community-staging-any

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

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

Copied: uvicorn/repos/community-staging-any/PKGBUILD (from rev 1142443, uvicorn/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2022-03-06 15:39:02 UTC (rev 1142444)
@@ -0,0 +1,38 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=uvicorn
+pkgver=0.17.0.post1
+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=e659cf5d87c2aaf9ca8863625be436d7694471a4
+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