diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-07-09 15:43:36 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-07-09 15:43:36 +0100 |
commit | 2719f73b6813d11d13a9650cdd2ab8ec6e69385d (patch) | |
tree | 8c816148bcbd22757d892089c989ae614eae4f5a /www-servers/tornado | |
parent | 0f558761aa2dee1017b4751e4017205e015a9560 (diff) |
gentoo resync : 09.07.2022
Diffstat (limited to 'www-servers/tornado')
-rw-r--r-- | www-servers/tornado/Manifest | 2 | ||||
-rw-r--r-- | www-servers/tornado/tornado-6.2.ebuild | 68 |
2 files changed, 70 insertions, 0 deletions
diff --git a/www-servers/tornado/Manifest b/www-servers/tornado/Manifest index 5a152ef0a899..735cf81effc6 100644 --- a/www-servers/tornado/Manifest +++ b/www-servers/tornado/Manifest @@ -1,4 +1,6 @@ DIST tornado-6.1.tar.gz 497359 BLAKE2B ed5981dec5cca962f907f97b7f906c1eef40d2b2b6d6cc16a21bd0a0a91ee58a60bea84b7ceeeff30b3462d707c56a5062c71d4ac8f25ca6a306ded6c6f072c5 SHA512 0ec1db1fad911182bda547c177a18b107b906cf66576443069e2b986cf041b3d4ebe08e5a168aa5cd3b56547f32f8b384bacaf74db89f582951d7b610b7494e8 +DIST tornado-6.2.tar.gz 504849 BLAKE2B 18fee464e043e20dcdd5677bc3a72949140a64ce353e09a21242fcade6d8b668517553c649d65e892d9c3fabacea96903d4e42b70676a62759900abc8f4a202f SHA512 157cbeee21bef29ac68b319329e7fc57db4c68dbb5a245e2171b7a28427ebbfe16b745e3bdbdec5912caae5eaa60c3cbbf8830c9c76fec5ffdf025e234468517 EBUILD tornado-6.1-r1.ebuild 1737 BLAKE2B 36c5ffb6a0566b103ee347172d05bc2688422a76f342cb0a240e7ac25a7d60a1e1ecd22d6f55e537d717324658a7e0e869dd0a11420be06f8532aca2a3a93762 SHA512 7227ef7fbee026e75a5064d5c56972899c9c2ef3759008c021958fb180c4c61d0a86eaa0fbceae5b3c43dbbfd707f881eed0b349b6baaa5b93094202d0053cdd EBUILD tornado-6.1.ebuild 1439 BLAKE2B 52e2446e769f5c7b55c653a8e396a1c1fe7c9e23f0c956a3199d3da41e9236c4cc08a9cc017f0a2a353b737803373bf5187b0ba5023fa5590a9c4f2805f72aec SHA512 795ed32b0d25730dd1ca73a589602e9f48c7cd069417a8f990ff2a8cd427cdafb77e28b1efa0558ba0e3556ed147f42aefcd50ecf4d8ae9f6db4139247b81188 +EBUILD tornado-6.2.ebuild 1737 BLAKE2B 36c5ffb6a0566b103ee347172d05bc2688422a76f342cb0a240e7ac25a7d60a1e1ecd22d6f55e537d717324658a7e0e869dd0a11420be06f8532aca2a3a93762 SHA512 7227ef7fbee026e75a5064d5c56972899c9c2ef3759008c021958fb180c4c61d0a86eaa0fbceae5b3c43dbbfd707f881eed0b349b6baaa5b93094202d0053cdd MISC metadata.xml 381 BLAKE2B 96d5942b11b6364eeac2248f6e92a9e7a54094ba2b6e9ef966be4143e1fa01fa0c417027d33a71c51bb094b905b9ff79e05107e1a9debb4b1ef932ba11fd8565 SHA512 cd4db13e0c6a9cf8b3c788c53dc5ecd0dce2cf783e7b2d67dba71299d1c6a3d1dd2c2a76c0d69816ab0da4ca23f831613323c55864fd858690c605da5426bf60 diff --git a/www-servers/tornado/tornado-6.2.ebuild b/www-servers/tornado/tornado-6.2.ebuild new file mode 100644 index 000000000000..7e27327324af --- /dev/null +++ b/www-servers/tornado/tornado-6.2.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 + +DESCRIPTION="Python web framework and asynchronous networking library" +HOMEPAGE=" + https://www.tornadoweb.org/ + https://github.com/tornadoweb/tornado/ + https://pypi.org/project/tornado/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" +IUSE="examples test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/pycurl-7.19.3.1[${PYTHON_USEDEP}] + >=dev-python/twisted-16.0.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + ${RDEPEND} + ) +" + +distutils_enable_sphinx docs \ + dev-python/sphinx_rtd_theme \ + dev-python/sphinxcontrib-asyncio + +src_prepare() { + # Disable deprecation-warnings-as-errors because tornado has a lot of stuff deprecated in 3.10 + sed 's/warnings.filterwarnings("error", category=DeprecationWarning, module=r"tornado\\..*")//' \ + -i tornado/test/runtests.py || die + # broken upstream + sed -i -e 's:test_multi_line_headers:_&:' \ + tornado/test/httpclient_test.py || die + # network-sandbox? ipv6? + sed -i -e 's:test_localhost:_&:' \ + tornado/test/netutil_test.py || die + + distutils-r1_src_prepare +} + +python_test() { + local -x ASYNC_TEST_TIMEOUT=60 + cd "${T}" || die + "${EPYTHON}" -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 +} |