summaryrefslogblamecommitdiff
path: root/user/py3-websockets/APKBUILD
blob: d3db557cbe315e8a18947238180fc342d967023a (plain) (tree)
1
2
3
4
5
6



                                                  

                      








                                                     
                                                                                              















                                                                                                                                                                    
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=py3-websockets
_pkgname=${pkgname#py3-}
_p="${_pkgname#?}"
_p="${_pkgname%"$_p"}"
pkgver=8.0
pkgrel=0
pkgdesc="Python implementation of RFCs 6455 and 7692"
url="https://pypi.org/project/websockets/"
arch="all"
license="BSD-3-Clause"
depends="python3"
makedepends="python3-dev"
subpackages=""
source="https://files.pythonhosted.org/packages/source/$_p/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	mkdir -p "$pkgdir"
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="8ae408224367b4e1fcab4d39758f75902072b15e833ed9db41afc9b69deb8cb6f1c538c200785e260cd890f31562feaeb99bdbcec445c5561714a9f08b936f6f  websockets-8.0.tar.gz"