fix more RequiredUseDefaults

This commit is contained in:
2022-03-18 20:16:06 +01:00
committed by Andreas Billmeier
parent efa7b4d876
commit 9667252f26
22 changed files with 29 additions and 278 deletions

View File

@@ -1,8 +1,6 @@
AUX aiohttp-3.0.5-tests.patch 293 BLAKE2B 3902cc0fbeee9f2284a9fee29fe8ddf86150ce6fd3343a4357a07ef421d4413571fc4f8793a7042bd4da7fbab77a82956f002d486cd4e97ae1348661a27accea SHA512 b5e620fc584d31af16ab4b96bf2b08b2827efa29fb24c321b75644d18e8cec52067a38573aae348685123af79c3d714dfda126f7114b782d222533b286b8385a
DIST aiohttp-3.6.1.tar.gz 1113678 BLAKE2B cfdf1c650ec52c7b6423f7afd40060ccd1631a407f126bf64c2a353c51f09c31bae3912b8ce9397c0c8350a2e82a98724ae58335998d1ab08ae46a49abce0251 SHA512 4939b89d45abcd655ef212ff87f66a83882fb12dffb87d62ae57afcd9517725af61f46f9b7428112e2dcd72d3a4027524967461270ede34348ff3ead47d14c9b
DIST aiohttp-3.7.3.tar.gz 1113127 BLAKE2B 47d95565db1184c6b55a1e7d7a6df8cda872e4fe621f653e3143608f51dde2c7d30d00835da357dd7ae33f4858ad5778074dfde5261331a3539a5d6776ea1a25 SHA512 d1dbbe3cbdeb1a460f5030a08a251a7bb7ae7ec038ca93ba5187b2da1fe21b80ed6513db647ef382d2d92a3d527a34dffbd37f51aa1e8b65bb36d517304b1812
DIST aiohttp-3.7.4.post0.tar.gz 1114888 BLAKE2B baab3514dc93fe37dc7b746529ae395c0181017d5d3a3f909d2e42b4bd957cbfe538b12a3e4448e99c17eca61f9e340af60c30ad0c31ea378b1e1a25daaeff5d SHA512 1697390a8f40a1de0335343f7c3451a1b772e181364edd30c5834abf5e8f3020bdf3fa4226d435e4c2b73340bea567188089d67a1fc93826e1a51bc5e419f0d7
EBUILD aiohttp-3.6.1.ebuild 2161 BLAKE2B 9000e83e815f0a818f8021bd29f8fae4aa9bf153f5ee249f81edf7a3a48f37605b22b1e367aad6bc13a997459f6734c8acd367d1e25ed7454bcfff9d00124ef2 SHA512 81e1c8f0d04de7ef6df45df6b6a7f43d81f8aa791db80252492632f9559aeea26843b5b16c165c82e6dacb87dcbacab0c75b676e31915f171573dbbb43bf5b3e
EBUILD aiohttp-3.7.3.ebuild 2645 BLAKE2B e0f3b8ab29cb90fd6b1dd5e92b308e316ae14b00934cb82db1b9fa8f739d64b423302863654c946b121bae80e03888a55f27aa4b86cf66589227ff4026cfb6d1 SHA512 8a187ff960184312d3b96068e79dcf5c528542f9acdaface4f05a9bf7bb324807d4f2737c6f1c64e2a90260df56bb9d77131ac6ba51832c9e4032e82148dc482
EBUILD aiohttp-3.7.4_p0.ebuild 2598 BLAKE2B b3ebf7772b50b291ac5c9d6346b6ec3d6ec73993ef98fedda4b6e8af71d801fdf69027111b1df00eba081869a3313b0fd009920d03c7fde06b72a724c9fcd8f8 SHA512 577f69864ea013b88532b4cc8a3afbb1530bd825b265c3eff1264d81b16fb1a6e0ccb5dc91c42f5bfb4d491e1dc880bc61b599a6a692568e0d9b57c8d4677dfa
EBUILD aiohttp-3.7.3.ebuild 2603 BLAKE2B 0331624da62b3143c7a6fb85fd6fed3c3d07138556c615fcc98612ccc59d3a933fc10afb5d42f96625603b3e2e09bab307f21b8f813cb46a39b6e753fc5f4c53 SHA512 2ab646ec672bb3b3a0332b4f9d3f50dbf3086ee2049e41dddb9069a220d115c83c2ebd83c3a89a317c7cdbde1047d3171bfb2ea47096d97598f26642b7b6fa09
EBUILD aiohttp-3.7.4_p0.ebuild 2555 BLAKE2B d76b77ce8bc34d8eba0214657eec1b9dba61f4986d2081aa59f0dcaf86c3887a733f6aa4a9fa43f56086903cb1e55c48d25d8b68f211e6e4b1cc297d8e58cb8d SHA512 e2712904df0c755d56c1f7a57410cf863938b1c6d60bebd5e43b5ad67f02dc2f6a86c7172c8c53de37fc0cda1ced9ebacfc882879e16f2213f1baf9d1bdc367c
MISC metadata.xml 532 BLAKE2B 2e1314b2aa2d4646e35b418f4e3df82b86227f3756774fe0273be2486e20ada712c95641c1528b399fd00f1cfd9022cd3b3db8ccf07d43313dd57195c8888c78 SHA512 278610e41bb59cbce0d06db95d9c810384ffe7a0664586fb38b9996b8e53af710f89178402652d325a2c611d028c219fb854d56d19e659770b0a74231bd2f9da

View File

@@ -1,77 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
PYTHON_COMPAT=( python3_{6,7,8} )
inherit distutils-r1
DESCRIPTION="http client/server for asyncio"
HOMEPAGE="https://pypi.org/project/aiohttp/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc test"
RESTRICT="!test? ( test )"
CDEPEND="
>=dev-python/async_timeout-3.0.0[${PYTHON_USEDEP}]
>=dev-python/attrs-17.3.0[${PYTHON_USEDEP}]
dev-python/chardet[${PYTHON_USEDEP}]
>=dev-python/multidict-4.0.0[${PYTHON_USEDEP}]
>=dev-python/typing-extensions-3.6.5[${PYTHON_USEDEP}]
>=dev-python/yarl-1.0[${PYTHON_USEDEP}]
dev-python/idna-ssl[${PYTHON_USEDEP}]
"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
dev-python/cython[${PYTHON_USEDEP}]
doc? (
>=dev-python/alabaster-0.6.2[${PYTHON_USEDEP}]
dev-python/sphinxcontrib-asyncio[${PYTHON_USEDEP}]
dev-python/sphinxcontrib-blockdiag[${PYTHON_USEDEP}]
dev-python/sphinxcontrib-newsfeed[${PYTHON_USEDEP}]
dev-python/sphinxcontrib-spelling[${PYTHON_USEDEP}]
dev-python/sphinx[${PYTHON_USEDEP}]
dev-python/sphinx-aiohttp-theme[${PYTHON_USEDEP}]
)
test? (
${CDEPEND}
dev-python/async_generator[${PYTHON_USEDEP}]
>=dev-python/pytest-3.4.0[${PYTHON_USEDEP}]
dev-python/pytest-mock[${PYTHON_USEDEP}]
dev-python/pytest-timeout[${PYTHON_USEDEP}]
www-servers/gunicorn[${PYTHON_USEDEP}]
)
"
RDEPEND="${CDEPEND}"
DOCS=( CHANGES.rst CONTRIBUTING.rst CONTRIBUTORS.txt HISTORY.rst README.rst )
python_prepare_all() {
# skip failing tests until cause is determined
rm tests/{test_pytest_plugin.py,test_worker.py} || die
# AttributeError: 'brotli.Decompressor' object has no attribute 'flush'
sed -e 's:test_compression_brotli:_\0:' \
-e 's:test_feed_eof_no_err_brotli:_\0:' \
-i tests/test_http_parser.py || die
distutils-r1_python_prepare_all
}
python_compile_all() {
use doc && emake -C docs html
}
python_test() {
esetup.py test
}
python_install_all() {
use doc && local HTML_DOCS=( docs/_build/html/. )
distutils-r1_python_install_all
}

View File

@@ -1,9 +1,9 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{7..9} )
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1 multiprocessing
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~ia64 ppc ppc64 ~riscv sparc x86"
KEYWORDS="amd64 arm arm64 x86"
RDEPEND="
>=dev-python/async_timeout-3.0.0[${PYTHON_USEDEP}]

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -15,7 +15,7 @@ S="${WORKDIR}/${PN}-${MY_PV}"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~ia64 ppc ppc64 ~riscv sparc x86"
KEYWORDS="amd64 arm arm64 x86"
RDEPEND="
>=dev-python/async_timeout-3.0.0[${PYTHON_USEDEP}]