mitmproxy: v2.0.2 bump with its deps

This commit is contained in:
blshkv 2017-06-21 11:01:28 +08:00
parent 6820d5a853
commit ecf3cec1bf
No known key found for this signature in database
GPG key ID: 9CCF6FCB8D8A14BF
13 changed files with 254 additions and 42 deletions

View file

@ -1 +1,2 @@
DIST h2-2.5.1.tar.gz 92713 SHA256 673937480f97ad5a1fc8d78ff937352083c82525905b0f631db841c776a91f76 SHA512 e82a7e6b592b43d74defbd4c729ad287ed019881f6ddf0d2dff9d3eb4fdba29cab8d988848ec64b693da77df5cbcacb06eecf1ecd77843c66c9eea8808fc949c WHIRLPOOL cc1d761bc636fcdb1d760c04676c50427d6a0940bf739244e738506982116338e108a4d2d2dc016127894d1dea842709a2f667239cdd9320e4f1fcc73e7c86bb
DIST h2-3.0.1.tar.gz 2208816 SHA256 b2962f883fa392a23cbfcc4ad03c335bcc661be0cf9627657b589f0df2206e64 SHA512 4206ed9b298477b02cb4ae6be3f3e421225f14b25c327a324544f8ffe2246b949d8f1f0171f2c6821afb32aa7a8c1ac976e1221217c0296d0e6ebea8877f4d02 WHIRLPOOL 3d81cdbb228e5c6e4f2a66fde068ddc2d0880baade28f243e9bf74895041b8b36e9fb0724d6462016aaf5338b82c035d6b03335a2aaab1a7f5b521829e5b52b1

View file

@ -1,10 +1,9 @@
# Copyright 1999-2016 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
EAPI=6
PYTHON_COMPAT=( python{2_7,3_4,3_5} )
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
inherit distutils-r1
@ -18,9 +17,10 @@ KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=""
# >=dev-python/enum34-1.0.4[${PYTHON_USEDEP}] <dev-python/enum34-2
RDEPEND="${DEPEND}
>=dev-python/enum34-1.0.4 <dev-python/enum34-2
>=dev-python/hpack-2.2 <dev-python/hpack-3
>=dev-python/hyperframe-3.1 <dev-python/hyperframe-5
!=dev-python/hyperframe-4.0.0
virtual/python-enum34[${PYTHON_USEDEP}]
>=dev-python/hpack-2.2[${PYTHON_USEDEP}] <dev-python/hpack-3
>=dev-python/hyperframe-3.1[${PYTHON_USEDEP}] <dev-python/hyperframe-5
!=dev-python/hyperframe-4.0.0[${PYTHON_USEDEP}]
"

View file

@ -0,0 +1,25 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
inherit distutils-r1
DESCRIPTION="Hyper: HTTP/2 Client for Python"
HOMEPAGE="https://pypi.python.org/pypi/h2"
SRC_URI="mirror://pypi/$(echo ${PN} | cut -c 1)/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=""
# >=dev-python/enum34-1.1.6[${PYTHON_USEDEP}] <dev-python/enum34-2
RDEPEND="${DEPEND}
virtual/python-enum34[${PYTHON_USEDEP}]
>=dev-python/hpack-2.3[${PYTHON_USEDEP}] <dev-python/hpack-4
>=dev-python/hyperframe-5.0[${PYTHON_USEDEP}] <dev-python/hyperframe-6
"

View file

@ -0,0 +1,2 @@
DIST kaitaistruct-0.6.tar.gz 4891 SHA256 22643b53f6525aaf340ce5c3152e0fe72e91c853170d85afaf7c09773ecd8c67 SHA512 a35b7f7840d1b987d3ce8fac5a535e3d8c2ec2d2dea004a1776a05fcc2a0f6ed94e4460840804e5d97dd299daf5044e4cf246b8d22bae5b43be772c3b24e5886 WHIRLPOOL 31f7ef680ea4be18146e0796c6c9e9c4f9299296c3af98380d0846238f1601cadd5d01b04775d6a9daabcf5458f71e2602201b3eff4ed75dd5a4dd4e7c0520de
DIST kaitaistruct-0.7.tar.gz 5117 SHA256 319caca6dd7051655b48457be4a06a236ce782606c347f1c226d6190abd543a6 SHA512 1ee2e5d1e1de6a85dcaea684bee639f6b08bc0f06b8357fe388c339287388136638d11d301319a344364dc9cf98d3247fb6fc2d8332d9aaee6ee828e5650b447 WHIRLPOOL 66f55af6e1543d5089d1268877df65bf704ca7bf34ef9c50abdb273a2183334346c1bde91f4dcb4900473be012608650f2b3593a6682901746c4d870e40ec7a8

View file

@ -0,0 +1,20 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 python3_{4,5} )
inherit distutils-r1
DESCRIPTION="Kaitai Struct declarative parser generator for binary data"
HOMEPAGE="http://kaitai.io/"
SRC_URI="mirror://pypi/$(echo ${PN} | cut -c 1)/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}"

View file

@ -0,0 +1,20 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 python3_{4,5} )
inherit distutils-r1
DESCRIPTION="Kaitai Struct declarative parser generator for binary data"
HOMEPAGE="http://kaitai.io/"
SRC_URI="mirror://pypi/$(echo ${PN} | cut -c 1)/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}"

View file

@ -1 +0,0 @@
DIST pyasn1-0.1.9.tar.gz 75947 SHA256 853cacd96d1f701ddd67aa03ecc05f51890135b7262e922710112f12a2ed2a7f SHA512 c72bdba84c4cc860a1790d752861dc9de30dabb61e5146a551597b4a97e64797dbd6e575e61cb9a8b23ffc58bced143b0ed55a7c98d0a85834ccd60b17856df5 WHIRLPOOL 2d47a9cf1a04a9f07a053926bd4d317ae71f52e7df88b9be53ff343d1e82770cb5c6709e6fa154e9cf0bb05e47c6c24f6736899bbf41c39a01f6d0211cfb98a5

View file

@ -1,31 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 )
inherit distutils-r1
DESCRIPTION="ASN.1 library for Python"
HOMEPAGE="http://pyasn1.sourceforge.net/ https://pypi.python.org/pypi/pyasn1"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x64-cygwin ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
IUSE="doc"
RDEPEND=""
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
python_test() {
"${PYTHON}" test/suite.py || die "Tests fail with ${EPYTHON}"
}
src_install() {
local HTML_DOCS=( doc/pyasn1-tutorial.html )
use doc && HTML_DOCS=( doc/. )
distutils-r1_src_install
}

View file

@ -1 +1,2 @@
DIST mitmproxy-1.0.2.tar.gz 26781444 SHA256 0458b4ad3cedbc238decc7d736e693cd220c7977592b57052e181d404e1152b4 SHA512 9fc82da1557405476923dc3fa302c5489c0b71b0d834f8c1e804a67809e41fc997dcf608e6ce712393d35d73f316c7fa115d9014b9060419e4ebfa25fe3c4821 WHIRLPOOL 97c303d0e3b590a6d6e460d1c77cc84c102e01d3f9474ddf6906abede35abc441fd0b3c9824bcecdadb3b4c79c591630cfb93bd869ba1ed149dec8baad81a3c1
DIST mitmproxy-2.0.2.tar.gz 28498343 SHA256 42e8cbcd27b85e60a165d1a28692098181813bbd9d7731a42b2cda68824c6c9d SHA512 8a38340b3b1dd73c99c9e9b06a59bff78a23b2a851e1032ee0b7354ac46c834a3d005a67dc5238030570719eb5f842cb2a8ce64ffc7c5a01cbfa9a9511c08e66 WHIRLPOOL 8c70b03b4838e7a0ad67de918b234bbcb22c57d4f627fef8cb646b3d2aac462af11aec282062874c7bf2d2a4a00424cacc4dacfa947596bef1cf3af83643afc3

View file

@ -0,0 +1,87 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
PYTHON_COMPAT=( python3_{3,4,5} )
inherit distutils-r1 versionator
DESCRIPTION="An interactive, SSL-capable, man-in-the-middle HTTP proxy"
HOMEPAGE="http://mitmproxy.org/"
SRC_URI="https://github.com/mitmproxy/mitmproxy/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc examples test"
RDEPEND="
>=dev-python/blinker-1.4[${PYTHON_USEDEP}] <dev-python/blinker-1.5
>=dev-python/click-6.2[${PYTHON_USEDEP}] <dev-python/click-7
>=dev-python/certifi-2015.11.20.1[${PYTHON_USEDEP}]
>=dev-python/construct-2.8[${PYTHON_USEDEP}] <dev-python/construct-2.9
>=dev-python/cryptography-1.3[${PYTHON_USEDEP}] <dev-python/cryptography-1.9
>=dev-python/cssutils-1.0.1[${PYTHON_USEDEP}] <dev-python/cssutils-1.1
>=dev-python/h2-2.5.1[${PYTHON_USEDEP}] <dev-python/h2-3
>=dev-python/html2text-2016.1.8[${PYTHON_USEDEP}] <=dev-python/html2text-2016.9.19
>=dev-python/hyperframe-4.0.1[${PYTHON_USEDEP}] <dev-python/hyperframe-5
>=dev-python/jsbeautifier-1.6.3[${PYTHON_USEDEP}] <dev-python/jsbeautifier-1.7
>=dev-python/kaitaistruct-0.6[${PYTHON_USEDEP}] <dev-python/kaitaistruct-0.7
>=dev-python/passlib-1.6.5[${PYTHON_USEDEP}] <dev-python/passlib-1.8
>=dev-python/pyasn1-0.1.9[${PYTHON_USEDEP}] <dev-python/pyasn1-0.3
>=dev-python/pyopenssl-16.0[${PYTHON_USEDEP}] <dev-python/pyopenssl-17.0
>=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.6
>=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.14
>=www-servers/tornado-4.3[${PYTHON_USEDEP}]
>=dev-python/urwid-1.3.1[${PYTHON_USEDEP}] <dev-python/urwid-1.4
>=dev-python/watchdog-0.8.3[${PYTHON_USEDEP}] <dev-python/watchdog-0.9
>=dev-python/brotlipy-0.5.1[${PYTHON_USEDEP}] <dev-python/brotlipy-0.7
>=dev-python/sortedcontainers-1.5.4[${PYTHON_USEDEP}] <dev-python/sortedcontainers-1.6
"
# examples? ( dev-python/beautifulsoup:4[${PYTHON_USEDEP}] <dev-python/beautifulsoup-4.6
# >=dev-python/pytz-2015.07.0[${PYTHON_USEDEP}]
# >=dev-python/pillow-3.2[${PYTHON_USEDEP}] <dev-python/pillow-4.1
# )
DEPEND="${RDEPEND}
>=dev-python/setuptools-11.3[${PYTHON_USEDEP}]
test? (
>=dev-python/mock-1.0.1[${PYTHON_USEDEP}]
>=dev-python/nose-1.3.0[${PYTHON_USEDEP}]
)"
#fixme: bump it too
# =www-servers/pathod-$(get_version_component_range 1-2)*[${PYTHON_USEDEP}]
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}"
}
python_install_all() {
local DOCS=( CHANGELOG CONTRIBUTORS )
use doc && local HTML_DOCS=( doc/. )
use examples && local EXAMPLES=( examples/. )
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
}

View file

@ -0,0 +1,85 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
PYTHON_COMPAT=( python3_{4,5} )
inherit distutils-r1 versionator git-r3
DESCRIPTION="An interactive, SSL-capable, man-in-the-middle HTTP proxy"
HOMEPAGE="http://mitmproxy.org/"
#SRC_URI="https://github.com/mitmproxy/mitmproxy/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
#KEYWORDS="~amd64 ~x86"
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/certifi-2015.11.20.1[${PYTHON_USEDEP}]
>=dev-python/click-6.2[${PYTHON_USEDEP}] <dev-python/click-7
>=dev-python/cryptography-1.4[${PYTHON_USEDEP}] <dev-python/cryptography-1.10
>=dev-python/cssutils-1.0.1[${PYTHON_USEDEP}] <dev-python/cssutils-1.1
>=dev-python/h2-3.0[${PYTHON_USEDEP}] <dev-python/h2-4
>=dev-python/html2text-2016.1.8[${PYTHON_USEDEP}] <=dev-python/html2text-2016.9.19
>=dev-python/hyperframe-5.0[${PYTHON_USEDEP}] <dev-python/hyperframe-6
>=dev-python/jsbeautifier-1.6.3[${PYTHON_USEDEP}] <dev-python/jsbeautifier-1.7
>=dev-python/kaitaistruct-0.7[${PYTHON_USEDEP}] <dev-python/kaitaistruct-0.8
>=dev-python/ldap3-2.2.0[${PYTHON_USEDEP}] <dev-python/ldap3-2.3
>=dev-python/passlib-1.6.5[${PYTHON_USEDEP}] <dev-python/passlib-1.8
>=dev-python/pyasn1-0.1.9[${PYTHON_USEDEP}] <dev-python/pyasn1-0.3
>=dev-python/pyopenssl-16.0[${PYTHON_USEDEP}] <dev-python/pyopenssl-17.1
>=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.6
>=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}]
>=dev-python/urwid-1.3.1[${PYTHON_USEDEP}] <dev-python/urwid-1.4
examples? ( >=dev-python/pillow-3.2[${PYTHON_USEDEP}] <dev-python/pillow-3.5
dev-python/beautifulsoup:4[${PYTHON_USEDEP}] <dev-python/beautifulsoup-4.7
)
"
DEPEND="${RDEPEND}
>=dev-python/setuptools-11.3[${PYTHON_USEDEP}]
test? (
>=dev-python/mock-1.0.1[${PYTHON_USEDEP}]
>=dev-python/nose-1.3.0[${PYTHON_USEDEP}]
)"
#fixme: bump it too
# =www-servers/pathod-$(get_version_component_range 1-2)*[${PYTHON_USEDEP}]
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}"
}
python_install_all() {
local DOCS=( CHANGELOG CONTRIBUTORS )
use doc && local HTML_DOCS=( doc/. )
use examples && local EXAMPLES=( examples/. )
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
}

View file

@ -93,7 +93,7 @@ dev-python/simplesoapy
~dev-python/h2-2.5.1
~dev-python/hyperframe-4.0.1
~dev-python/construct-2.8.10
=dev-python/pyasn1-0.1*
=dev-python/pyasn1-0.2*
~dev-python/hpack-2.3.0
~dev-python/tornado-4.4.2
~dev-python/pyperclip-1.5.27
@ -105,6 +105,9 @@ dev-python/simplesoapy
~dev-libs/protobuf-3.1.0
~dev-python/editorconfig-0.12.1
~dev-python/typing-3.5.2.2 **
~dev-python/ldap3-2.2.3
~dev-python/hyperframe-5.1.0
~dev-python/kaitaistruct-0.6
#required by tinfoleak
~dev-python/tweepy-2.0

View file

@ -6,7 +6,7 @@ net-proxy/haproxy
net-proxy/havp
net-proxy/http-replicator
net-proxy/httpush
~net-proxy/mitmproxy-1.0.2
~net-proxy/mitmproxy-2.0.2
net-proxy/ntlmaps
~net-proxy/ratproxy-1.58
net-proxy/pingtunnel