blob: 2152724a9b53dba2984e0d26a19d22d74d4d017d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py3-ws4py
_pkgname=ws4py
pkgver=0.5.1
pkgrel=2
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"
|