Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/httplib2/
Date: Wed, 18 May 2022 07:00:00
Message-Id: 1652857189.17080af91b6572c2a313b2d7e38979f253a79bd6.mgorny@gentoo
1 commit: 17080af91b6572c2a313b2d7e38979f253a79bd6
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed May 18 06:24:06 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed May 18 06:59:49 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17080af9
7
8 dev-python/httplib2: Enable py3.11
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/httplib2/httplib2-0.20.4.ebuild | 19 ++++++++++++++-----
13 1 file changed, 14 insertions(+), 5 deletions(-)
14
15 diff --git a/dev-python/httplib2/httplib2-0.20.4.ebuild b/dev-python/httplib2/httplib2-0.20.4.ebuild
16 index e88cb3072ace..9d81a60ff99c 100644
17 --- a/dev-python/httplib2/httplib2-0.20.4.ebuild
18 +++ b/dev-python/httplib2/httplib2-0.20.4.ebuild
19 @@ -4,15 +4,19 @@
20 EAPI=8
21
22 DISTUTILS_USE_PEP517=setuptools
23 -PYTHON_COMPAT=( python3_{8..10} pypy3 )
24 +PYTHON_COMPAT=( python3_{8..11} pypy3 )
25
26 inherit distutils-r1
27
28 DESCRIPTION="A comprehensive HTTP client library"
29 -HOMEPAGE="https://pypi.org/project/httplib2/"
30 +HOMEPAGE="
31 + https://pypi.org/project/httplib2/
32 + https://github.com/httplib2/httplib2/
33 +"
34 SRC_URI="
35 https://github.com/httplib2/httplib2/archive/v${PV}.tar.gz
36 - -> ${P}.gh.tar.gz"
37 + -> ${P}.gh.tar.gz
38 +"
39
40 LICENSE="MIT"
41 SLOT="0"
42 @@ -20,12 +24,14 @@ KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86 ~am
43
44 RDEPEND="
45 app-misc/ca-certificates
46 - dev-python/pyparsing[${PYTHON_USEDEP}]"
47 + dev-python/pyparsing[${PYTHON_USEDEP}]
48 +"
49 BDEPEND="
50 test? (
51 dev-libs/openssl
52 dev-python/pytest-timeout[${PYTHON_USEDEP}]
53 - )"
54 + )
55 +"
56
57 distutils_enable_tests pytest
58
59 @@ -50,6 +56,9 @@ python_test() {
60 # broken by recerting (TODO)
61 tests/test_https.py::test_min_tls_version
62 tests/test_https.py::test_max_tls_version
63 +
64 + # new cryptography or openssl-3?
65 + tests/test_https.py::test_client_cert_password_verified
66 )
67
68 # tests in python* are replaced by tests/