diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-10-17 11:13:30 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-10-17 11:13:30 +0200 |
commit | 46005423f647b7add05247aa6a3ee8874d67e118 (patch) | |
tree | ffb84698931d001d4377a2fd2ba6052da860a56b /dev-python/pycurl-requests | |
parent | dev-python/pycdio: Remove old (diff) | |
download | gentoo-46005423f647b7add05247aa6a3ee8874d67e118.tar.gz gentoo-46005423f647b7add05247aa6a3ee8874d67e118.tar.bz2 gentoo-46005423f647b7add05247aa6a3ee8874d67e118.zip |
dev-python/pycurl-requests: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pycurl-requests')
-rw-r--r-- | dev-python/pycurl-requests/Manifest | 1 | ||||
-rw-r--r-- | dev-python/pycurl-requests/files/pycurl-requests-0.2.0-test.patch | 33 | ||||
-rw-r--r-- | dev-python/pycurl-requests/pycurl-requests-0.2.0.ebuild | 26 |
3 files changed, 0 insertions, 60 deletions
diff --git a/dev-python/pycurl-requests/Manifest b/dev-python/pycurl-requests/Manifest index 46483f2bb1d2..cb1ca86cc2b2 100644 --- a/dev-python/pycurl-requests/Manifest +++ b/dev-python/pycurl-requests/Manifest @@ -1,2 +1 @@ -DIST pycurl-requests-0.2.0.tar.gz 22962 BLAKE2B 9e28422e910ab88f2f6ace1684cd35a89eccde9eed9d63f48cb2d6f0caa30811016365fbbffc2bdd2dd8b05a3b248142a5822c092c9d40ebaabeed4ef068c659 SHA512 3bf091ff47e376a23f9046dbcc5631199da9434911d4140f5d09e5091b81f05c8cd8094528b7ac7d74f7a4b085a6dfd40bec81c66fde020a0680e2237b7af5b2 DIST pycurl-requests-0.2.1.tar.gz 24133 BLAKE2B b5994985621096edb4ea16859fe80e2c83221e32145d2ab0a6cb414084de9966df8ff2fbd7b38250b0ee096fb2c7cf98d4632eca814365bcecc5f9d69462fe6a SHA512 83b1052c8f007282aa5a8763ec44b3434604dd0b0b025d2bad0e45117438afdc6d05c2cf94516bbe993eb65bd1dbfac182954c1ff3a641cdb767e8f22c505574 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 deleted file mode 100644 index 2bed5e3c93c2..000000000000 --- a/dev-python/pycurl-requests/files/pycurl-requests-0.2.0-test.patch +++ /dev/null @@ -1,33 +0,0 @@ -diff --git a/pycurl_requests/tests/test_exceptions.py b/pycurl_requests/tests/test_exceptions.py -index 2415ba8..6960615 100644 ---- a/pycurl_requests/tests/test_exceptions.py -+++ b/pycurl_requests/tests/test_exceptions.py -@@ -32,7 +32,7 @@ def test_connecterror_resolve(): - if IS_PYCURL_REQUESTS: - assert isinstance(exception.__cause__, pycurl.error) - assert exception.curl_code == pycurl.E_COULDNT_RESOLVE_HOST -- assert 'Could not resolve host' in exception.curl_message -+ assert 't resolve host' in exception.curl_message - - - def test_toomanyredirects(http_server): -diff --git a/pycurl_requests/tests/test_requests.py b/pycurl_requests/tests/test_requests.py -index 7d2c627..850d530 100644 ---- a/pycurl_requests/tests/test_requests.py -+++ b/pycurl_requests/tests/test_requests.py -@@ -160,6 +160,7 @@ def test_get_timeout_urllib3(http_server, timeout): - requests.get(http_server.base_url + '/slow', timeout=timeout) - - -+@pytest.mark.skip("not compatible with network-sandbox") - @pytest.mark.parametrize('timeout', [0.1, (0.1, None)]) - def test_get_connect_timeout(http_server, timeout): - with pytest.raises(requests.Timeout): -@@ -168,6 +169,7 @@ def test_get_connect_timeout(http_server, timeout): - requests.get(http_server.base_url + '/slow', timeout=timeout) - - -+@pytest.mark.skip("not compatible with network-sandbox") - @pytest.mark.skipif('urllib3' not in sys.modules, reason='urllib3 not available') - @pytest.mark.parametrize('timeout', [Timeout(connect=0.1), Timeout(total=0.1)]) - def test_get_connect_timeout_urllib3(http_server, timeout): diff --git a/dev-python/pycurl-requests/pycurl-requests-0.2.0.ebuild b/dev-python/pycurl-requests/pycurl-requests-0.2.0.ebuild deleted file mode 100644 index 479af0c574d3..000000000000 --- a/dev-python/pycurl-requests/pycurl-requests-0.2.0.ebuild +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright 2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7..9} ) -inherit distutils-r1 - -DESCRIPTION="Requests-compatible interface for PycURL" -HOMEPAGE="https://github.com/dcoles/pycurl-requests" -SRC_URI="https://github.com/dcoles/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - dev-python/chardet[${PYTHON_USEDEP}] - dev-python/pycurl[${PYTHON_USEDEP}] -" - -PATCHES=( - "${FILESDIR}/pycurl-requests-0.2.0-test.patch" -) - -distutils_enable_tests pytest |