1 # Template file for 'python3-tornado'
2 pkgname=python3-tornado
5 build_style=python3-pep517
6 hostmakedepends="python3-setuptools python3-wheel"
7 makedepends="python3-devel"
8 depends="python3 ca-certificates"
9 checkdepends="python3-curl python3-pycares python3-Twisted"
10 short_desc="Python3 web framework and asynchronous networking library"
11 maintainer="Gonzalo TornarĂa <tornaria@cmat.edu.uy>"
13 homepage="http://www.tornadoweb.org/"
14 changelog="https://www.tornadoweb.org/en/stable/releases.html"
15 distfiles="${PYPI_SITE}/t/tornado/tornado-${version}.tar.gz"
16 checksum=92bad5b4746e9879fd7bf1eb21dce4e3fc5128d71601f80005afa39237ad620b
19 # There is one instance of test_bind_source_ip (the one for
20 # curl_httpclient_test.CurlHTTPClientCommonTestCase)
21 # which for some reason is taking a little bit over 5s
22 # (but only on x86_64-musl and only on CI).
24 # The default test timeout is 5s so the test times out and fails.
25 # See: https://github.com/void-linux/void-packages/pull/44312#issuecomment-1582361791
27 # Setting the timeout to 6 works around it.
28 local -x ASYNC_TEST_TIMEOUT=6
30 # pytest is not supported
31 python3 -m tornado.test