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

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


    Date: Saturday, May 30, 2020 @ 22:13:14
  Author: ffy00
Revision: 637547

upgpkg: python-uvloop 0.14.0-1 (add missing pure python files)

Added:
  python-uvloop/trunk/PKGBUILD

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

Added: PKGBUILD
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-05-30 22:13:14 UTC (rev 637547)
@@ -0,0 +1,31 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_pkgname=uvloop
+pkgname=python-$_pkgname
+pkgver=0.14.0
+pkgrel=1
+pkgdesc='Ultra fast asyncio event loop'
+arch=('x86_64')
+url='https://github.com/MagicStack/uvloop'
+license=('Apache' 'MIT')
+depends=('python' 'libuv')
+makedepends=('python-setuptools' 'cython')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha512sums=('709207480d724a59223eb60f71e893d70117fa463f40d44295ded23c953900e36d6f8277443838390f4e2d4f2da3fea18397c6576b01921aae590caedd522b1d')
+
+build() {
+  cd $_pkgname-$pkgver
+
+  python setup.py build build_ext --use-system-libuv
+}
+
+package() {
+  cd $_pkgname-$pkgver
+
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+
+  install -Dm 644 LICENSE-APACHE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE-APACHE
+  install -Dm 644 LICENSE-MIT "$pkgdir"/usr/share/licenses/$pkgname/LICENSE-MIT
+}
+
+# vim:set ts=2 sw=2 et:


More information about the arch-commits mailing list