# Maintainer: Felix Yan <felixonmars@archlinux.org>

pkgname=python-wsaccel
pkgver=0.6.2
_commit=f16d0b8cd9b54b5b2d7698a5b41d5c38e1564fb6
pkgrel=1slint
slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"$pkgname (Accelerator for ws4py and AutobahnPython)"
)
arch=('x86_64')
url='https://github.com/methane/wsaccel'
license=('Apache')
depends=('python')
makedepends=('python-setuptools' 'cython')
checkdepends=('python-pytest-runner')
source=("https://github.com/methane/wsaccel/archive/$_commit.tar.gz")
md5sums=('f06b48bcdccc4713ad75234d87679eba')

build() {
  cd wsaccel-$_commit
  python3 setup.py install --root=$PKG -O1
}

