diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-04-14 09:09:08 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-04-14 09:19:00 +0200 |
commit | 70bdb031d304fb6775c473d61ebb9972037f5946 (patch) | |
tree | 33d8fc00797137e4d34b34459ecd62145e44f57b /dev-python/requests-cache | |
parent | dev-python/timeout-decorator: New dep of dev-python/requests-cache (diff) | |
download | gentoo-70bdb031d304fb6775c473d61ebb9972037f5946.tar.gz gentoo-70bdb031d304fb6775c473d61ebb9972037f5946.tar.bz2 gentoo-70bdb031d304fb6775c473d61ebb9972037f5946.zip |
dev-python/requests-cache: Bump to 0.6.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/requests-cache')
-rw-r--r-- | dev-python/requests-cache/Manifest | 1 | ||||
-rw-r--r-- | dev-python/requests-cache/requests-cache-0.6.1.ebuild | 50 |
2 files changed, 51 insertions, 0 deletions
diff --git a/dev-python/requests-cache/Manifest b/dev-python/requests-cache/Manifest index 858021548fd4..4bbb2d044a75 100644 --- a/dev-python/requests-cache/Manifest +++ b/dev-python/requests-cache/Manifest @@ -1,2 +1,3 @@ DIST requests-cache-0.5.2.tar.gz 31159 BLAKE2B 4fca146a751064baf70954a71df64dbb7f8c9a4e27fec5dbea3620496ce78e7ccfb3785fb63705f513ff6fa938376b0c6acc4a2f584856060b1bc8388517df46 SHA512 355cc571a46b768615606a907a69ed065b3c4b5e74bb6c311abc7a28d9406f32fdea1db0dfd2b1c32dcdc82ed817ef7e0b30086c069de57307254617604c5177 DIST requests-cache-0.6.0.tar.gz 52342 BLAKE2B 12af89721fcf1ae2e4ab14d7ac377f119ef312c64d3b9e5d80a36f26f3a9a798cf090835ee2c9bf886d0baa9b472f4c439d5a032573d442feecbbad930c239fd SHA512 b5b32b9cb99ec51cee67defde715df66b7c50a26f4124cbaf893685048fe188af0cf664232150e3b4fafe3b7a927716966efafadd711be01118d67ad802acef6 +DIST requests-cache-0.6.1.gh.tar.gz 47919 BLAKE2B 022fd94a332feae043cf646cefc368fdb6ca1833dcd58621a07425bfb0d7bcb5ff9913c8b53f2bc0769fd23e8f364c437ee10f16fd37d1d340e8c46bcba9d53e SHA512 f8bea03b05b2f1e55fe6c975b5f5caacff55250d81f41cf953052c77101fc726ff39f9d95e1fd2829ddb59215226026bdddfd93918feb478395375ac0e0a4439 diff --git a/dev-python/requests-cache/requests-cache-0.6.1.ebuild b/dev-python/requests-cache/requests-cache-0.6.1.ebuild new file mode 100644 index 000000000000..dd9fdcadae1e --- /dev/null +++ b/dev-python/requests-cache/requests-cache-0.6.1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..9} ) +PYTHON_REQ_USE="sqlite" + +inherit distutils-r1 + +HOMEPAGE=" + https://pypi.org/project/requests-cache/ + https://github.com/reclosedev/requests-cache/" +DESCRIPTION="Persistent cache for requests library" +SRC_URI=" + https://github.com/reclosedev/requests-cache/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/itsdangerous[${PYTHON_USEDEP}] + >=dev-python/requests-2.0.0[${PYTHON_USEDEP}] + >=dev-python/url-normalize-1.4[${PYTHON_USEDEP}]" +BDEPEND=" + test? ( + dev-python/pytest-httpbin[${PYTHON_USEDEP}] + dev-python/timeout-decorator[${PYTHON_USEDEP}] + )" + +distutils_enable_sphinx docs +distutils_enable_tests pytest + +python_test() { + local skipped_tests=( + # These require extra servers running + tests/integration/test_dynamodb.py + tests/integration/test_gridfs.py + tests/integration/test_mongodb.py + tests/integration/test_redis.py + + # TODO +# 'tests/integration/test_cache.py::test_all_response_formats[json]' + ) + + local -x USE_PYTEST_HTTPBIN=true + epytest ${skipped_tests[@]/#/--deselect } +} |