26 lines
1009 B
Bash
26 lines
1009 B
Bash
# Template file for 'python3-trio-websocket'
|
|
pkgname=python3-trio-websocket
|
|
version=0.11.1
|
|
revision=1
|
|
build_style=python3-pep517
|
|
hostmakedepends="python3-setuptools python3-wheel"
|
|
depends="python3-trio python3-wsproto"
|
|
checkdepends="$depends python3-pytest python3-pytest-trio iana-etc pylint python3-astroid
|
|
python3-async_generator python3-jedi python3-openssl python3-trustme"
|
|
short_desc="Library implementing server and client WebSocket protocol"
|
|
maintainer="Tom Strausbaugh <tstrausbaugh@straustech.net>"
|
|
license="Apache-2.0, MIT"
|
|
homepage="https://github.com/python-trio/trio-websocket"
|
|
changelog="https://raw.githubusercontent.com/python-trio/trio-websocket/master/CHANGELOG.md"
|
|
distfiles="${PYPI_SITE}/t/trio-websocket/trio-websocket-${version}.tar.gz"
|
|
checksum=18c11793647703c158b1f6e62de638acada927344d534e3c7628eedcb746839f
|
|
make_check_pre="env PY_IGNORE_IMPORTMISMATCH=1"
|
|
|
|
pre_check() {
|
|
echo 'from pytest_trio.enable_trio_mode import *' > tests/conftest.py
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|