1 # Maintainer: Filipe LaĆns (FFY00) <lains@archlinux.org>
2 # Maintainer: Maxime Gauduin <alucryd@archlinux.org>
5 pkgname=python-$_pkgname
8 pkgdesc='Ultra fast asyncio event loop'
10 url='https://github.com/MagicStack/uvloop'
11 license=('Apache' 'MIT')
12 depends=('python' 'libuv')
13 makedepends=('python-setuptools' 'cython' 'git')
14 _tag=afb326897c26f01b864f65f016a7f3f80d9db8ad
15 source=(git+https://github.com/MagicStack/uvloop.git#tag=${_tag})
21 git describe --tags | sed 's/^v//'
27 python setup.py build build_ext --use-system-libuv
33 python setup.py install --root="$pkgdir" --optimize=1 --skip-build
35 install -Dm 644 LICENSE-APACHE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE-APACHE
36 install -Dm 644 LICENSE-MIT "$pkgdir"/usr/share/licenses/$pkgname/LICENSE-MIT
39 # vim:set ts=2 sw=2 et: