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/pycurl-requests/, dev-python/pycurl-requests/files/
Date: Sun, 17 Oct 2021 09:13:56
Message-Id: 1634462010.46005423f647b7add05247aa6a3ee8874d67e118.mgorny@gentoo
1 commit: 46005423f647b7add05247aa6a3ee8874d67e118
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 17 09:13:30 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 17 09:13:30 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46005423
7
8 dev-python/pycurl-requests: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/pycurl-requests/Manifest | 1 -
13 .../files/pycurl-requests-0.2.0-test.patch | 33 ----------------------
14 .../pycurl-requests/pycurl-requests-0.2.0.ebuild | 26 -----------------
15 3 files changed, 60 deletions(-)
16
17 diff --git a/dev-python/pycurl-requests/Manifest b/dev-python/pycurl-requests/Manifest
18 index 46483f2bb1d..cb1ca86cc2b 100644
19 --- a/dev-python/pycurl-requests/Manifest
20 +++ b/dev-python/pycurl-requests/Manifest
21 @@ -1,2 +1 @@
22 -DIST pycurl-requests-0.2.0.tar.gz 22962 BLAKE2B 9e28422e910ab88f2f6ace1684cd35a89eccde9eed9d63f48cb2d6f0caa30811016365fbbffc2bdd2dd8b05a3b248142a5822c092c9d40ebaabeed4ef068c659 SHA512 3bf091ff47e376a23f9046dbcc5631199da9434911d4140f5d09e5091b81f05c8cd8094528b7ac7d74f7a4b085a6dfd40bec81c66fde020a0680e2237b7af5b2
23 DIST pycurl-requests-0.2.1.tar.gz 24133 BLAKE2B b5994985621096edb4ea16859fe80e2c83221e32145d2ab0a6cb414084de9966df8ff2fbd7b38250b0ee096fb2c7cf98d4632eca814365bcecc5f9d69462fe6a SHA512 83b1052c8f007282aa5a8763ec44b3434604dd0b0b025d2bad0e45117438afdc6d05c2cf94516bbe993eb65bd1dbfac182954c1ff3a641cdb767e8f22c505574
24
25 diff --git a/dev-python/pycurl-requests/files/pycurl-requests-0.2.0-test.patch b/dev-python/pycurl-requests/files/pycurl-requests-0.2.0-test.patch
26 deleted file mode 100644
27 index 2bed5e3c93c..00000000000
28 --- a/dev-python/pycurl-requests/files/pycurl-requests-0.2.0-test.patch
29 +++ /dev/null
30 @@ -1,33 +0,0 @@
31 -diff --git a/pycurl_requests/tests/test_exceptions.py b/pycurl_requests/tests/test_exceptions.py
32 -index 2415ba8..6960615 100644
33 ---- a/pycurl_requests/tests/test_exceptions.py
34 -+++ b/pycurl_requests/tests/test_exceptions.py
35 -@@ -32,7 +32,7 @@ def test_connecterror_resolve():
36 - if IS_PYCURL_REQUESTS:
37 - assert isinstance(exception.__cause__, pycurl.error)
38 - assert exception.curl_code == pycurl.E_COULDNT_RESOLVE_HOST
39 -- assert 'Could not resolve host' in exception.curl_message
40 -+ assert 't resolve host' in exception.curl_message
41 -
42 -
43 - def test_toomanyredirects(http_server):
44 -diff --git a/pycurl_requests/tests/test_requests.py b/pycurl_requests/tests/test_requests.py
45 -index 7d2c627..850d530 100644
46 ---- a/pycurl_requests/tests/test_requests.py
47 -+++ b/pycurl_requests/tests/test_requests.py
48 -@@ -160,6 +160,7 @@ def test_get_timeout_urllib3(http_server, timeout):
49 - requests.get(http_server.base_url + '/slow', timeout=timeout)
50 -
51 -
52 -+@×××××××××××.skip("not compatible with network-sandbox")
53 - @pytest.mark.parametrize('timeout', [0.1, (0.1, None)])
54 - def test_get_connect_timeout(http_server, timeout):
55 - with pytest.raises(requests.Timeout):
56 -@@ -168,6 +169,7 @@ def test_get_connect_timeout(http_server, timeout):
57 - requests.get(http_server.base_url + '/slow', timeout=timeout)
58 -
59 -
60 -+@×××××××××××.skip("not compatible with network-sandbox")
61 - @pytest.mark.skipif('urllib3' not in sys.modules, reason='urllib3 not available')
62 - @pytest.mark.parametrize('timeout', [Timeout(connect=0.1), Timeout(total=0.1)])
63 - def test_get_connect_timeout_urllib3(http_server, timeout):
64
65 diff --git a/dev-python/pycurl-requests/pycurl-requests-0.2.0.ebuild b/dev-python/pycurl-requests/pycurl-requests-0.2.0.ebuild
66 deleted file mode 100644
67 index 479af0c574d..00000000000
68 --- a/dev-python/pycurl-requests/pycurl-requests-0.2.0.ebuild
69 +++ /dev/null
70 @@ -1,26 +0,0 @@
71 -# Copyright 2021 Gentoo Authors
72 -# Distributed under the terms of the GNU General Public License v2
73 -
74 -EAPI=7
75 -
76 -PYTHON_COMPAT=( python3_{7..9} )
77 -inherit distutils-r1
78 -
79 -DESCRIPTION="Requests-compatible interface for PycURL"
80 -HOMEPAGE="https://github.com/dcoles/pycurl-requests"
81 -SRC_URI="https://github.com/dcoles/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
82 -
83 -LICENSE="MIT Apache-2.0"
84 -SLOT="0"
85 -KEYWORDS="~amd64 ~x86"
86 -
87 -RDEPEND="
88 - dev-python/chardet[${PYTHON_USEDEP}]
89 - dev-python/pycurl[${PYTHON_USEDEP}]
90 -"
91 -
92 -PATCHES=(
93 - "${FILESDIR}/pycurl-requests-0.2.0-test.patch"
94 -)
95 -
96 -distutils_enable_tests pytest