update requests-2.25.0

This commit is contained in:
Andreas Billmeier 2020-11-17 19:41:40 +01:00 committed by Andreas Billmeier
parent 479ef68ce0
commit 3c84335eb8
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
3 changed files with 59 additions and 0 deletions

View File

@ -3,6 +3,7 @@
* bump zigpy-zigate-0.7.2
* update construct-2.10.56
* bump python-miio-0.5.4
* update requests-2.25.0
2020-11-15 homeassistant-0.118.0_beta2
* update env-canada-0.2.2, env-canada-0.2.4, fix env-canada-0.2.0 deps

View File

@ -1,3 +1,5 @@
DIST requests-2.22.0.tar.gz 113406 BLAKE2B 36e1fa106f30af3d560c11edab3cd8f7e79116378c6f4d505052c8b19021846a22b4631567859b23331e7c9413896e77d7fc3288cd3af586f5f99da21c9181a6 SHA512 8b8e9da8a0c816fb4ff39be89ac7e1a9d5a99503ed93e44a0d78b28818f1c0eb253b151972a144151a616ba1b4bc5595245458a8268c5161391db54f740ac9a5
DIST requests-2.25.0.tar.gz 101897 BLAKE2B 5de8f4f5059915f929ebb71d8209bfefbe95bb381544ed0b6875cc01cb958e6fe8861cd8321143463da5dd872ad4ff8c828008bcd6409b41857c4d2037db3f67 SHA512 dd13ccb6bcd95bdd31a414dba67e5a0914ff172ae6f5d255849837e8e2a7e404e3c02fc3d07e5ff6dc81c12d0fe56c3b83bc62bc377dd3f504b00b97b144db74
EBUILD requests-2.22.0-r1.ebuild 1454 BLAKE2B 607d1fb851c1d43ab240b4f30c82b3dfb940ce11d73600392e8eff034c42758ce53d6adbbf819a68a19b4ce88d0bf880b7db49f8497ec2c943f0da21bbb14300 SHA512 8773d17a9c1adfc9d91eeb5e88a9aa127a0fb053d9e0c289c3dce8d24941b36b96d52e1ad277496d47290654829cadfa121c93827df197974d89f5f2161487cc
EBUILD requests-2.25.0.ebuild 1503 BLAKE2B c814cde44515c89ad3b8904f6d582277b1486c0e48548a2dc25f36873b0f63a661a2d902d9ec5ccc21a3da14ecfcf6b0b9c4455efad1b9f6299b05b358920eda SHA512 d6fd9266f550135d92a2e5ae6a38a9d0930462cd3c5873ca52c47546cff7067b0f1f6383e9dd568f73ccb7d321d64fde4ddbf60f25591d93e3e6f60c7f322b73
MISC metadata.xml 252 BLAKE2B 507e0ddc9d50b879ff374b903b142f85d020dfd6c486aba2af84fe082c878e780edbb79188ae10104d57db0eb775c86814cc8c06891a3854c9da840a4d377050 SHA512 9470ac9c8a5a4f80e3f767e7aa198addc7b21866c63b2a310e9f41ce65817672fb77423117bdd619e99cb62322025aeadf50717e23eafabf99080fcc106820af

View File

@ -0,0 +1,56 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{6,7,8,9} pypy3 )
PYTHON_REQ_USE="threads(+)"
inherit distutils-r1
DESCRIPTION="HTTP library for human beings"
HOMEPAGE="https://requests.readthedocs.io/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc x86 amd64-linux x86-linux"
IUSE="socks5 +ssl"
RDEPEND="
>=dev-python/certifi-2017.4.17[${PYTHON_USEDEP}]
>=dev-python/chardet-3.0.2[${PYTHON_USEDEP}]
<dev-python/chardet-4[${PYTHON_USEDEP}]
>=dev-python/idna-2.5[${PYTHON_USEDEP}]
<dev-python/idna-3[${PYTHON_USEDEP}]
<dev-python/urllib3-1.27[${PYTHON_USEDEP}]
socks5? ( >=dev-python/PySocks-1.5.6[${PYTHON_USEDEP}] )
ssl? (
>=dev-python/cryptography-1.3.4[${PYTHON_USEDEP}]
)
"
BDEPEND="
test? (
dev-python/pytest-httpbin[${PYTHON_USEDEP}]
dev-python/pytest-mock[${PYTHON_USEDEP}]
>=dev-python/PySocks-1.5.6[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
src_prepare() {
distutils-r1_src_prepare
# strip tests that require some kind of network
sed -e 's:test_connect_timeout:_&:' \
-e 's:test_total_timeout_connect:_&:' \
-i tests/test_requests.py || die
# probably pyopenssl version dependent
sed -e 's:test_https_warnings:_&:' \
-i tests/test_requests.py || die
# doctests rely on networking
sed -e 's:--doctest-modules::' \
-i pytest.ini || die
}