mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-python/httplib2: Enable py3.11
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -4,15 +4,19 @@
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..10} pypy3 )
|
||||
PYTHON_COMPAT=( python3_{8..11} pypy3 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A comprehensive HTTP client library"
|
||||
HOMEPAGE="https://pypi.org/project/httplib2/"
|
||||
HOMEPAGE="
|
||||
https://pypi.org/project/httplib2/
|
||||
https://github.com/httplib2/httplib2/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/httplib2/httplib2/archive/v${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz"
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
@@ -20,12 +24,14 @@ KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86 ~am
|
||||
|
||||
RDEPEND="
|
||||
app-misc/ca-certificates
|
||||
dev-python/pyparsing[${PYTHON_USEDEP}]"
|
||||
dev-python/pyparsing[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-libs/openssl
|
||||
dev-python/pytest-timeout[${PYTHON_USEDEP}]
|
||||
)"
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
@@ -50,6 +56,9 @@ python_test() {
|
||||
# broken by recerting (TODO)
|
||||
tests/test_https.py::test_min_tls_version
|
||||
tests/test_https.py::test_max_tls_version
|
||||
|
||||
# new cryptography or openssl-3?
|
||||
tests/test_https.py::test_client_cert_password_verified
|
||||
)
|
||||
|
||||
# tests in python* are replaced by tests/
|
||||
|
||||
Reference in New Issue
Block a user