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: Fri, 27 May 2022 19:46:01
Message-Id: 1653680611.e4ad58193db3af76effd7f8eeeb38b2570900e1a.mgorny@gentoo
1 commit: e4ad58193db3af76effd7f8eeeb38b2570900e1a
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri May 27 19:43:31 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri May 27 19:43:31 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4ad5819
7
8 dev-python/requests-cache: Remove old
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.9.3-r1.ebuild | 81 ----------------------
14 2 files changed, 82 deletions(-)
15
16 diff --git a/dev-python/requests-cache/Manifest b/dev-python/requests-cache/Manifest
17 index 960b9aff9981..6e8e1ee627e8 100644
18 --- a/dev-python/requests-cache/Manifest
19 +++ b/dev-python/requests-cache/Manifest
20 @@ -1,2 +1 @@
21 -DIST requests-cache-0.9.3.gh.tar.gz 1541517 BLAKE2B a6096e8db01ccc7e6afa94ca35460ad79bbc503fe32fb272c3b43bb3344cb4a4e3c6f9240dc8d26a49b2ae4b564de72be22553b40847480487c150b192aa9490 SHA512 d413fbed156bd3fca48db8b153b01a883ee72d62f6e8982d490a5378dc188c19d0b3af5e37e6f47d19ed0ba11b3c0e01489720d56df12afcf1b47088e1541221
22 DIST requests-cache-0.9.4.gh.tar.gz 1541821 BLAKE2B 90f3ffe8f4213a47d19c1190f1201bb484473a4ee2fae82dff59c9e80bc8c154739e99f5024aa55b436f9e620d5594441df61e2db44e3cbb381d394c1b6b4a0b SHA512 66023dc8b153070a532f160af58ac2102f6b9d536a0045c4c62ad1d4175f59df6e7db5a25422f5610a2f17049270ad0b63c6023ddddf64235432a63d2cce9b91
23
24 diff --git a/dev-python/requests-cache/requests-cache-0.9.3-r1.ebuild b/dev-python/requests-cache/requests-cache-0.9.3-r1.ebuild
25 deleted file mode 100644
26 index 1d237051f1ea..000000000000
27 --- a/dev-python/requests-cache/requests-cache-0.9.3-r1.ebuild
28 +++ /dev/null
29 @@ -1,81 +0,0 @@
30 -# Copyright 1999-2022 Gentoo Authors
31 -# Distributed under the terms of the GNU General Public License v2
32 -
33 -EAPI=8
34 -
35 -DISTUTILS_USE_PEP517=poetry
36 -PYTHON_COMPAT=( python3_{8..10} )
37 -PYTHON_REQ_USE="sqlite"
38 -
39 -inherit distutils-r1 optfeature
40 -
41 -HOMEPAGE="
42 - https://pypi.org/project/requests-cache/
43 - https://github.com/reclosedev/requests-cache/
44 -"
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 -
51 -LICENSE="BSD"
52 -SLOT="0"
53 -KEYWORDS="amd64 x86"
54 -
55 -RDEPEND="
56 - dev-python/attrs[${PYTHON_USEDEP}]
57 - dev-python/appdirs[${PYTHON_USEDEP}]
58 - dev-python/cattrs[${PYTHON_USEDEP}]
59 - >=dev-python/requests-2.0.0[${PYTHON_USEDEP}]
60 - dev-python/urllib3[${PYTHON_USEDEP}]
61 - >=dev-python/url-normalize-1.4[${PYTHON_USEDEP}]
62 -"
63 -BDEPEND="
64 - test? (
65 - dev-python/itsdangerous[${PYTHON_USEDEP}]
66 - dev-python/pytest-httpbin[${PYTHON_USEDEP}]
67 - dev-python/requests-mock[${PYTHON_USEDEP}]
68 - dev-python/responses[${PYTHON_USEDEP}]
69 - dev-python/timeout-decorator[${PYTHON_USEDEP}]
70 - dev-python/ujson[${PYTHON_USEDEP}]
71 - )
72 -"
73 -
74 -distutils_enable_tests pytest
75 -
76 -PATCHES=(
77 - "${FILESDIR}"/${P}-cattrs-22.patch
78 -)
79 -
80 -src_prepare() {
81 - # unpin the dep
82 - sed -i -e '/cattrs/s:\^:>=:' pyproject.toml || die
83 - distutils-r1_src_prepare
84 -}
85 -
86 -python_test() {
87 - local EPYTEST_IGNORE=(
88 - # These require extra servers running
89 - tests/integration/test_dynamodb.py
90 - tests/integration/test_gridfs.py
91 - tests/integration/test_mongodb.py
92 - tests/integration/test_redis.py
93 - )
94 - local EPYTEST_DESELECT=(
95 - # Requires Internet access
96 - tests/integration/test_compat.py::test_version_upgrade
97 - )
98 -
99 - local -x USE_PYTEST_HTTPBIN=true
100 - epytest
101 -}
102 -
103 -pkg_postinst() {
104 - optfeature "redis backend" "dev-python/redis-py"
105 - optfeature "MongoDB backend" "dev-python/pymongo"
106 -
107 - optfeature "JSON serialization" "dev-python/ujson"
108 - optfeature "YAML serialization" "dev-python/pyyaml"
109 - optfeature "signing serialized data" "dev-python/itsdangerous"
110 -}