1 |
commit: 8e5919629052314f97d2a210701633921ed2177c |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 25 04:16:12 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 25 04:16:12 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e591962 |
7 |
|
8 |
dev-python/httpretty: Bump to 1.1.3 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/httpretty/Manifest | 1 + |
13 |
dev-python/httpretty/httpretty-1.1.3.ebuild | 46 +++++++++++++++++++++++++++++ |
14 |
2 files changed, 47 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/httpretty/Manifest b/dev-python/httpretty/Manifest |
17 |
index cef3be76942..edf3daf61f2 100644 |
18 |
--- a/dev-python/httpretty/Manifest |
19 |
+++ b/dev-python/httpretty/Manifest |
20 |
@@ -2,3 +2,4 @@ DIST httpretty-1.0.5.tar.gz 414946 BLAKE2B 8bbaac3d53fbf5744f7bf8ef952bd93051129 |
21 |
DIST httpretty-1.1.0.tar.gz 417966 BLAKE2B 2decbfdb8b8a1e04bc2a985bb605d59ef2ee84a434dcd3c420ecf68857a5a409cee622db63bb5bf8981c1bf287b7dcf56cf91360fec4dd219dc349b1d4425a6d SHA512 a6da71115d4dc12125bec451888c30858ec94f2a3aec530b21efcacd9c595cb3d2196dbca3631f4b6f50c985c14b3c4bc6f34ec1d9e41aaf2b48fc8a072f5739 |
22 |
DIST httpretty-1.1.1.tar.gz 423682 BLAKE2B a68c28155082d01d2cc3af9672dd03d6e1e0427426bc5db08fea1fe9a6cf6ceb422315f321cb66e9a6b9fa13f8abad02ca7fe78753c4deb27e220263f18b363c SHA512 29d9f1a4845b0b3dd6d3e1e9cc3f81d673a939286203de06ff34b167f69cbab180eebc0ccc4a733d81728deb2e44ffb14df25cab31475267609ce510664af736 |
23 |
DIST httpretty-1.1.2.tar.gz 426456 BLAKE2B 1b593344de4d2470a6712075b8476c024ec16bfd5501d0ab63e5e15ee65d3c4a7c89a24cc0c0ccee019554ab751afa1d09bdcd162602edd0d1d7523961e0fee8 SHA512 674641509e43cb36c14af560853271495474157477350ff80a9bd311b435fb64e9aa2b710419b34b1f344ffc963f8c7141a631dd3f0d9599accb43647b5680c0 |
24 |
+DIST httpretty-1.1.3.tar.gz 441309 BLAKE2B 9c8138bd83fd93602d4ab72e9ee2ff27605a851ee4e7e61f5fbe0d1423041479311315cf0168acb2474c2b579401c6817f4713f61707e21faad076968b2aa1f5 SHA512 3bac68ecb78efc7592f9ab314ca9ef570c8193fb7c2ab3d3fa003b0ff623ac57d6a74f8f0e7b6c2ed45f30e520d157345db56837212d9acd4ec6259570a43dfe |
25 |
|
26 |
diff --git a/dev-python/httpretty/httpretty-1.1.3.ebuild b/dev-python/httpretty/httpretty-1.1.3.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..bf841f155b1 |
29 |
--- /dev/null |
30 |
+++ b/dev-python/httpretty/httpretty-1.1.3.ebuild |
31 |
@@ -0,0 +1,46 @@ |
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 |
+ |
39 |
+inherit distutils-r1 |
40 |
+ |
41 |
+DESCRIPTION="HTTP client mock for Python" |
42 |
+HOMEPAGE="https://github.com/gabrielfalcao/httpretty" |
43 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
44 |
+ |
45 |
+SLOT="0" |
46 |
+LICENSE="MIT" |
47 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86" |
48 |
+ |
49 |
+RDEPEND=" |
50 |
+ dev-python/urllib3[${PYTHON_USEDEP}]" |
51 |
+# redis skipped as it requires a redis server running |
52 |
+DEPEND=" |
53 |
+ test? ( |
54 |
+ >=dev-python/boto3-1.17.72[${PYTHON_USEDEP}] |
55 |
+ dev-python/eventlet[${PYTHON_USEDEP}] |
56 |
+ dev-python/freezegun[${PYTHON_USEDEP}] |
57 |
+ dev-python/httplib2[${PYTHON_USEDEP}] |
58 |
+ >=dev-python/httpx-0.18.1[${PYTHON_USEDEP}] |
59 |
+ dev-python/pyopenssl[${PYTHON_USEDEP}] |
60 |
+ >=dev-python/requests-1.1[${PYTHON_USEDEP}] |
61 |
+ dev-python/sure[${PYTHON_USEDEP}] |
62 |
+ >=www-servers/tornado-2.2[${PYTHON_USEDEP}] |
63 |
+)" |
64 |
+ |
65 |
+distutils_enable_tests nose |
66 |
+ |
67 |
+python_prepare_all() { |
68 |
+ # remove useless deps |
69 |
+ sed -i -e '/rednose/d' setup.cfg || die |
70 |
+ # tests requiring network access |
71 |
+ rm tests/functional/test_passthrough.py || die |
72 |
+ # requires running redis server |
73 |
+ # it is skipped correctly but it causes unnecessary dep on redis-py |
74 |
+ #rm tests/functional/bugfixes/test_redis.py || die |
75 |
+ |
76 |
+ distutils-r1_python_prepare_all |
77 |
+} |