[arch-commits] Commit in uvicorn/repos/community-any (PKGBUILD PKGBUILD)

Maxime Gauduin alucryd at gemini.archlinux.org
Wed Jul 28 08:48:17 UTC 2021


    Date: Wednesday, July 28, 2021 @ 08:48:17
  Author: alucryd
Revision: 988590

archrelease: copy trunk to community-any

Added:
  uvicorn/repos/community-any/PKGBUILD
    (from rev 988589, uvicorn/trunk/PKGBUILD)
Deleted:
  uvicorn/repos/community-any/PKGBUILD

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-07-28 08:48:13 UTC (rev 988589)
+++ PKGBUILD	2021-07-28 08:48:17 UTC (rev 988590)
@@ -1,30 +0,0 @@
-# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
-
-pkgname=uvicorn
-pkgver=0.14.0
-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=('f41a7f01ac6893ceaf4d1f06a4bccd7355e319eee11d6aa290b0d316fb356eb807c926941157ec64f1fc6b7c4601930cfbe271075d6c4cf684bd7e175617390f')
-
-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:

Copied: uvicorn/repos/community-any/PKGBUILD (from rev 988589, uvicorn/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-07-28 08:48:17 UTC (rev 988590)
@@ -0,0 +1,38 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=uvicorn
+pkgver=0.14.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=87da6cf4082cd28306bdb78d7d42552d131cc179
+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