Gentoo Archives: gentoo-commits

From: Tim Harder <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-proxy/mitmproxy/files/, net-proxy/mitmproxy/
Date: Thu, 31 Jan 2019 09:17:26
Message-Id: 1548925953.ea3db4e6cf9b4c2d288a9930cb3c39844ecb5af9.radhermit@gentoo
1 commit: ea3db4e6cf9b4c2d288a9930cb3c39844ecb5af9
2 Author: Tim Harder <radhermit <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jan 31 09:01:08 2019 +0000
4 Commit: Tim Harder <radhermit <AT> gentoo <DOT> org>
5 CommitDate: Thu Jan 31 09:12:33 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea3db4e6
7
8 net-proxy/mitmproxy: remove old
9
10 Signed-off-by: Tim Harder <radhermit <AT> gentoo.org>
11
12 net-proxy/mitmproxy/Manifest | 3 --
13 .../mitmproxy-0.10-jsbeautifier-imports.patch | 44 -----------------
14 net-proxy/mitmproxy/mitmproxy-0.10.1.ebuild | 51 --------------------
15 net-proxy/mitmproxy/mitmproxy-0.11.1.ebuild | 55 ----------------------
16 net-proxy/mitmproxy/mitmproxy-0.11.3.ebuild | 54 ---------------------
17 5 files changed, 207 deletions(-)
18
19 diff --git a/net-proxy/mitmproxy/Manifest b/net-proxy/mitmproxy/Manifest
20 index 6de72da0f04..6ff5004dcc4 100644
21 --- a/net-proxy/mitmproxy/Manifest
22 +++ b/net-proxy/mitmproxy/Manifest
23 @@ -1,4 +1 @@
24 -DIST mitmproxy-0.10.1.tar.gz 3426109 BLAKE2B 0e0822310d8b97041e6f25cb760297fb83a8544c24b0419d8215a7a65874a1c6763c6095c2e80b89231dc1de2a946471d6436713c092a1b95e7cb441f0617112 SHA512 2bef02f07942177044afa24749c4e8e2ba1aae5ee33e2cbffbecc557a09351865b70dc92b9acfd285716a82c84026a3eb93f889176fd288c1e8d67a415a5c79a
25 -DIST mitmproxy-0.11.1.tar.gz 6253324 BLAKE2B a3d3e06834a545138574246887c1ab5dab90d933b3995a613dabee2f6c55a436dfcb2220ded90ef91f5238d6bfcb10b2a1f64dcf801baa93598d6a8c13fadd1b SHA512 f265441825b22e2a7ec3c8f2f3152d123fbd6ac463fd4de0e973e24b2ab9feaf28689d3c995bb361ff06a88a6d88536b642944463573117640b1c096b79f20b1
26 -DIST mitmproxy-0.11.3.tar.gz 6172130 BLAKE2B 9001882db499e1e4a6ec082fef661a3369a36a218f3f19c08fc75d403b29b6aff22512c159a25250894e5419069ef662b691272eb5a7fbd23e2fb3e49d269adf SHA512 81184b3034b78d51368b4066adcc8337fc59332c80ce085c854610f70cd96531612520c1b751135e26093265c5475c8fef5fcb0908b77b5a18a5c605c0c94934
27 DIST mitmproxy-4.0.4.tar.gz 27131713 BLAKE2B 2748b0f3b66e1f5840aae792a1b4cd8ef8efa3673fa24bc0c3e15474b36d68c0f6b2203cf629b6444545b8c6223752232b2ce8526290fe5d74916946e8917a03 SHA512 e08ea8b1c75a95b822c463625509037bbc8a979161cacaa1f0185f98df8d6d7e5400925365dbbe70d18751251b1005824f739a8cd035c0389f7b4aea562adfb3
28
29 diff --git a/net-proxy/mitmproxy/files/mitmproxy-0.10-jsbeautifier-imports.patch b/net-proxy/mitmproxy/files/mitmproxy-0.10-jsbeautifier-imports.patch
30 deleted file mode 100644
31 index bd6f65aa920..00000000000
32 --- a/net-proxy/mitmproxy/files/mitmproxy-0.10-jsbeautifier-imports.patch
33 +++ /dev/null
34 @@ -1,44 +0,0 @@
35 ---- mitmproxy-0.10/libmproxy/contrib/jsbeautifier/__init__.py
36 -+++ mitmproxy-0.10/libmproxy/contrib/jsbeautifier/__init__.py
37 -@@ -246,7 +246,7 @@
38 - return sweet_code
39 -
40 - def unpack(self, source, evalcode=False):
41 -- import jsbeautifier.unpackers as unpackers
42 -+ from ..jsbeautifier import unpackers
43 - try:
44 - return unpackers.run(source, evalcode)
45 - except unpackers.UnpackingError as error:
46 ---- mitmproxy-0.10/libmproxy/contrib/jsbeautifier/unpackers/__init__.py
47 -+++ mitmproxy-0.10/libmproxy/contrib/jsbeautifier/unpackers/__init__.py
48 -@@ -7,7 +7,7 @@
49 -
50 - import pkgutil
51 - import re
52 --from jsbeautifier.unpackers import evalbased
53 -+from ...jsbeautifier.unpackers import evalbased
54 -
55 - # NOTE: AT THE MOMENT, IT IS DEACTIVATED FOR YOUR SECURITY: it runs js!
56 - BLACKLIST = ['jsbeautifier.unpackers.evalbased']
57 ---- mitmproxy-0.10/libmproxy/contrib/jsbeautifier/unpackers/myobfuscate.py
58 -+++ mitmproxy-0.10/libmproxy/contrib/jsbeautifier/unpackers/myobfuscate.py
59 -@@ -40,7 +40,7 @@
60 - except ImportError:
61 - from urllib.parse import unquote
62 -
63 --from jsbeautifier.unpackers import UnpackingError
64 -+from ...jsbeautifier.unpackers import UnpackingError
65 -
66 - PRIORITY = 1
67 -
68 ---- mitmproxy-0.10/libmproxy/contrib/jsbeautifier/unpackers/packer.py
69 -+++ mitmproxy-0.10/libmproxy/contrib/jsbeautifier/unpackers/packer.py
70 -@@ -14,7 +14,7 @@
71 -
72 - import re
73 - import string
74 --from jsbeautifier.unpackers import UnpackingError
75 -+from ...jsbeautifier.unpackers import UnpackingError
76 -
77 - PRIORITY = 1
78 -
79
80 diff --git a/net-proxy/mitmproxy/mitmproxy-0.10.1.ebuild b/net-proxy/mitmproxy/mitmproxy-0.10.1.ebuild
81 deleted file mode 100644
82 index 4dc54075e1b..00000000000
83 --- a/net-proxy/mitmproxy/mitmproxy-0.10.1.ebuild
84 +++ /dev/null
85 @@ -1,51 +0,0 @@
86 -# Copyright 1999-2015 Gentoo Foundation
87 -# Distributed under the terms of the GNU General Public License v2
88 -
89 -EAPI=5
90 -PYTHON_COMPAT=( python2_7 )
91 -
92 -inherit distutils-r1 versionator
93 -
94 -DESCRIPTION="An interactive, SSL-capable, man-in-the-middle HTTP proxy"
95 -HOMEPAGE="http://mitmproxy.org/"
96 -SRC_URI="http://mitmproxy.org/download/${P}.tar.gz"
97 -
98 -LICENSE="GPL-3"
99 -SLOT="0"
100 -KEYWORDS="~amd64 ~x86"
101 -IUSE="doc examples test"
102 -
103 -RDEPEND=">=dev-python/pillow-2.3.0[${PYTHON_USEDEP}]
104 - dev-python/flask[${PYTHON_USEDEP}]
105 - >=dev-python/lxml-2.3[${PYTHON_USEDEP}]
106 - =dev-python/netlib-$(get_version_component_range 1-2)*[${PYTHON_USEDEP}]
107 - >dev-python/pyasn1-0.1.2[${PYTHON_USEDEP}]
108 - >=dev-python/pyopenssl-0.13[${PYTHON_USEDEP}]
109 - >=dev-python/urwid-1.1[${PYTHON_USEDEP}]"
110 -DEPEND="${RDEPEND}
111 - test? (
112 - >=dev-python/mock-1.0.1[${PYTHON_USEDEP}]
113 - >=dev-python/nose-1.3.0[${PYTHON_USEDEP}]
114 - =www-servers/pathod-$(get_version_component_range 1-2)*[${PYTHON_USEDEP}]
115 - )"
116 -
117 -PATCHES=( "${FILESDIR}"/${PN}-0.10-jsbeautifier-imports.patch )
118 -
119 -python_prepare_all() {
120 - distutils-r1_python_prepare_all
121 -
122 - # remove unwanted bytecode files
123 - rm -r libmproxy/protocol || die
124 -}
125 -
126 -python_test() {
127 - nosetests -v || die "Tests fail with ${EPYTHON}"
128 -}
129 -
130 -python_install_all() {
131 - local DOCS=( CHANGELOG CONTRIBUTORS )
132 - use doc && local HTML_DOCS=( doc/. )
133 - use examples && local EXAMPLES=( examples/. )
134 -
135 - distutils-r1_python_install_all
136 -}
137
138 diff --git a/net-proxy/mitmproxy/mitmproxy-0.11.1.ebuild b/net-proxy/mitmproxy/mitmproxy-0.11.1.ebuild
139 deleted file mode 100644
140 index 535d1340404..00000000000
141 --- a/net-proxy/mitmproxy/mitmproxy-0.11.1.ebuild
142 +++ /dev/null
143 @@ -1,55 +0,0 @@
144 -# Copyright 1999-2014 Gentoo Foundation
145 -# Distributed under the terms of the GNU General Public License v2
146 -
147 -EAPI=5
148 -PYTHON_COMPAT=( python2_7 )
149 -
150 -inherit distutils-r1 versionator
151 -
152 -DESCRIPTION="An interactive, SSL-capable, man-in-the-middle HTTP proxy"
153 -HOMEPAGE="http://mitmproxy.org/"
154 -SRC_URI="http://mitmproxy.org/download/${P}.tar.gz"
155 -
156 -LICENSE="GPL-3"
157 -SLOT="0"
158 -KEYWORDS="~amd64 ~x86"
159 -IUSE="doc examples test"
160 -
161 -RDEPEND=">=dev-python/pillow-2.3.0[${PYTHON_USEDEP}]
162 - >=dev-python/flask-0.10.1[${PYTHON_USEDEP}]
163 - >=dev-python/lxml-3.3.6[${PYTHON_USEDEP}]
164 - =dev-python/netlib-$(get_version_component_range 1-2)*[${PYTHON_USEDEP}]
165 - >dev-python/pyasn1-0.1.2[${PYTHON_USEDEP}]
166 - >=dev-python/pyopenssl-0.14[${PYTHON_USEDEP}]
167 - >=www-servers/tornado-4.0.2[${PYTHON_USEDEP}]
168 - >=dev-python/urwid-1.1[${PYTHON_USEDEP}]"
169 -DEPEND="${RDEPEND}
170 - test? (
171 - >=dev-python/mock-1.0.1[${PYTHON_USEDEP}]
172 - >=dev-python/nose-1.3.0[${PYTHON_USEDEP}]
173 - =www-servers/pathod-$(get_version_component_range 1-2)*[${PYTHON_USEDEP}]
174 - )"
175 -
176 -#PATCHES=( "${FILESDIR}"/${PN}-0.10-jsbeautifier-imports.patch )
177 -
178 -python_prepare_all() {
179 - distutils-r1_python_prepare_all
180 -
181 - # remove bundled netlib and pathod
182 - rm -r libpathod netlib || die
183 -
184 - # remove unused dep
185 - sed -i '/sortedcontainers/d' setup.py || die
186 -}
187 -
188 -python_test() {
189 - nosetests -v || die "Tests fail with ${EPYTHON}"
190 -}
191 -
192 -python_install_all() {
193 - local DOCS=( CHANGELOG CONTRIBUTORS )
194 - use doc && local HTML_DOCS=( doc/. )
195 - use examples && local EXAMPLES=( examples/. )
196 -
197 - distutils-r1_python_install_all
198 -}
199
200 diff --git a/net-proxy/mitmproxy/mitmproxy-0.11.3.ebuild b/net-proxy/mitmproxy/mitmproxy-0.11.3.ebuild
201 deleted file mode 100644
202 index 9020f4791c0..00000000000
203 --- a/net-proxy/mitmproxy/mitmproxy-0.11.3.ebuild
204 +++ /dev/null
205 @@ -1,54 +0,0 @@
206 -# Copyright 1999-2015 Gentoo Foundation
207 -# Distributed under the terms of the GNU General Public License v2
208 -
209 -EAPI=5
210 -PYTHON_COMPAT=( python2_7 )
211 -
212 -inherit distutils-r1 versionator
213 -
214 -DESCRIPTION="An interactive, SSL-capable, man-in-the-middle HTTP proxy"
215 -HOMEPAGE="http://mitmproxy.org/"
216 -SRC_URI="http://mitmproxy.org/download/${P}.tar.gz"
217 -
218 -LICENSE="GPL-3"
219 -SLOT="0"
220 -KEYWORDS="~amd64 ~x86"
221 -IUSE="doc examples test"
222 -
223 -RDEPEND="
224 - >=dev-python/pillow-2.3.0[${PYTHON_USEDEP}]
225 - >=dev-python/flask-0.10.1[${PYTHON_USEDEP}]
226 - >=dev-python/configargparse-0.9.3[${PYTHON_USEDEP}]
227 - >=dev-python/lxml-3.3.6[${PYTHON_USEDEP}]
228 - =dev-python/netlib-$(get_version_component_range 1-2)*[${PYTHON_USEDEP}]
229 - >dev-python/pyasn1-0.1.2[${PYTHON_USEDEP}]
230 - >=dev-python/pyopenssl-0.14[${PYTHON_USEDEP}]
231 - >=www-servers/tornado-4.0.2[${PYTHON_USEDEP}]
232 - >=dev-python/urwid-1.1[${PYTHON_USEDEP}]
233 -"
234 -DEPEND="${RDEPEND}
235 - test? (
236 - >=dev-python/mock-1.0.1[${PYTHON_USEDEP}]
237 - >=dev-python/nose-1.3.0[${PYTHON_USEDEP}]
238 - =www-servers/pathod-$(get_version_component_range 1-2)*[${PYTHON_USEDEP}]
239 - )"
240 -
241 -python_prepare_all() {
242 - distutils-r1_python_prepare_all
243 -
244 - # don't run example scripts tests
245 - rm test/test_examples.py || die
246 -
247 -}
248 -
249 -python_test() {
250 - nosetests -v || die "Tests fail with ${EPYTHON}"
251 -}
252 -
253 -python_install_all() {
254 - local DOCS=( CHANGELOG CONTRIBUTORS )
255 - use doc && local HTML_DOCS=( doc/. )
256 - use examples && local EXAMPLES=( examples/. )
257 -
258 - distutils-r1_python_install_all
259 -}