update tornado-6.1

This commit is contained in:
Andreas Billmeier 2020-12-20 11:08:41 +01:00 committed by Andreas Billmeier
parent 5ddd003092
commit 1d98eb7c5f
Signed by untrusted user: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
3 changed files with 65 additions and 0 deletions

View File

@ -1,3 +1,6 @@
2020-12-20
* update tornado-6.1
2020-12-19
* update dtlssocket-0.1.11, dtlssocket-0.1.12
* update pytradfri-7.0.5

View File

@ -1,3 +1,5 @@
DIST tornado-5.1.1.tar.gz 516819 BLAKE2B d0c20d34be67f8f3cb146a3107995efacb20c713e8920b5204a969ef1fa378ab0e108c83db61c065bcd232aba61e4625994b263db7394f6c07f483d2c6dbeae4 SHA512 f9ecedb20c055981f482c9a2a8bb30082dcc479674f75f6c8654afcf40f2ce5a45e82c7e2b5a6ce5d1c9da7896e865e78c7d29a64b6b1d28d6e74a718be62dc7
DIST tornado-6.1.tar.gz 497359 BLAKE2B ed5981dec5cca962f907f97b7f906c1eef40d2b2b6d6cc16a21bd0a0a91ee58a60bea84b7ceeeff30b3462d707c56a5062c71d4ac8f25ca6a306ded6c6f072c5 SHA512 0ec1db1fad911182bda547c177a18b107b906cf66576443069e2b986cf041b3d4ebe08e5a168aa5cd3b56547f32f8b384bacaf74db89f582951d7b610b7494e8
EBUILD tornado-5.1.1.ebuild 1540 BLAKE2B c72501de37e4d1e9ee53f7f2f4198ab3d30866933be677e7ba5b5e73c1deaf6da888c340b0c24f14eb3b3943459ad74fcc38ad4f90ed3f484d144196fa6607fc SHA512 9f4fcdb3d2ac4b856910904cf34098d3f51c757d5d7f965a0110452831711bd842aa95a3dec500ffa5ac948c3949aa9c4070799c90512a612805993cc1a18668
EBUILD tornado-6.1.ebuild 1372 BLAKE2B 32645f81b09b905722fbdacd89c1646b595332e3d8d32131316318cb4f5686741f21a12415107875fd1143bf9e583fc2d5cfff8af0a37a25550c0eefbbec2841 SHA512 5c42da979e9119377e6311498857f83663bb509f86aac6188d41b623ac3485aa77eab1a1ac683aa9cd661d7791ee9f38cea365019590e4ca72d4ebf454a12e8c
MISC metadata.xml 380 BLAKE2B 16a28ca707ba911df09dfad39b269bd888734c1f5e54fdc57d84f62b541e284f248137a01c13055f5e9fa1e1da0a2c9e1382006119cc11ec19302516262b7dc1 SHA512 e790429d61042b60a9011710e96df0044c64cc5ac941ab6268386138d3a66e46d40ed1098ec8bc164d9f4341040946ec7231e8f28dda11790ecc482b06978771

View File

@ -0,0 +1,60 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{6..9} )
PYTHON_REQ_USE="threads(+)"
inherit distutils-r1
DESCRIPTION="Python web framework and asynchronous networking library"
HOMEPAGE="https://www.tornadoweb.org/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 s390 sparc x86 ~x64-macos"
IUSE="examples test"
RESTRICT="!test? ( test )"
DOCS="README.rst"
CDEPEND="
>=dev-python/pycurl-7.19.3.1[${PYTHON_USEDEP}]
>=dev-python/twisted-16.0.0[${PYTHON_USEDEP}]
"
DEPEND="
test? (
${CDEPEND}
dev-python/mock[${PYTHON_USEDEP}]
)
"
RDEPEND="${CDEPEND}"
distutils_enable_sphinx docs \
dev-python/sphinx_rtd_theme \
dev-python/sphinxcontrib-asyncio
src_prepare() {
# it used to pass, so apparently something changed somewhere
sed -i -e 's:test_method_after_redirect:_&:' \
tornado/test/httpclient_test.py || die
distutils-r1_src_prepare
}
python_test() {
local -x ASYNC_TEST_TIMEOUT=60
cd "${BUILD_DIR}/lib" || die
"${PYTHON}" -m tornado.test.runtests --verbose ||
die "tests failed under ${EPYTHON}"
}
python_install_all() {
if use examples; then
docinto examples
dodoc -r demos/.
docompress -x /usr/share/doc/${PF}/examples
fi
distutils-r1_python_install_all
}