update aiohttp-3.7.4_p0 (workaround for unsupported .post0 version)
This commit is contained in:
parent
bc459de070
commit
e9c3b62214
|
@ -13,6 +13,7 @@
|
|||
* bump pyvesync-1.3.1
|
||||
* bump accuweather-0.1.1
|
||||
* bump python-smarttub-0.0.22
|
||||
* update aiohttp-3.7.4_p0 (workaround for unsupported .post0 version)
|
||||
|
||||
2021-03-15
|
||||
* add a copy (from main repo) of acme-1.11.0, still needed
|
||||
|
|
|
@ -1,10 +1,8 @@
|
|||
AUX aiohttp-3.0.5-tests.patch 293 BLAKE2B 3902cc0fbeee9f2284a9fee29fe8ddf86150ce6fd3343a4357a07ef421d4413571fc4f8793a7042bd4da7fbab77a82956f002d486cd4e97ae1348661a27accea SHA512 b5e620fc584d31af16ab4b96bf2b08b2827efa29fb24c321b75644d18e8cec52067a38573aae348685123af79c3d714dfda126f7114b782d222533b286b8385a
|
||||
DIST aiohttp-3.5.4.tar.gz 1097647 BLAKE2B 27d3631cf33cc5052deecfeca23f6c052fce344d9a889b0c0c0e68d9dcc19eb56e2ef2496f025c795dea4f906a59ae579ecd489188f8c56bc41255b4f450f4bf SHA512 9bc31457029f7db5bbfe1e213c1f428bf90ac96d83b6d2c8838261a3910ab9f7632a4299618377acb1bed04b0cbb4b4f6d9ee814495c05f210ed9bb4f4c61714
|
||||
DIST aiohttp-3.6.0.tar.gz 1110800 BLAKE2B 30c583c5d9079dcc3481b917b51c09e40572228a2df3acab468036f22a75fbb21963805bc37d353c82cc81fddc6da85e9ae9fa6b4a0eb0c305de5428f48a05b2 SHA512 90a0c55b5f20fc7cc14d138fca93206a7b64ac069fbd81c77b5373985236c0c09b44bd167be58129ce2e4f2bdefe59891d6d52938f9fe04c462d4aea6af67d9d
|
||||
DIST aiohttp-3.6.1.tar.gz 1113678 BLAKE2B cfdf1c650ec52c7b6423f7afd40060ccd1631a407f126bf64c2a353c51f09c31bae3912b8ce9397c0c8350a2e82a98724ae58335998d1ab08ae46a49abce0251 SHA512 4939b89d45abcd655ef212ff87f66a83882fb12dffb87d62ae57afcd9517725af61f46f9b7428112e2dcd72d3a4027524967461270ede34348ff3ead47d14c9b
|
||||
DIST aiohttp-3.7.3.tar.gz 1113127 BLAKE2B 47d95565db1184c6b55a1e7d7a6df8cda872e4fe621f653e3143608f51dde2c7d30d00835da357dd7ae33f4858ad5778074dfde5261331a3539a5d6776ea1a25 SHA512 d1dbbe3cbdeb1a460f5030a08a251a7bb7ae7ec038ca93ba5187b2da1fe21b80ed6513db647ef382d2d92a3d527a34dffbd37f51aa1e8b65bb36d517304b1812
|
||||
EBUILD aiohttp-3.5.4.ebuild 2101 BLAKE2B 6024ce73812affc1886262456fe17768fdccaca59cd0aea5712e2d0a82a53b7f2cf1ab431272cef369f011e9018b8c238a45af36e949863f1356ce2e081d66d1 SHA512 354d4db686353e4b781ddb5f5bb2b2726e4ac96a98aad57e821f0f62bda451dc3b8dc2d6b81ecb94a21df4764366a1987e4d37b852cdc484e5b12b7112c7e2fe
|
||||
EBUILD aiohttp-3.6.0.ebuild 2101 BLAKE2B 6024ce73812affc1886262456fe17768fdccaca59cd0aea5712e2d0a82a53b7f2cf1ab431272cef369f011e9018b8c238a45af36e949863f1356ce2e081d66d1 SHA512 354d4db686353e4b781ddb5f5bb2b2726e4ac96a98aad57e821f0f62bda451dc3b8dc2d6b81ecb94a21df4764366a1987e4d37b852cdc484e5b12b7112c7e2fe
|
||||
DIST aiohttp-3.7.4.post0.tar.gz 1114888 BLAKE2B baab3514dc93fe37dc7b746529ae395c0181017d5d3a3f909d2e42b4bd957cbfe538b12a3e4448e99c17eca61f9e340af60c30ad0c31ea378b1e1a25daaeff5d SHA512 1697390a8f40a1de0335343f7c3451a1b772e181364edd30c5834abf5e8f3020bdf3fa4226d435e4c2b73340bea567188089d67a1fc93826e1a51bc5e419f0d7
|
||||
EBUILD aiohttp-3.6.1.ebuild 2134 BLAKE2B 73188f68c4f8ff25c082b5ff522ed7ca21fa4f751bb19d701186329dd97a2f8cfc82e2a60106965db2b64ca4d99d7253307536aa6f4e4108efeb91be8434e18d SHA512 f43c53be98fa962a237ea1ed80d2d6540293ac2e124ac357b3e9291e2741057896cd113b6aa7295bb53de7c6a9060ec214f5d682a43870f868a216de709acb0c
|
||||
EBUILD aiohttp-3.7.3.ebuild 2644 BLAKE2B c84d4c5639b808be92d6270e8aca80693506a43a6694f4018549f5661562fb4dd602c695a0c8a20de667ffbfdeecbcb90de44033689ecdc34b7e2987ddaec7ba SHA512 8db4a4d6425e0984bfaaec2e164858d9b2042369dcf551cfa3ed71a94ba8a29be358d8d9957fade12e01feaf70c697c38d0e96b9786c92e4faffb793e500e36f
|
||||
MISC metadata.xml 252 BLAKE2B 507e0ddc9d50b879ff374b903b142f85d020dfd6c486aba2af84fe082c878e780edbb79188ae10104d57db0eb775c86814cc8c06891a3854c9da840a4d377050 SHA512 9470ac9c8a5a4f80e3f767e7aa198addc7b21866c63b2a310e9f41ce65817672fb77423117bdd619e99cb62322025aeadf50717e23eafabf99080fcc106820af
|
||||
EBUILD aiohttp-3.7.4_p0.ebuild 2674 BLAKE2B 3e42c67d326249db59c20b872d4bbee53f7810b1fb6e5b99297e86d500cf7d0749266ff69247bbe1c5b5edd7102057e76e87c6909229c4f6447eeba3516b5724 SHA512 65fc4041a7296ad59ef352fd50b1efe3c93bdcaa0937480dd7a8a5e25a72b9cac579cc2d185a19616500e872f02f8d21ba4298d15421dc193bdd5142b6546cae
|
||||
MISC metadata.xml 532 BLAKE2B 2e1314b2aa2d4646e35b418f4e3df82b86227f3756774fe0273be2486e20ada712c95641c1528b399fd00f1cfd9022cd3b3db8ccf07d43313dd57195c8888c78 SHA512 278610e41bb59cbce0d06db95d9c810384ffe7a0664586fb38b9996b8e53af710f89178402652d325a2c611d028c219fb854d56d19e659770b0a74231bd2f9da
|
||||
|
|
|
@ -1,76 +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} )
|
||||
|
||||
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 ~x86"
|
||||
IUSE="doc 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
|
||||
}
|
|
@ -1,76 +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} )
|
||||
|
||||
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 ~x86"
|
||||
IUSE="doc 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
|
||||
}
|
|
@ -0,0 +1,92 @@
|
|||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{7..9} )
|
||||
|
||||
inherit distutils-r1 multiprocessing
|
||||
|
||||
DESCRIPTION="http client/server for asyncio"
|
||||
HOMEPAGE="https://pypi.org/project/aiohttp/"
|
||||
MY_PV=${PV/_p/.post}
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${PN}-${MY_PV}.tar.gz"
|
||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv sparc x86"
|
||||
|
||||
RDEPEND="
|
||||
>=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.5.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/yarl-1.0[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/idna-ssl[${PYTHON_USEDEP}]
|
||||
' python3_6)
|
||||
dev-python/typing-extensions[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
dev-python/cython[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/async_generator[${PYTHON_USEDEP}]
|
||||
dev-python/brotlipy[${PYTHON_USEDEP}]
|
||||
dev-python/freezegun[${PYTHON_USEDEP}]
|
||||
www-servers/gunicorn[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-forked[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-mock[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-timeout[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||
dev-python/re-assert[${PYTHON_USEDEP}]
|
||||
dev-python/trustme[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
DOCS=( CHANGES.rst CONTRIBUTORS.txt README.rst )
|
||||
|
||||
distutils_enable_tests pytest
|
||||
distutils_enable_sphinx docs \
|
||||
'>=dev-python/alabaster-0.6.2' \
|
||||
'dev-python/sphinxcontrib-asyncio' \
|
||||
'dev-python/sphinxcontrib-blockdiag' \
|
||||
'dev-python/sphinxcontrib-newsfeed' \
|
||||
'dev-python/sphinxcontrib-spelling' \
|
||||
'dev-python/sphinx' \
|
||||
'dev-python/sphinx-aiohttp-theme'
|
||||
|
||||
python_prepare_all() {
|
||||
# Fails due to a warning
|
||||
sed -e 's:test_read_boundary_with_incomplete_chunk:_&:' \
|
||||
-i tests/test_multipart.py || die
|
||||
# with py3.7+
|
||||
sed -e 's:test_aiohttp_request_coroutine:_&:' \
|
||||
-i tests/test_client_functional.py || die
|
||||
|
||||
# Fails due to path mismatch
|
||||
sed -e 's:test_static:_&:' \
|
||||
-i tests/test_route_def.py || die
|
||||
|
||||
# Internet
|
||||
sed -e 's:test_mark_formdata_as_processed:_&:' \
|
||||
-i tests/test_formdata.py || die
|
||||
|
||||
# newer chardet works too
|
||||
sed -e 's|chardet>=2.0,<4.0|chardet>=2.0|' \
|
||||
-i setup.py aiohttp.egg-info/requires.txt || die
|
||||
|
||||
# takes a very long time, then fails
|
||||
rm tests/test_pytest_plugin.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
pushd "${BUILD_DIR}/lib" >/dev/null || die
|
||||
ln -snf "${S}"/{LICENSE.txt,tests} . || die
|
||||
pytest -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" --forked \
|
||||
-vv tests || die "Tests fail with ${EPYTHON}"
|
||||
rm -rf .pytest_cache tests || die
|
||||
popd >/dev/null || die
|
||||
}
|
|
@ -5,4 +5,11 @@
|
|||
<email>b@edevau.net</email>
|
||||
<name>Andreas Billmeier</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="pypi">aiohttp</remote-id>
|
||||
<maintainer status="unknown">
|
||||
<email>aio-libs@googlegroups.com</email>
|
||||
<name>Nikolay Kim <fafhrd91@gmail.com>, Andrew Svetlov <andrew.svetlov@gmail.com></name>
|
||||
</maintainer>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
|
Loading…
Reference in New Issue