1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
6 pkgdesc='Accelerator for ws4py and AutobahnPython'
8 url='https://github.com/methane/wsaccel'
11 makedepends=('python-setuptools' 'cython')
12 checkdepends=('python-pytest')
13 source=("https://github.com/methane/wsaccel/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
14 sha512sums=('980364fab8a661c8a2b406f9eb6c99fb5f3a1308bbcf6267fa63f002d8dfbb4a3ad027d83a2088d69324cab05bdc56138d7e66e2602aeb8864dfe49ad9218d07')
23 PYTHONPATH="$PWD/build/lib.linux-$CARCH-cpython-311" pytest
28 python setup.py install --root="$pkgdir" -O1