Gentoo Archives: gentoo-commits

From: Mike Gilbert <floppym@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/requests/
Date: Tue, 09 Feb 2021 17:45:32
Message-Id: 1612892696.8dcfb3c2d18551f7f2b7c4334fd8f465b04b51be.floppym@gentoo
1 commit: 8dcfb3c2d18551f7f2b7c4334fd8f465b04b51be
2 Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
3 AuthorDate: Tue Feb 9 02:38:26 2021 +0000
4 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 9 17:44:56 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8dcfb3c2
7
8 dev-python/requests: drop dependency on cryptography
9
10 cryptography is only needed to support SNI on older versions of python.
11
12 Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>
13
14 .../requests/{requests-2.25.1.ebuild => requests-2.25.1-r1.ebuild} | 7 ++-----
15 1 file changed, 2 insertions(+), 5 deletions(-)
16
17 diff --git a/dev-python/requests/requests-2.25.1.ebuild b/dev-python/requests/requests-2.25.1-r1.ebuild
18 similarity index 92%
19 rename from dev-python/requests/requests-2.25.1.ebuild
20 rename to dev-python/requests/requests-2.25.1-r1.ebuild
21 index 35199f85610..cac0b7294a2 100644
22 --- a/dev-python/requests/requests-2.25.1.ebuild
23 +++ b/dev-python/requests/requests-2.25.1-r1.ebuild
24 @@ -1,4 +1,4 @@
25 -# Copyright 1999-2020 Gentoo Authors
26 +# Copyright 1999-2021 Gentoo Authors
27 # Distributed under the terms of the GNU General Public License v2
28
29 EAPI=7
30 @@ -15,7 +15,7 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
31 LICENSE="Apache-2.0"
32 SLOT="0"
33 KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
34 -IUSE="socks5 +ssl"
35 +IUSE="socks5"
36
37 RDEPEND="
38 >=dev-python/certifi-2017.4.17[${PYTHON_USEDEP}]
39 @@ -25,9 +25,6 @@ RDEPEND="
40 <dev-python/idna-3[${PYTHON_USEDEP}]
41 <dev-python/urllib3-1.27[${PYTHON_USEDEP}]
42 socks5? ( >=dev-python/PySocks-1.5.6[${PYTHON_USEDEP}] )
43 - ssl? (
44 - >=dev-python/cryptography-1.3.4[${PYTHON_USEDEP}]
45 - )
46 "
47
48 BDEPEND="