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: Thu, 22 Apr 2021 07:36:18
Message-Id: 1619076874.2df006de0ab717abb6758c294dc068645abb75a3.mgorny@gentoo
1 commit: 2df006de0ab717abb6758c294dc068645abb75a3
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Apr 22 06:46:47 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Apr 22 07:34:34 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2df006de
7
8 dev-python/requests-cache: Bump to 0.6.3
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.6.3.ebuild | 47 ++++++++++++++++++++++
14 2 files changed, 48 insertions(+)
15
16 diff --git a/dev-python/requests-cache/Manifest b/dev-python/requests-cache/Manifest
17 index 845cbc1a369..31aff9002ae 100644
18 --- a/dev-python/requests-cache/Manifest
19 +++ b/dev-python/requests-cache/Manifest
20 @@ -2,3 +2,4 @@ DIST requests-cache-0.5.2.tar.gz 31159 BLAKE2B 4fca146a751064baf70954a71df64dbb7
21 DIST requests-cache-0.6.0.tar.gz 52342 BLAKE2B 12af89721fcf1ae2e4ab14d7ac377f119ef312c64d3b9e5d80a36f26f3a9a798cf090835ee2c9bf886d0baa9b472f4c439d5a032573d442feecbbad930c239fd SHA512 b5b32b9cb99ec51cee67defde715df66b7c50a26f4124cbaf893685048fe188af0cf664232150e3b4fafe3b7a927716966efafadd711be01118d67ad802acef6
22 DIST requests-cache-0.6.1.gh.tar.gz 47919 BLAKE2B 022fd94a332feae043cf646cefc368fdb6ca1833dcd58621a07425bfb0d7bcb5ff9913c8b53f2bc0769fd23e8f364c437ee10f16fd37d1d340e8c46bcba9d53e SHA512 f8bea03b05b2f1e55fe6c975b5f5caacff55250d81f41cf953052c77101fc726ff39f9d95e1fd2829ddb59215226026bdddfd93918feb478395375ac0e0a4439
23 DIST requests-cache-0.6.2.gh.tar.gz 47962 BLAKE2B f0597f3c5f4a678b94f3b15023e3aba5247de3d79043e7e1cbd4ab0f2d4457e2f5feab130665129ae87baba56576312b1420ae16c2a34b44dc780bf05351615c SHA512 c97119127b1e80e6eec02938b2e0e8de785875f46d348215e05ee2d668feb77ed40f0dad4ed4a3ae53fb8e6708c8d7b13788e54694a38cef3ce22e83f13f97e2
24 +DIST requests-cache-0.6.3.gh.tar.gz 50303 BLAKE2B e8507a19f3883c050e1d819bf9ce8ebf720a5c6517e4004ecf745f5a197a8feac9cbca18ffa99001be0baffbad41d2ebfba5b63d90b55eda1d754d279242bbc6 SHA512 1fa801f60623dce0a5cd834272a74acf80b6ae52a602ae81fbd7e3653467800d9a58fb8220e30d53ef1b896aa01f2017f93dcbc2dacfd685ee9ae286f47077f5
25
26 diff --git a/dev-python/requests-cache/requests-cache-0.6.3.ebuild b/dev-python/requests-cache/requests-cache-0.6.3.ebuild
27 new file mode 100644
28 index 00000000000..a4941ae7336
29 --- /dev/null
30 +++ b/dev-python/requests-cache/requests-cache-0.6.3.ebuild
31 @@ -0,0 +1,47 @@
32 +# Copyright 1999-2021 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +
37 +PYTHON_COMPAT=( python3_{7..9} )
38 +PYTHON_REQ_USE="sqlite"
39 +
40 +inherit distutils-r1
41 +
42 +HOMEPAGE="
43 + https://pypi.org/project/requests-cache/
44 + https://github.com/reclosedev/requests-cache/"
45 +DESCRIPTION="Persistent cache for requests library"
46 +SRC_URI="
47 + https://github.com/reclosedev/requests-cache/archive/v${PV}.tar.gz
48 + -> ${P}.gh.tar.gz"
49 +
50 +LICENSE="BSD"
51 +SLOT="0"
52 +KEYWORDS="~amd64 ~x86"
53 +
54 +RDEPEND="
55 + dev-python/itsdangerous[${PYTHON_USEDEP}]
56 + >=dev-python/requests-2.0.0[${PYTHON_USEDEP}]
57 + >=dev-python/url-normalize-1.4[${PYTHON_USEDEP}]"
58 +BDEPEND="
59 + test? (
60 + dev-python/pytest-httpbin[${PYTHON_USEDEP}]
61 + dev-python/timeout-decorator[${PYTHON_USEDEP}]
62 + )"
63 +
64 +distutils_enable_sphinx docs
65 +distutils_enable_tests pytest
66 +
67 +python_test() {
68 + local skipped_tests=(
69 + # These require extra servers running
70 + tests/integration/test_dynamodb.py
71 + tests/integration/test_gridfs.py
72 + tests/integration/test_mongodb.py
73 + tests/integration/test_redis.py
74 + )
75 +
76 + local -x USE_PYTEST_HTTPBIN=true
77 + epytest ${skipped_tests[@]/#/--deselect }
78 +}