commit:     d5cc23a8c31f4b64e41cb73f50ddae6644a7cf9a
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 23 05:30:53 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Sep 23 05:55:18 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5cc23a8

dev-python/pycurl-requests: Bump to 0.5.1

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/pycurl-requests/Manifest                |  1 +
 .../pycurl-requests/pycurl-requests-0.5.1.ebuild   | 39 ++++++++++++++++++++++
 2 files changed, 40 insertions(+)

diff --git a/dev-python/pycurl-requests/Manifest 
b/dev-python/pycurl-requests/Manifest
index e92842cc956f..b49f57b0b0b3 100644
--- a/dev-python/pycurl-requests/Manifest
+++ b/dev-python/pycurl-requests/Manifest
@@ -1 +1,2 @@
 DIST pycurl-requests-0.5.0.gh.tar.gz 25344 BLAKE2B 
50c57fabdbdc0471281ce0201de0a473db7f9783f6984da4e8c55552ab542235452a0f3e85855fa9dbb10985d8d6ec9b9499b9778b3f7166e50edb853293d16f
 SHA512 
e6e7a0d552bf2e5167978a0ac57d7a456a8e445853e16e94d261537af19ee73e4681ee336117e076cc3a3b6e416607bc5a5f2fcbc153675ff6129a4455a4f005
+DIST pycurl-requests-0.5.1.gh.tar.gz 25613 BLAKE2B 
106850b2aeb4b2c026ed322896cb6abd753c0d74aa105198029035b09aa6ff162d52308041ed53a08117dce72e2a67d281576fb2cae024568e74da5c70009b0e
 SHA512 
4f2f179e0fc46044b75fa9ba36c0835f55d47d7e4864946197eb694c9e3748b06d89351c7c3827c0fe511487d892519fe52464a6062af48750141760f2e24f84

diff --git a/dev-python/pycurl-requests/pycurl-requests-0.5.1.ebuild 
b/dev-python/pycurl-requests/pycurl-requests-0.5.1.ebuild
new file mode 100644
index 000000000000..29ce65228c8f
--- /dev/null
+++ b/dev-python/pycurl-requests/pycurl-requests-0.5.1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 2021-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{11..14} )
+
+inherit distutils-r1
+
+DESCRIPTION="Requests-compatible interface for PycURL"
+HOMEPAGE="
+       https://github.com/dcoles/pycurl-requests/
+       https://pypi.org/project/pycurl-requests/
+"
+SRC_URI="
+       https://github.com/dcoles/pycurl-requests/archive/v${PV}.tar.gz
+               -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+
+RDEPEND="
+       dev-python/chardet[${PYTHON_USEDEP}]
+       dev-python/pycurl[${PYTHON_USEDEP}]
+"
+
+EPYTEST_PLUGINS=()
+distutils_enable_tests pytest
+
+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
+)

Reply via email to