mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-python/pycurl-requests: Modernize, PEP 517, fix tests, py3.12
Closes: https://bugs.gentoo.org/888197 Closes: https://bugs.gentoo.org/909937 Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -3,13 +3,18 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Requests-compatible interface for PycURL"
|
||||
HOMEPAGE="https://github.com/dcoles/pycurl-requests"
|
||||
HOMEPAGE="
|
||||
https://github.com/dcoles/pycurl-requests/
|
||||
https://pypi.org/project/pycurl-requests/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/dcoles/${PN}/archive/v${PV}.tar.gz
|
||||
https://github.com/dcoles/pycurl-requests/archive/v${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
@@ -28,4 +33,6 @@ EPYTEST_DESELECT=(
|
||||
# network-sandbox
|
||||
pycurl_requests/tests/test_requests.py::test_get_connect_timeout
|
||||
pycurl_requests/tests/test_requests.py::test_get_connect_timeout_urllib3
|
||||
# TODO: different error?
|
||||
pycurl_requests/tests/test_exceptions.py::test_connecterror_refused
|
||||
)
|
||||
Reference in New Issue
Block a user