-
Notifications
You must be signed in to change notification settings - Fork 2.1k
/
template
32 lines (30 loc) · 1.16 KB
/
template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Template file for 'python3-tornado'
pkgname=python3-tornado
version=6.4
revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools python3-wheel"
makedepends="python3-devel"
depends="python3 ca-certificates"
checkdepends="python3-curl python3-pycares python3-Twisted"
short_desc="Python3 web framework and asynchronous networking library"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="Apache-2.0"
homepage="http://www.tornadoweb.org/"
changelog="https://www.tornadoweb.org/en/stable/releases.html"
distfiles="${PYPI_SITE}/t/tornado/tornado-${version}.tar.gz"
checksum=72291fa6e6bc84e626589f1c29d90a5a6d593ef5ae68052ee2ef000dfd273dee
do_check() {
# There is one instance of test_bind_source_ip (the one for
# curl_httpclient_test.CurlHTTPClientCommonTestCase)
# which for some reason is taking a little bit over 5s
# (but only on x86_64-musl and only on CI).
#
# The default test timeout is 5s so the test times out and fails.
# See: https://github.com/void-linux/void-packages/pull/44312#issuecomment-1582361791
#
# Setting the timeout to 6 works around it.
local -x ASYNC_TEST_TIMEOUT=6
# pytest is not supported
python3 -m tornado.test
}