dev-python/tornado: treeclean

Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier 2023-11-02 23:52:39 +01:00 committed by Andreas Billmeier
parent b1d8a20395
commit 65ce2b9390
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 2 additions and 85 deletions

View File

@ -612,12 +612,12 @@ A daily compile test is run at Github with Python 3.9 to catch general faults. E
## Licenses
This repository itself is released under GPL-3 (like most Gentoo repositories), all work on the depending components under the licenses they came from. Perhaps you came here because I filed an issue at your component about a bad or missing license. It is easy to [assign a license](https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/adding-a-license-to-a-repository). During cleanups and license investigations I have been asked often which license to choose. I am not a lawyer, but I can offer the following table, counted over this repository, perhaps this helps your decision. If a package has more than one license listed, all of them are counted.
There are 1896 Ebuilds in total, 1885 of them have in total 1904 (40 different) licenses assigned.
There are 1895 Ebuilds in total, 1884 of them have in total 1903 (40 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|1093|
|Apache-2.0|412|
|Apache-2.0|411|
|GPL-3|123|
|BSD|102|
|GPL-2|27|

View File

@ -1,3 +0,0 @@
DIST tornado-6.1.tar.gz 497359 BLAKE2B ed5981dec5cca962f907f97b7f906c1eef40d2b2b6d6cc16a21bd0a0a91ee58a60bea84b7ceeeff30b3462d707c56a5062c71d4ac8f25ca6a306ded6c6f072c5 SHA512 0ec1db1fad911182bda547c177a18b107b906cf66576443069e2b986cf041b3d4ebe08e5a168aa5cd3b56547f32f8b384bacaf74db89f582951d7b610b7494e8
EBUILD tornado-6.1-r1.ebuild 1636 BLAKE2B d8d2b488872c2b9338d8d0e42fb82572efa3d73e35eeb0f2737b6c82d4f25954a2ce9f8220aeda1c1655e0c4cc71bc9056972977ca5be2841c3a74c7ad69c580 SHA512 4a273f18d29e08bd9f377ec90f7b6c7b8db31314824936e3928974371b765d200e2c742bad42b05b08ead5252993ca737d2a6da9a4489e02663bad71e08ae636
MISC metadata.xml 381 BLAKE2B 96d5942b11b6364eeac2248f6e92a9e7a54094ba2b6e9ef966be4143e1fa01fa0c417027d33a71c51bb094b905b9ff79e05107e1a9debb4b1ef932ba11fd8565 SHA512 cd4db13e0c6a9cf8b3c788c53dc5ecd0dce2cf783e7b2d67dba71299d1c6a3d1dd2c2a76c0d69816ab0da4ca23f831613323c55864fd858690c605da5426bf60

View File

@ -1,12 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>python@gentoo.org</email>
<name>Python</name>
</maintainer>
<upstream>
<remote-id type="pypi">tornado</remote-id>
<remote-id type="github">tornadoweb/tornado</remote-id>
</upstream>
</pkgmetadata>

View File

@ -1,68 +0,0 @@
# 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_{9..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="amd64 arm arm64 x86"
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
}