mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-01-03 14:25:30 +01:00
mitmproxy: 3.0.4 bump
This commit is contained in:
parent
e4d1ad8a05
commit
c16eee6c82
2 changed files with 9 additions and 31 deletions
|
|
@ -1,3 +1,3 @@
|
|||
DIST mitmproxy-2.0.2.tar.gz 28498343 BLAKE2B f79eac8dd9e060787e7cd049983ce23bd7b6025efe1edfcd9a150611f5e08fa7a869d1c203e2d4d8e7ae3539d9e63d6665fb282f75392afcd70cdfe6cca87223 SHA512 8a38340b3b1dd73c99c9e9b06a59bff78a23b2a851e1032ee0b7354ac46c834a3d005a67dc5238030570719eb5f842cb2a8ce64ffc7c5a01cbfa9a9511c08e66
|
||||
DIST mitmproxy-3.0.0rc2.tar.gz 28490469 BLAKE2B 70cf534fbc242904efb07acc8cc750a987d0a179d6c7c09427b4937c8dcc792370f8929daafa8cfbe8ce76f8ba61484a1c671c8832a550d887bba0c6de882947 SHA512 3521e2c3c678e6d819133ed61c89eae6e8f363e8489bd6f8361c9ee27b9dd0e933bb9e5965f7f83eb0a7c37a35af051b42fdab1ced1fac3d87244840759bb1f8
|
||||
DIST mitmproxy-3.0.3.tar.gz 27171521 BLAKE2B cec620da82174e867554e46ec2d596b878a5866f9487158fa95e9f158b071e96a8e3c8d94ab2e5dcf40348f57e7a9f7f47f440b067cf8097e75d2607ff9de7eb SHA512 5477b8ac438b8f2ea40e658c50988881ef0f3eeda3178b2fbed9618d2a490c28f59b32174e150d8cbeb1b04b4b868a64029bde6499983dff782d4204aa0f8d37
|
||||
DIST mitmproxy-3.0.4.tar.gz 27147733 BLAKE2B d14e0dcebcab9ff89038b913e56248aa8e4372aa14ae1d48c2f712765f06730e2546d621c84f5e568b21e18ea6cc5de25f7f51a066dae3747f23c00d66a23dd4 SHA512 a89b0bee6997ce51d23483101755dae9f5300339d65e4975679df5c6b60ff9af94e655651321cd8e831666a04ec5cc24c7af647f3aab913524b6755b47f1f57b
|
||||
|
|
|
|||
|
|
@ -1,16 +1,14 @@
|
|||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python3_{4,5} )
|
||||
inherit distutils-r1 versionator
|
||||
PYTHON_COMPAT=( python3_{5,6} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="An interactive, SSL-capable, man-in-the-middle HTTP proxy"
|
||||
HOMEPAGE="http://mitmproxy.org/"
|
||||
MY_PV="$(get_version_component_range 1-3)$(get_version_component_range 4-5)"
|
||||
MY_P="${PN}-${MY_PV}"
|
||||
SRC_URI="https://github.com/mitmproxy/mitmproxy/archive/v${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
|
||||
SRC_URI="https://github.com/mitmproxy/mitmproxy/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
|
|
@ -19,7 +17,7 @@ IUSE="doc examples test"
|
|||
|
||||
RDEPEND="
|
||||
>=dev-python/blinker-1.4[${PYTHON_USEDEP}] <dev-python/blinker-1.5
|
||||
>=dev-python/brotlipy-0.5.1[${PYTHON_USEDEP}] <dev-python/brotlipy-0.8
|
||||
>=dev-python/brotlipy-0.7.0[${PYTHON_USEDEP}] <dev-python/brotlipy-0.8
|
||||
>=dev-python/certifi-2015.11.20.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/click-6.2[${PYTHON_USEDEP}] <dev-python/click-7
|
||||
>=dev-python/cryptography-2.1.4[${PYTHON_USEDEP}] <dev-python/cryptography-2.2
|
||||
|
|
@ -29,14 +27,14 @@ RDEPEND="
|
|||
>=dev-python/ldap3-2.4[${PYTHON_USEDEP}] <dev-python/ldap3-2.5
|
||||
>=dev-python/passlib-1.6.5[${PYTHON_USEDEP}] <dev-python/passlib-1.8
|
||||
>=dev-python/pyasn1-0.3.1[${PYTHON_USEDEP}] <dev-python/pyasn1-0.5
|
||||
>=dev-python/pyopenssl-17.2[${PYTHON_USEDEP}] <dev-python/pyopenssl-17.6
|
||||
>=dev-python/pyopenssl-17.5[${PYTHON_USEDEP}] <dev-python/pyopenssl-17.6
|
||||
>=dev-python/pyparsing-2.1.3[${PYTHON_USEDEP}] <dev-python/pyparsing-2.3
|
||||
>=dev-python/pyperclip-1.5.22[${PYTHON_USEDEP}] <dev-python/pyperclip-1.7
|
||||
>=dev-python/pyperclip-1.6.0[${PYTHON_USEDEP}] <dev-python/pyperclip-1.7
|
||||
>=dev-python/requests-2.9.1[${PYTHON_USEDEP}] <dev-python/requests-3
|
||||
>=dev-python/ruamel-yaml-0.13.2[${PYTHON_USEDEP}] <dev-python/ruamel-yaml-0.16
|
||||
>=dev-python/sortedcontainers-1.5.4[${PYTHON_USEDEP}] <dev-python/sortedcontainers-1.6
|
||||
>=www-servers/tornado-4.3[${PYTHON_USEDEP}] <www-servers/tornado-4.6
|
||||
>=dev-python/urwid-1.3.1[${PYTHON_USEDEP}] <dev-python/urwid-1.4
|
||||
>=dev-python/urwid-2.0.1[${PYTHON_USEDEP}] <dev-python/urwid-2.1
|
||||
>=dev-python/wsproto-0.11.0[${PYTHON_USEDEP}] <dev-python/wsproto-0.12.0
|
||||
|
||||
examples? ( >=dev-python/pillow-4.3[${PYTHON_USEDEP}] <dev-python/pillow-5.1
|
||||
|
|
@ -53,19 +51,6 @@ DEPEND="${RDEPEND}
|
|||
#fixme: bump it too
|
||||
# =www-servers/pathod-$(get_version_component_range 1-2)*[${PYTHON_USEDEP}]
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
python_prepare() {
|
||||
#we allow to use 34 until 35 is stable
|
||||
hack_python34() {
|
||||
if [[ `pwd` == *python3_4 ]] ; then
|
||||
# do not use circular imports
|
||||
sed -i -e "s|^from mitmproxy import contentviews|#from mitmproxy import contentviews|" mitmproxy/contentviews/auto.py || die "failed to sed"
|
||||
fi
|
||||
}
|
||||
python_foreach_impl hack_python34
|
||||
}
|
||||
|
||||
python_test() {
|
||||
nosetests -v || die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
|
@ -81,10 +66,3 @@ python_install_all() {
|
|||
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ ${PYTHON_TARGETS} == *python3_4* ]] ; then
|
||||
ewarn "Attention: Python 3_4 is not officially supported by this version"
|
||||
ewarn
|
||||
fi
|
||||
}
|
||||
Loading…
Reference in a new issue