www-servers/tornado: treeclean

Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier 2023-12-17 10:29:13 +01:00 committed by Andreas Billmeier
parent bf4cd1f177
commit 9839d3dcee
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 2 additions and 88 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 1770 Ebuilds in total, 1759 of them have in total 1783 (43 different) licenses assigned.
There are 1769 Ebuilds in total, 1758 of them have in total 1782 (43 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|1033|
|Apache-2.0|373|
|Apache-2.0|372|
|GPL-3|110|
|BSD|101|
|LGPL-3|24|

View File

@ -1,3 +0,0 @@
DIST tornado-6.1.tar.gz 497359 BLAKE2B ed5981dec5cca962f907f97b7f906c1eef40d2b2b6d6cc16a21bd0a0a91ee58a60bea84b7ceeeff30b3462d707c56a5062c71d4ac8f25ca6a306ded6c6f072c5 SHA512 0ec1db1fad911182bda547c177a18b107b906cf66576443069e2b986cf041b3d4ebe08e5a168aa5cd3b56547f32f8b384bacaf74db89f582951d7b610b7494e8
EBUILD tornado-6.1-r2.ebuild 1636 BLAKE2B d8d2b488872c2b9338d8d0e42fb82572efa3d73e35eeb0f2737b6c82d4f25954a2ce9f8220aeda1c1655e0c4cc71bc9056972977ca5be2841c3a74c7ad69c580 SHA512 4a273f18d29e08bd9f377ec90f7b6c7b8db31314824936e3928974371b765d200e2c742bad42b05b08ead5252993ca737d2a6da9a4489e02663bad71e08ae636
MISC metadata.xml 459 BLAKE2B 03f58b8ce5f6782e32fa8aec991d2771e795545a898d40f054bd3cdff98275c85da39eada76fefe51eea8658e4bf55a7c88a5f80d54a626f639c0811c0b8e7d4 SHA512 a8e58541152f55a4db33919bca89e1f0202197427877855f6f25441fa75d8bf4c3cdeaa2c089266b613afd4146332da694c18485521b026bbedd2920db55bea9

View File

@ -1,15 +0,0 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>b@edevau.net</email>
<name>Andreas Billmeier</name>
</maintainer>
<upstream>
<remote-id type="pypi">tornado</remote-id>
<maintainer status="unknown">
<email>python-tornado@googlegroups.com</email>
<name>Facebook</name>
</maintainer>
</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
}