mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-19 17:25:17 +03:00
30 lines
972 B
Text
30 lines
972 B
Text
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
|
|
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
|
pkgname=py3-ws4py
|
|
_pkgname=ws4py
|
|
pkgver=0.6.0
|
|
pkgrel=0
|
|
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"
|
|
subpackages="$pkgname-pyc"
|
|
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 --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
a30f9a915bd7825cd108a180efa136b68bdba5e8a74f6894a366bdd603773f04a57fa33e3cdb0afd50b3a3cf45cb7631efc03c736d86f3a0d24233fa06127493 ws4py-0.6.0.tar.gz
|
|
"
|