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/requests-cache/
Date: Wed, 15 Sep 2021 20:26:14
Message-Id: 1631737560.3289fdb29c6a3a48669d5d9c5d47b4ebcd922516.mgorny@gentoo
1 commit: 3289fdb29c6a3a48669d5d9c5d47b4ebcd922516
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Sep 15 19:50:41 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 15 20:26:00 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3289fdb2
7
8 dev-python/requests-cache: Bump to 0.7.5
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/requests-cache/Manifest | 1 +
13 .../requests-cache/requests-cache-0.7.5.ebuild | 54 ++++++++++++++++++++++
14 2 files changed, 55 insertions(+)
15
16 diff --git a/dev-python/requests-cache/Manifest b/dev-python/requests-cache/Manifest
17 index 5be3e760ee2..9c4b50f67c4 100644
18 --- a/dev-python/requests-cache/Manifest
19 +++ b/dev-python/requests-cache/Manifest
20 @@ -3,4 +3,5 @@ DIST requests-cache-0.7.1.gh.tar.gz 959455 BLAKE2B ce41514f21dc0708e437f70b92eb9
21 DIST requests-cache-0.7.2.gh.tar.gz 962215 BLAKE2B 0f66548b4c37c14347021a4675d0165b9f9648dc9842f1d94c9507c096f6ef359f7109f88ac369de2de263673542f42d6e4a7402449354aee900970331f87cea SHA512 1712f3568ec4c8c41988c9d2ca07e72b1a66efceb596d814219b5eb9bb0c05448ee33b4634ec39fb03634032a6bfaaf877b297be7f92f540788dba40b4c202df
22 DIST requests-cache-0.7.3.gh.tar.gz 1182825 BLAKE2B bc2b936f3b13388c23c344119a0ae2dc8efae3ba243e3a176ac27a7affb9b1c691e99ee88dfa61823a5c517ea898f144c7a9450867ea611c8518a0ecb3d77287 SHA512 fca494438001d14b0edce2cf93f51f65a0bf363d31bf1c70d1a4b2f214fe7bfc6f6f6fc97d21357fcfb9ab38c83d76cabe9c0ff4703171679ce509bd9f55753f
23 DIST requests-cache-0.7.4.gh.tar.gz 1254975 BLAKE2B f0df6ac156665f8eed8850e153bfa3738d8c6677ff1613a54fcbf3208861c590e5e0ede3d5c30eeda36dcd709390402a020e03a0180e701e0751c5c982903a35 SHA512 684a3182135b6a31816629c8b4a174b52a629e964a5862573df1ac6e9e9b5cb807d1661a3a6daf8cc4b2a0f6778bd780d822a2f6c409242aa090c6565adf0aab
24 +DIST requests-cache-0.7.5.gh.tar.gz 1254930 BLAKE2B 7dec609d8e5d5570247bc45c33763bc35006104082235575feb336d1d386a36d18ef1e4403703aa532bc5c8e1f7cf4f741aa91bb94be4bd1fd85fe7cc9adb9b1 SHA512 656791e54f7c8dfd6518054434aa4dd03e5ce027fb36b38675d99284536abefb11883f53c6ec2f11e3f8efb473f0d1e9cede100eac82005ee023b7778848f588
25 DIST requests-cache-0.8.0.gh.tar.gz 1642151 BLAKE2B e341707b2473438a8c4155350bce3e0fc712537692991e23965aa6504e8eed735caae8b103896bd324882a8f73f13f36b23b329c3c155864c1b7665c6bcc4e2a SHA512 b9f1769f70b33f128aacf05a2251f9d2511649a4e80cb702c14ac3fcbfaf72d1049a5792a295286b6969985320a0d5a87ef81bfe3bacbbc200042ba51889b7ea
26
27 diff --git a/dev-python/requests-cache/requests-cache-0.7.5.ebuild b/dev-python/requests-cache/requests-cache-0.7.5.ebuild
28 new file mode 100644
29 index 00000000000..61afa9af045
30 --- /dev/null
31 +++ b/dev-python/requests-cache/requests-cache-0.7.5.ebuild
32 @@ -0,0 +1,54 @@
33 +# Copyright 1999-2021 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=8
37 +
38 +DISTUTILS_USE_SETUPTOOLS=pyproject.toml
39 +PYTHON_COMPAT=( python3_{8..10} )
40 +PYTHON_REQ_USE="sqlite"
41 +
42 +inherit distutils-r1
43 +
44 +HOMEPAGE="
45 + https://pypi.org/project/requests-cache/
46 + https://github.com/reclosedev/requests-cache/"
47 +DESCRIPTION="Persistent cache for requests library"
48 +SRC_URI="
49 + https://github.com/reclosedev/requests-cache/archive/v${PV}.tar.gz
50 + -> ${P}.gh.tar.gz"
51 +
52 +LICENSE="BSD"
53 +SLOT="0"
54 +KEYWORDS="~amd64 ~x86"
55 +
56 +RDEPEND="
57 + dev-python/cattrs[${PYTHON_USEDEP}]
58 + dev-python/itsdangerous[${PYTHON_USEDEP}]
59 + >=dev-python/requests-2.0.0[${PYTHON_USEDEP}]
60 + >=dev-python/url-normalize-1.4[${PYTHON_USEDEP}]"
61 +BDEPEND="
62 + test? (
63 + dev-python/pytest-httpbin[${PYTHON_USEDEP}]
64 + dev-python/requests-mock[${PYTHON_USEDEP}]
65 + dev-python/responses[${PYTHON_USEDEP}]
66 + dev-python/timeout-decorator[${PYTHON_USEDEP}]
67 + )"
68 +
69 +distutils_enable_tests pytest
70 +
71 +python_test() {
72 + local EPYTEST_IGNORE=(
73 + # These require extra servers running
74 + tests/integration/test_dynamodb.py
75 + tests/integration/test_gridfs.py
76 + tests/integration/test_mongodb.py
77 + tests/integration/test_redis.py
78 + )
79 + local EPYTEST_DESELECT=(
80 + # Requires Internet access
81 + tests/integration/test_compat.py::test_version_upgrade
82 + )
83 +
84 + local -x USE_PYTEST_HTTPBIN=true
85 + epytest
86 +}