profile: keywords

This commit is contained in:
blshkv 2018-06-17 15:17:30 +08:00
parent a4bc43d55a
commit fba600bce9
No known key found for this signature in database
GPG key ID: 273E3E90D1A6294F
2 changed files with 79 additions and 0 deletions

View file

@ -1,3 +1,4 @@
DIST mitmproxy-2.0.2.tar.gz 28498343 BLAKE2B f79eac8dd9e060787e7cd049983ce23bd7b6025efe1edfcd9a150611f5e08fa7a869d1c203e2d4d8e7ae3539d9e63d6665fb282f75392afcd70cdfe6cca87223 SHA512 8a38340b3b1dd73c99c9e9b06a59bff78a23b2a851e1032ee0b7354ac46c834a3d005a67dc5238030570719eb5f842cb2a8ce64ffc7c5a01cbfa9a9511c08e66
DIST mitmproxy-3.0.4.tar.gz 27147733 BLAKE2B d14e0dcebcab9ff89038b913e56248aa8e4372aa14ae1d48c2f712765f06730e2546d621c84f5e568b21e18ea6cc5de25f7f51a066dae3747f23c00d66a23dd4 SHA512 a89b0bee6997ce51d23483101755dae9f5300339d65e4975679df5c6b60ff9af94e655651321cd8e831666a04ec5cc24c7af647f3aab913524b6755b47f1f57b
DIST mitmproxy-4.0.1.tar.gz 27130121 BLAKE2B 87d4d202edfe6b9c315131d282b2e75bdd58df342c6c03cbbd5223347a16724a4a789116f06a30d9e9313befa299e3644eac4594573ba92db6eed3c4810a2560 SHA512 2ba999854052a63182dbd2e1d5377fdef6b16c38a4d32912fc2c782ed8ad0e11694c6e010fd68bd6ecbc1c9f22ac7394444e6b2e8472990665bd7cb81a3cb82f
DIST mitmproxy-4.0.3.tar.gz 27130720 BLAKE2B 994985e8c4921b6954478cb1fbb859b3ab3f35147850a9bae3e220aabd1e2912bd93d4b4ab6d14133be3f0d8ec0dd28d18201d41f38df905e116b129c65ce618 SHA512 f27aa7c7cc22903944c23b8d08e9cfd617ff27f519f14f1b2e887172f21dd799c1a9f6d5573d5eef68c3bb9590eaca299089a5ff01ad2289f4569e1c7e4fa3c7

View file

@ -0,0 +1,78 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python3_6 )
inherit distutils-r1
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.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.3
>=dev-python/hyper-h2-3.0[${PYTHON_USEDEP}] <dev-python/hyper-h2-4
>=dev-python/hyperframe-5.1.0[${PYTHON_USEDEP}] <dev-python/hyperframe-6
>=dev-python/kaitaistruct-0.7[${PYTHON_USEDEP}] <dev-python/kaitaistruct-0.8
>=dev-python/ldap3-2.5[${PYTHON_USEDEP}] <dev-python/ldap3-2.6
>=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.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.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-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/beautifulsoup:4[${PYTHON_USEDEP}] <dev-python/beautifulsoup-4.7:4 )
"
DEPEND="${RDEPEND}
test? (
>=dev-python/asynctest-0.12.0[${PYTHON_USEDEP}]
>=dev-python/flake8-3.5[${PYTHON_USEDEP}]
>=dev-python/flask-1.0[${PYTHON_USEDEP}]
>=dev-python/mypy-0.590[${PYTHON_USEDEP}]
>=dev-python/pytest-asyncio-0.8[${PYTHON_USEDEP}]
>=dev-python/pytest-cov-2.5.1[${PYTHON_USEDEP}]
>=dev-python/pytest-faulthandler-1.3.1[${PYTHON_USEDEP}]
>=dev-python/pytest-timeout-1.2.1[${PYTHON_USEDEP}]
>=dev-python/pytest-xdist-1.22[${PYTHON_USEDEP}]
>=dev-python/pytest-3.3[${PYTHON_USEDEP}]
>=dev-python/requests-2.9.1[${PYTHON_USEDEP}]
>=dev-python/rstcheck-2.2[${PYTHON_USEDEP}]
)
doc? ( dev-python/sphinx dev-python/sphinxcontrib-documentedlist )"
#fixme: bump it too
# =www-servers/pathod-$(get_version_component_range 1-2)*[${PYTHON_USEDEP}]
python_test() {
cd test/mitmproxy/addons
#tests require python3.6
"${EPYTHON}" /usr/bin/pytest -v
}
python_compile_all() {
use doc && emake -C docs html
}
python_install_all() {
local DOCS=( CHANGELOG README.rst )
use doc && local HTML_DOCS=( docs/_build/html. )
use examples && local EXAMPLES=( examples/. )
distutils-r1_python_install_all
}