1 |
commit: b8b3dd020f544593c1c45b84d0e73a0f806e27f4 |
2 |
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> |
3 |
AuthorDate: Sat Aug 29 14:06:47 2020 +0000 |
4 |
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> |
5 |
CommitDate: Sat Aug 29 14:06:47 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b8b3dd02 |
7 |
|
8 |
dev-python/httpx: drop old |
9 |
|
10 |
Package-Manager: Portage-3.0.4, Repoman-3.0.1 |
11 |
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net> |
12 |
|
13 |
dev-python/httpx/Manifest | 2 - |
14 |
dev-python/httpx/httpx-0.12.1.ebuild | 62 ----------------------------- |
15 |
dev-python/httpx/httpx-0.9.3.ebuild | 76 ------------------------------------ |
16 |
3 files changed, 140 deletions(-) |
17 |
|
18 |
diff --git a/dev-python/httpx/Manifest b/dev-python/httpx/Manifest |
19 |
index d272c43..0a3004b 100644 |
20 |
--- a/dev-python/httpx/Manifest |
21 |
+++ b/dev-python/httpx/Manifest |
22 |
@@ -1,5 +1,3 @@ |
23 |
DIST httpx-0.11.1.tar.gz 177579 BLAKE2B a5722e997a79fd9b5c701a862abb4bf70458bf57057d2a9fb9a2dccdbbca2f4f54bf59e91437ed8ff452737a3b01d69dbf4efe3ef03d49e240bc5bf54e51ebea SHA512 4da80a0232092d2423fd95d4549df79d9885e6ce34af0480f1d5a4904c9ca0fdb725b600f603c482179ea3b7c6ee5b584a70b8c0722918ba28f1bcc5c48201ad |
24 |
-DIST httpx-0.12.1.tar.gz 186169 BLAKE2B 1b118081e55a5424eafdcf756cae8c1e9d72857d4fc24472cf118e4130bcb814e307f6fae52c0de61d89303cb1a876c8cda60fb98e138745a74712a1e7f2da08 SHA512 fe978a16f945e17a27815bc65f2adf36bd2a70b6e5e3c0ee8df83172d041c3084eaf99b10f7e015fc4a3de00ed081e83a54275256f9e85bf7cd32d553b316883 |
25 |
DIST httpx-0.13.3.tar.gz 176199 BLAKE2B d3a56c2386841909668e34eaa78d202f91ad900230b9d1d4254bfa08312312d020e081aea2839dbb57d85fa26ccfc3f093404801c4dd5c47051f3c9fd2746552 SHA512 54cdee16e8253c221c3298817ccf63a4a0d6755a86feea2aa5a2efe9af44eb1eb0a578b21f593fe28fceace17b0a0badb52a66965c35bf456ea57dd3b905ebbe |
26 |
DIST httpx-0.14.2.tar.gz 811666 BLAKE2B 3d6b189a2327f1292ef2c5009292f1517984b5a45a9904f5b1f79b0c0fef19f2005d9db16094c02f4115b511151eb276c2fac9fcb5b8314d256be0395eeefe2c SHA512 4e73787703a0083c024288391f8c65d5b8d3cf0fbcf3b578c49a114575ebb913d1f9ff256a055f454853e793123ab1857f6910ff5fb7d325ee0d36134a8b74bd |
27 |
-DIST httpx-0.9.3.tar.gz 170954 BLAKE2B 420993bc556e510d8f0d1ff0f3f200d9dce98c1475d40a1f7f5047cd34600bade5e184485d88642169685bf903dedc46d988e608d1f93f718cdb550801c1bb8e SHA512 171e4ea2a19882c90ced9af995e5ecce1ff27308f95f027ddc7197a599624125d94f70f9f0a0672b6a04db0569f1eaa05a935fd8d43f517335fe26b30dc53d1a |
28 |
|
29 |
diff --git a/dev-python/httpx/httpx-0.12.1.ebuild b/dev-python/httpx/httpx-0.12.1.ebuild |
30 |
deleted file mode 100644 |
31 |
index 0f081af..0000000 |
32 |
--- a/dev-python/httpx/httpx-0.12.1.ebuild |
33 |
+++ /dev/null |
34 |
@@ -1,62 +0,0 @@ |
35 |
-# Copyright 1999-2020 Gentoo Authors |
36 |
-# Distributed under the terms of the GNU General Public License v2 |
37 |
- |
38 |
-EAPI=7 |
39 |
- |
40 |
-PYTHON_COMPAT=( python3_7 ) |
41 |
- |
42 |
-DOCBUILDER="mkdocs" |
43 |
-DOCDEPEND="dev-python/mkdocs-material" |
44 |
-AUTODOC=1 |
45 |
- |
46 |
-inherit distutils-r1 docs |
47 |
- |
48 |
-DESCRIPTION="A next generation HTTP client for Python" |
49 |
-HOMEPAGE=" |
50 |
- https://www.python-httpx.org |
51 |
- https://github.com/encode/httpx |
52 |
- https://pypi.org/project/httpx |
53 |
-" |
54 |
-SRC_URI="https://github.com/encode/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
55 |
- |
56 |
-LICENSE="BSD" |
57 |
-KEYWORDS="~amd64 ~x86" |
58 |
-SLOT="0" |
59 |
- |
60 |
-RDEPEND="dev-python/certifi[${PYTHON_USEDEP}] |
61 |
- dev-python/chardet[${PYTHON_USEDEP}] |
62 |
- dev-python/hstspreload[${PYTHON_USEDEP}] |
63 |
- dev-python/hyper-h2[${PYTHON_USEDEP}] |
64 |
- dev-python/h11[${PYTHON_USEDEP}] |
65 |
- dev-python/idna[${PYTHON_USEDEP}] |
66 |
- dev-python/rfc3986[${PYTHON_USEDEP}] |
67 |
- dev-python/sniffio[${PYTHON_USEDEP}] |
68 |
- dev-python/urllib3[${PYTHON_USEDEP}]" |
69 |
- |
70 |
-DEPEND="test? ( |
71 |
- dev-python/attrs[${PYTHON_USEDEP}] |
72 |
- dev-python/brotlipy[${PYTHON_USEDEP}] |
73 |
- dev-python/cryptography[${PYTHON_USEDEP}] |
74 |
- dev-python/isort[${PYTHON_USEDEP}] |
75 |
- dev-python/mypy[${PYTHON_USEDEP}] |
76 |
- dev-python/pytest-asyncio[${PYTHON_USEDEP}] |
77 |
- dev-python/trio[${PYTHON_USEDEP}] |
78 |
- dev-python/trustme[${PYTHON_USEDEP}] |
79 |
- dev-python/uvicorn[${PYTHON_USEDEP}] )" |
80 |
- |
81 |
-distutils_enable_tests pytest |
82 |
- |
83 |
-python_prepare_all() { |
84 |
- # do not depend on pytest-cov |
85 |
- sed -i -e '/addopts/d' setup.cfg || die |
86 |
- |
87 |
- # requires internet connection |
88 |
- sed -i -e 's:test_start_tls_on_tcp_socket_stream:_&:' \ |
89 |
- -e 's:test_start_tls_on_uds_socket_stream:_&:' \ |
90 |
- tests/test_concurrency.py || die |
91 |
- |
92 |
- sed -i -e 's:test_http2_live_request:_&:' \ |
93 |
- tests/dispatch/test_http2.py || die |
94 |
- |
95 |
- distutils-r1_python_prepare_all |
96 |
-} |
97 |
|
98 |
diff --git a/dev-python/httpx/httpx-0.9.3.ebuild b/dev-python/httpx/httpx-0.9.3.ebuild |
99 |
deleted file mode 100644 |
100 |
index 93c2c6b..0000000 |
101 |
--- a/dev-python/httpx/httpx-0.9.3.ebuild |
102 |
+++ /dev/null |
103 |
@@ -1,76 +0,0 @@ |
104 |
-# Copyright 1999-2020 Gentoo Authors |
105 |
-# Distributed under the terms of the GNU General Public License v2 |
106 |
- |
107 |
-EAPI=7 |
108 |
- |
109 |
-PYTHON_COMPAT=( python3_7 ) |
110 |
- |
111 |
-inherit distutils-r1 |
112 |
- |
113 |
-DESCRIPTION="A next generation HTTP client for Python" |
114 |
-HOMEPAGE=" |
115 |
- https://www.python-httpx.org |
116 |
- https://github.com/encode/httpx |
117 |
- https://pypi.org/project/httpx |
118 |
-" |
119 |
-SRC_URI="https://github.com/encode/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
120 |
- |
121 |
-LICENSE="BSD" |
122 |
-KEYWORDS="~amd64 ~x86" |
123 |
-SLOT="0" |
124 |
- |
125 |
-IUSE="doc" |
126 |
- |
127 |
-RDEPEND="dev-python/certifi[${PYTHON_USEDEP}] |
128 |
- dev-python/chardet[${PYTHON_USEDEP}] |
129 |
- dev-python/hstspreload[${PYTHON_USEDEP}] |
130 |
- dev-python/hyper-h2[${PYTHON_USEDEP}] |
131 |
- dev-python/h11[${PYTHON_USEDEP}] |
132 |
- dev-python/idna[${PYTHON_USEDEP}] |
133 |
- dev-python/rfc3986[${PYTHON_USEDEP}] |
134 |
- dev-python/sniffio[${PYTHON_USEDEP}] |
135 |
- dev-python/urllib3[${PYTHON_USEDEP}]" |
136 |
- |
137 |
-BDEPEND=" |
138 |
- doc? ( |
139 |
- dev-python/mkautodoc |
140 |
- dev-python/mkdocs |
141 |
- dev-python/mkdocs-material |
142 |
- ) |
143 |
-" |
144 |
- |
145 |
-DEPEND="test? ( |
146 |
- dev-python/attrs[${PYTHON_USEDEP}] |
147 |
- dev-python/brotlipy[${PYTHON_USEDEP}] |
148 |
- dev-python/cryptography[${PYTHON_USEDEP}] |
149 |
- dev-python/isort[${PYTHON_USEDEP}] |
150 |
- dev-python/mypy[${PYTHON_USEDEP}] |
151 |
- dev-python/pytest-asyncio[${PYTHON_USEDEP}] |
152 |
- dev-python/trio[${PYTHON_USEDEP}] |
153 |
- dev-python/trustme[${PYTHON_USEDEP}] |
154 |
- dev-python/uvicorn[${PYTHON_USEDEP}] )" |
155 |
- |
156 |
-distutils_enable_tests pytest |
157 |
- |
158 |
-python_prepare_all() { |
159 |
- # do not depend on pytest-cov |
160 |
- sed -i -e '/addopts/d' setup.cfg || die |
161 |
- |
162 |
- # requires internet connection |
163 |
- sed -i -e 's:test_start_tls_on_tcp_socket_stream:_&:' \ |
164 |
- -e 's:test_start_tls_on_uds_socket_stream:_&:' \ |
165 |
- tests/test_concurrency.py || die |
166 |
- |
167 |
- sed -i -e 's:test_http2_live_request:_&:' \ |
168 |
- tests/dispatch/test_http2.py || die |
169 |
- |
170 |
- distutils-r1_python_prepare_all |
171 |
-} |
172 |
- |
173 |
-python_compile_all() { |
174 |
- default |
175 |
- if use doc; then |
176 |
- mkdocs build || die "failed to make docs" |
177 |
- HTML_DOCS="site" |
178 |
- fi |
179 |
-} |