diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-07-02 22:10:23 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-07-02 23:01:29 +0200 |
commit | 715ecac89f1be51a619da14c3c6a674146ee8ea0 (patch) | |
tree | fa831c0f284b8dead2fa1f23c4421d1c48f5100f /dev-python/pycurl-requests | |
parent | dev-python/Faker: Bump to 8.9.1 (diff) | |
download | gentoo-715ecac89f1be51a619da14c3c6a674146ee8ea0.tar.gz gentoo-715ecac89f1be51a619da14c3c6a674146ee8ea0.tar.bz2 gentoo-715ecac89f1be51a619da14c3c6a674146ee8ea0.zip |
dev-python/pycurl-requests: Bump to 0.2.1
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/pycurl-requests-0.2.1.ebuild | 32 |
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-python/pycurl-requests/Manifest b/dev-python/pycurl-requests/Manifest index 3da4d1e9024e..46483f2bb1d2 100644 --- a/dev-python/pycurl-requests/Manifest +++ b/dev-python/pycurl-requests/Manifest @@ -1 +1,2 @@ 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/pycurl-requests-0.2.1.ebuild b/dev-python/pycurl-requests/pycurl-requests-0.2.1.ebuild new file mode 100644 index 000000000000..f08e2f6638e1 --- /dev/null +++ b/dev-python/pycurl-requests/pycurl-requests-0.2.1.ebuild @@ -0,0 +1,32 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +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}] +" + +distutils_enable_tests pytest + +python_test() { + local deselect=( + # network-sandbox + pycurl_requests/tests/test_requests.py::test_get_connect_timeout + pycurl_requests/tests/test_requests.py::test_get_connect_timeout_urllib3 + ) + + epytest ${deselect[@]/#/--deselect } +} |