aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichał Polański <michal@polanski.me>2020-11-21 10:12:51 +0100
committerLeo <thinkabit.ukim@gmail.com>2020-11-21 16:12:25 +0000
commit623a9f365c4c42c4b95f911667b8c35358deb404 (patch)
treeba2cf6c2c95e577f21169952b166fb67c57f9b5e
parent244de700a4e1ec69c6a237532730c3773d2b42fa (diff)
downloadaports-623a9f365c4c42c4b95f911667b8c35358deb404.tar.gz
aports-623a9f365c4c42c4b95f911667b8c35358deb404.tar.bz2
aports-623a9f365c4c42c4b95f911667b8c35358deb404.tar.xz
testing/py3-wsproto: new aport
Sans-IO WebSocket protocol implementation https://github.com/python-hyper/wsproto
-rw-r--r--testing/py3-wsproto/APKBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/testing/py3-wsproto/APKBUILD b/testing/py3-wsproto/APKBUILD
new file mode 100644
index 0000000000..98a99a2f3f
--- /dev/null
+++ b/testing/py3-wsproto/APKBUILD
@@ -0,0 +1,29 @@
+# Contributor: Michał Polański <michal@polanski.me>
+# Maintainer: Michał Polański <michal@polanski.me>
+pkgname=py3-wsproto
+_pkgname=wsproto
+pkgver=0.15.0
+pkgrel=0
+pkgdesc="Sans-IO WebSocket protocol implementation"
+url="https://github.com/python-hyper/wsproto"
+license="MIT"
+arch="noarch"
+depends="python3 py3-h11"
+makedepends="py3-setuptools"
+checkdepends="py3-pytest"
+source="$_pkgname-$pkgver.tar.gz::https://github.com/python-hyper/wsproto/archive/$pkgver.tar.gz"
+builddir="$srcdir/$_pkgname-$pkgver"
+
+build() {
+ python3 setup.py build
+}
+
+check() {
+ pytest
+}
+
+package() {
+ python3 setup.py install --prefix=/usr --root="$pkgdir" --skip-build
+}
+
+sha512sums="9684966be7160967603800e8b793259e4f83e128b3d407d32665eed1170dc7a730fe2245ddbb7f8fa1b1dea9ce77e74a8e23827187544696662848ccfe3b81cc wsproto-0.15.0.tar.gz"