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, 30 Nov 2022 02:49:03
Message-Id: 1669776472.876c6726911ddcfd0cd8548adb31f24dc4aa5e7f.mgorny@gentoo
1 commit: 876c6726911ddcfd0cd8548adb31f24dc4aa5e7f
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Nov 30 02:47:52 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Nov 30 02:47:52 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=876c6726
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.6.ebuild | 71 ----------------------
14 2 files changed, 72 deletions(-)
15
16 diff --git a/dev-python/requests-cache/Manifest b/dev-python/requests-cache/Manifest
17 index e1cc17b0ce9e..a201dbf13543 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.6.gh.tar.gz 1514642 BLAKE2B 1b098b14a677976b1e767e63b8b5f6c1a3e89b5023b6150f0d186aefe0dad14ad9999e1b036b436759ec4b27b6663159d2a8538dbf99a9017c18a34f0c117d94 SHA512 88e4745bed278224ccd1eb815a4f9da84051bab79c43122fa97899c3a8ad87ad7bfd929f87680eb6f73b1ff14267d2519afd9ef8815f10597769cab8ada7f8b5
22 DIST requests-cache-0.9.7.gh.tar.gz 1544100 BLAKE2B a255d3cce0345ff03e020327c10a1d8cc25e519069764b7e3e1a43a0e5cd899aec824e3c147561796cba1f269550505f881cf913d909ce7e6c52e8f76ad9688a SHA512 00b2c7080030ed07f5d896871a431aec2625dab6ab84f01f7e6fea9e81692f757304e25ee6addbe7695e93d0c1c04484c31b95a71d7c9e12f6c23a5b7747ae30
23
24 diff --git a/dev-python/requests-cache/requests-cache-0.9.6.ebuild b/dev-python/requests-cache/requests-cache-0.9.6.ebuild
25 deleted file mode 100644
26 index dfe56be308eb..000000000000
27 --- a/dev-python/requests-cache/requests-cache-0.9.6.ebuild
28 +++ /dev/null
29 @@ -1,71 +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/requests-cache/requests-cache/
44 -"
45 -DESCRIPTION="Persistent cache for requests library"
46 -SRC_URI="
47 - https://github.com/requests-cache/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 -python_test() {
77 - local EPYTEST_IGNORE=(
78 - # These require extra servers running
79 - tests/integration/test_dynamodb.py
80 - tests/integration/test_gridfs.py
81 - tests/integration/test_mongodb.py
82 - tests/integration/test_redis.py
83 - )
84 - local EPYTEST_DESELECT=(
85 - # Requires Internet access
86 - tests/integration/test_compat.py::test_version_upgrade
87 - )
88 -
89 - local -x USE_PYTEST_HTTPBIN=true
90 - epytest
91 -}
92 -
93 -pkg_postinst() {
94 - optfeature "redis backend" "dev-python/redis-py"
95 - optfeature "MongoDB backend" "dev-python/pymongo"
96 -
97 - optfeature "JSON serialization" "dev-python/ujson"
98 - optfeature "YAML serialization" "dev-python/pyyaml"
99 - optfeature "signing serialized data" "dev-python/itsdangerous"
100 -}