# Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=py3-ws4py _pkgname=ws4py pkgver=0.5.1 pkgrel=3 pkgdesc="WebSocket client and server library for Python 2 and 3 as well as PyPy" options="!check" # Tests are python2 only url="https://github.com/Lawouach/WebSocket-for-Python" arch="noarch" license="BSD-3-Clause" makedepends="py3-setuptools" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir/$_pkgname-$pkgver" replaces="py-ws4py" # Backwards compatibility provides="py-ws4py=$pkgver-r$pkgrel" # Backwards compatibility build() { python3 setup.py build } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="e3202d7bc547a5447eaeeeabe2ff18bd884c89c02cf54e27d88ca9cd14bcd9f080f7ff7e02d36538200c096df0442809c171c99e37b16ff818866c45b40eeef9 ws4py-0.5.1.tar.gz"