[gentoo-commits] repo/gentoo:master commit in: net-proxy/mitmproxy/

2023-12-07 Thread Matthew Smith
commit: c3d7778b6fdc3cb68163d8f65233b424f859b626
Author: Matthew Smith  gentoo  org>
AuthorDate: Thu Dec  7 16:16:09 2023 +
Commit: Matthew Smith  gentoo  org>
CommitDate: Thu Dec  7 16:16:09 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3d7778b

net-proxy/mitmproxy: drop myself as a maintainer

Signed-off-by: Matthew Smith  gentoo.org>

 net-proxy/mitmproxy/metadata.xml | 5 +
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/net-proxy/mitmproxy/metadata.xml b/net-proxy/mitmproxy/metadata.xml
index 876ef79751b4..33bee145a3c4 100644
--- a/net-proxy/mitmproxy/metadata.xml
+++ b/net-proxy/mitmproxy/metadata.xml
@@ -1,10 +1,7 @@
 
 https://www.gentoo.org/dtd/metadata.dtd;>
 
-   
-   matt...@gentoo.org
-   Matthew Smith
-   
+   

mitmproxy is your swiss-army knife for debugging,
testing, privacy measurements, and penetration



[gentoo-commits] repo/gentoo:master commit in: net-proxy/mitmproxy/

2023-03-06 Thread Arthur Zamarin
commit: 864f429268c591ba2c576de3c7104fdf33c4b052
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Mon Mar  6 16:22:46 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Mon Mar  6 16:23:02 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=864f4292

net-proxy/mitmproxy: enable py3.11

Closes: https://github.com/mgorny/python-bump-testing/issues/66
Closes: https://bugs.gentoo.org/897148
Signed-off-by: Arthur Zamarin  gentoo.org>

 net-proxy/mitmproxy/mitmproxy-9.0.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-proxy/mitmproxy/mitmproxy-9.0.1.ebuild 
b/net-proxy/mitmproxy/mitmproxy-9.0.1.ebuild
index 04239794162b..984f0e123679 100644
--- a/net-proxy/mitmproxy/mitmproxy-9.0.1.ebuild
+++ b/net-proxy/mitmproxy/mitmproxy-9.0.1.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9,10} )
+PYTHON_COMPAT=( python3_{9,10,11} )
 PYTHON_REQ_USE="sqlite"
 inherit distutils-r1
 



[gentoo-commits] repo/gentoo:master commit in: net-proxy/mitmproxy/

2023-02-21 Thread Michał Górny
commit: 7a489df280fb9faf5ee6229b2161f4412bb6f7fe
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Feb 21 10:00:23 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Feb 21 10:00:23 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a489df2

net-proxy/mitmproxy: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 net-proxy/mitmproxy/Manifest   |  1 -
 net-proxy/mitmproxy/mitmproxy-8.1.1.ebuild | 70 --
 2 files changed, 71 deletions(-)

diff --git a/net-proxy/mitmproxy/Manifest b/net-proxy/mitmproxy/Manifest
index 9f62dc8b1735..a9f0d25fdf3f 100644
--- a/net-proxy/mitmproxy/Manifest
+++ b/net-proxy/mitmproxy/Manifest
@@ -1,2 +1 @@
-DIST mitmproxy-8.1.1.gh.tar.gz 27943959 BLAKE2B 
e920ee016f3c2c1ece08924e895848d6716c60ed65ba3b0b3ac6c966cf4ac4245a31b31365d248f4b88130f787c65183943eec3611db900a4f5c2e16709c775c
 SHA512 
a62a45f8991819202115ab8f43d1c113df88504c494c73917ec2e3c52999dbe3ac596444a4c096619d4285f2e26a91ec715d6894fc4d7768bac1a2c3c4c268bc
 DIST mitmproxy-9.0.1.gh.tar.gz 29461514 BLAKE2B 
291f9846afde35e70a3e900de811d8bd83cdd604ac4a43dbb3d0763d7326d7bdcfc37a0eddc8bf4a145963a61dc9d9956265afad2f9255a993e821ebd7a78b09
 SHA512 
601d9171f48d93fbc6f002a1dc243c2f358186059e491490ffe5ab7be797e8e622fdb5a9e2fdab10fac7350057f9e9491952527d600477c841c9b5102a045bc1

diff --git a/net-proxy/mitmproxy/mitmproxy-8.1.1.ebuild 
b/net-proxy/mitmproxy/mitmproxy-8.1.1.ebuild
deleted file mode 100644
index daa4912f0697..
--- a/net-proxy/mitmproxy/mitmproxy-8.1.1.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9,10} )
-PYTHON_REQ_USE="sqlite"
-inherit distutils-r1
-
-DESCRIPTION="An interactive, SSL-capable, man-in-the-middle HTTP proxy"
-HOMEPAGE="https://mitmproxy.org/;
-SRC_URI="https://github.com/mitmproxy/mitmproxy/archive/v${PV}.tar.gz -> 
${P}.gh.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 ~arm64 ~x86"
-
-RDEPEND="
-   >=app-arch/brotli-1.0.0[python,${PYTHON_USEDEP}]
-   >=dev-python/asgiref-3.2.10[${PYTHON_USEDEP}]
-   >=dev-python/blinker-1.4[${PYTHON_USEDEP}]
-   >=dev-python/certifi-2015.11.20.1[${PYTHON_USEDEP}]
-   >=dev-python/cryptography-37.0.0[${PYTHON_USEDEP}]
-   >=dev-python/flask-1.1.1[${PYTHON_USEDEP}]
-   >=dev-python/h2-4.0.0[${PYTHON_USEDEP}]
-   >=dev-python/hyperframe-6.0.0[${PYTHON_USEDEP}]
-   >=dev-python/kaitaistruct-0.7[${PYTHON_USEDEP}]
-   >=dev-python/ldap3-2.8[${PYTHON_USEDEP}]
-   >=dev-python/msgpack-1.0.0[${PYTHON_USEDEP}]
-   >=dev-python/passlib-1.6.5[${PYTHON_USEDEP}]
-   >=dev-python/protobuf-python-3.14.0[${PYTHON_USEDEP}]
-   >=dev-python/publicsuffix-2.20190205[${PYTHON_USEDEP}]
-   >=dev-python/pyasn1-0.3.1[${PYTHON_USEDEP}]
-   >=dev-python/pyopenssl-22.0[${PYTHON_USEDEP}]
-   >=dev-python/pyparsing-2.4.2[${PYTHON_USEDEP}]
-   >=dev-python/pyperclip-1.6.0[${PYTHON_USEDEP}]
-   >=dev-python/zstandard-0.11.0[${PYTHON_USEDEP}]
-   >=dev-python/ruamel-yaml-0.16[${PYTHON_USEDEP}]
-   >=dev-python/sortedcontainers-2.3.0[${PYTHON_USEDEP}]
-   >=dev-python/tornado-6.1[${PYTHON_USEDEP}]
-   >=dev-python/urwid-2.1.1[${PYTHON_USEDEP}]
-   >=dev-python/wsproto-1.0.0[${PYTHON_USEDEP}]
-   dev-libs/openssl:0
-"
-
-BDEPEND="
-   test? (
-   >=dev-python/click-7.0[${PYTHON_USEDEP}]
-   >=dev-python/hypothesis-5.8[${PYTHON_USEDEP}]
-   >=dev-python/parver-0.1[${PYTHON_USEDEP}]
-   >=dev-python/pytest-asyncio-0.17.0[${PYTHON_USEDEP}]
-   >=dev-python/requests-2.9.1[${PYTHON_USEDEP}]
-   )
-"
-
-distutils_enable_tests pytest
-
-python_prepare_all() {
-   # loosen dependencies
-   sed -i \
-   -e '/>/s/>.*/",/g' \
-   -e '/python_requires/d' \
-   setup.py || die
-
-   # remove failing test
-   sed -i 's/test_get_version/_&/g' test/mitmproxy/test_version.py || die
-
-   distutils-r1_python_prepare_all
-}



[gentoo-commits] repo/gentoo:master commit in: net-proxy/mitmproxy/

2023-02-21 Thread Sam James
commit: fefd72a11bdc94c47e791575770dc4dee25eb5d2
Author: Sam James  gentoo  org>
AuthorDate: Tue Feb 21 09:30:11 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Feb 21 09:30:11 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fefd72a1

net-proxy/mitmproxy: Stabilize 9.0.1 amd64, #895666

Signed-off-by: Sam James  gentoo.org>

 net-proxy/mitmproxy/mitmproxy-9.0.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-proxy/mitmproxy/mitmproxy-9.0.1.ebuild 
b/net-proxy/mitmproxy/mitmproxy-9.0.1.ebuild
index dcdaf838e2eb..04239794162b 100644
--- a/net-proxy/mitmproxy/mitmproxy-9.0.1.ebuild
+++ b/net-proxy/mitmproxy/mitmproxy-9.0.1.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/mitmproxy/mitmproxy/archive/${PV}.tar.gz -> ${P}.gh.
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
+KEYWORDS="amd64 ~arm64 ~x86"
 
 RDEPEND="
>=app-arch/brotli-1.0.0[python,${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: net-proxy/mitmproxy/

2022-12-05 Thread Arthur Zamarin
commit: 7638cbd21165212f97fc500a586f23a4a3038719
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Mon Dec  5 20:17:34 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Mon Dec  5 20:17:34 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7638cbd2

net-proxy/mitmproxy: Keyword 9.0.1 x86, #881731

Signed-off-by: Arthur Zamarin  gentoo.org>

 net-proxy/mitmproxy/mitmproxy-9.0.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-proxy/mitmproxy/mitmproxy-9.0.1.ebuild 
b/net-proxy/mitmproxy/mitmproxy-9.0.1.ebuild
index e62826d2c239..2b1eecedd750 100644
--- a/net-proxy/mitmproxy/mitmproxy-9.0.1.ebuild
+++ b/net-proxy/mitmproxy/mitmproxy-9.0.1.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/mitmproxy/mitmproxy/archive/${PV}.tar.gz -> ${P}.gh.
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64"
+KEYWORDS="~amd64 ~arm64 ~x86"
 
 RDEPEND="
>=app-arch/brotli-1.0.0[python,${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: net-proxy/mitmproxy/

2022-11-18 Thread Arthur Zamarin
commit: 4db87d22336187857f480a68456d94c60ddbf5d2
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Nov 18 08:49:36 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Nov 18 08:49:36 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4db87d22

net-proxy/mitmproxy: Keyword 9.0.1 arm64, #881731

Signed-off-by: Arthur Zamarin  gentoo.org>

 net-proxy/mitmproxy/mitmproxy-9.0.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-proxy/mitmproxy/mitmproxy-9.0.1.ebuild 
b/net-proxy/mitmproxy/mitmproxy-9.0.1.ebuild
index 1a9ec3e34e78..e62826d2c239 100644
--- a/net-proxy/mitmproxy/mitmproxy-9.0.1.ebuild
+++ b/net-proxy/mitmproxy/mitmproxy-9.0.1.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/mitmproxy/mitmproxy/archive/${PV}.tar.gz -> ${P}.gh.
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~arm64"
 
 RDEPEND="
>=app-arch/brotli-1.0.0[python,${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: net-proxy/mitmproxy/

2022-11-02 Thread Matthew Smith
commit: 613086b06c219df57f2457fcc90d3b650f15b3ce
Author: Matthew Smith  gentoo  org>
AuthorDate: Wed Nov  2 12:31:09 2022 +
Commit: Matthew Smith  gentoo  org>
CommitDate: Wed Nov  2 12:31:24 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=613086b0

net-proxy/mitmproxy: add 9.0.1

Signed-off-by: Matthew Smith  gentoo.org>

 net-proxy/mitmproxy/Manifest   |  1 +
 net-proxy/mitmproxy/mitmproxy-9.0.1.ebuild | 74 ++
 2 files changed, 75 insertions(+)

diff --git a/net-proxy/mitmproxy/Manifest b/net-proxy/mitmproxy/Manifest
index 0d65b0cc4e5c..9f62dc8b1735 100644
--- a/net-proxy/mitmproxy/Manifest
+++ b/net-proxy/mitmproxy/Manifest
@@ -1 +1,2 @@
 DIST mitmproxy-8.1.1.gh.tar.gz 27943959 BLAKE2B 
e920ee016f3c2c1ece08924e895848d6716c60ed65ba3b0b3ac6c966cf4ac4245a31b31365d248f4b88130f787c65183943eec3611db900a4f5c2e16709c775c
 SHA512 
a62a45f8991819202115ab8f43d1c113df88504c494c73917ec2e3c52999dbe3ac596444a4c096619d4285f2e26a91ec715d6894fc4d7768bac1a2c3c4c268bc
+DIST mitmproxy-9.0.1.gh.tar.gz 29461514 BLAKE2B 
291f9846afde35e70a3e900de811d8bd83cdd604ac4a43dbb3d0763d7326d7bdcfc37a0eddc8bf4a145963a61dc9d9956265afad2f9255a993e821ebd7a78b09
 SHA512 
601d9171f48d93fbc6f002a1dc243c2f358186059e491490ffe5ab7be797e8e622fdb5a9e2fdab10fac7350057f9e9491952527d600477c841c9b5102a045bc1

diff --git a/net-proxy/mitmproxy/mitmproxy-9.0.1.ebuild 
b/net-proxy/mitmproxy/mitmproxy-9.0.1.ebuild
new file mode 100644
index ..1a9ec3e34e78
--- /dev/null
+++ b/net-proxy/mitmproxy/mitmproxy-9.0.1.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{9,10} )
+PYTHON_REQ_USE="sqlite"
+inherit distutils-r1
+
+DESCRIPTION="An interactive, SSL-capable, man-in-the-middle HTTP proxy"
+HOMEPAGE="https://mitmproxy.org/;
+SRC_URI="https://github.com/mitmproxy/mitmproxy/archive/${PV}.tar.gz -> 
${P}.gh.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+   >=app-arch/brotli-1.0.0[python,${PYTHON_USEDEP}]
+   >=dev-python/asgiref-3.2.10[${PYTHON_USEDEP}]
+   >=dev-python/blinker-1.4[${PYTHON_USEDEP}]
+   >=dev-python/certifi-2015.11.20.1[${PYTHON_USEDEP}]
+   >=dev-python/cryptography-37.0.0[${PYTHON_USEDEP}]
+   >=dev-python/flask-1.1.1[${PYTHON_USEDEP}]
+   >=dev-python/h2-4.1.0[${PYTHON_USEDEP}]
+   >=dev-python/hyperframe-6.0.0[${PYTHON_USEDEP}]
+   >=dev-python/kaitaistruct-0.10[${PYTHON_USEDEP}]
+   >=dev-python/ldap3-2.8[${PYTHON_USEDEP}]
+   >=dev-python/mitmproxy_wireguard-0.1.16[${PYTHON_USEDEP}]
+   >=dev-python/msgpack-1.0.0[${PYTHON_USEDEP}]
+   >=dev-python/passlib-1.6.5[${PYTHON_USEDEP}]
+   >=dev-python/protobuf-python-3.14.0[${PYTHON_USEDEP}]
+   >=dev-python/publicsuffix-2.20190205[${PYTHON_USEDEP}]
+   >=dev-python/pyopenssl-22.1[${PYTHON_USEDEP}]
+   >=dev-python/pyparsing-2.4.2[${PYTHON_USEDEP}]
+   >=dev-python/pyperclip-1.6.0[${PYTHON_USEDEP}]
+   >=dev-python/python-zstandard-0.11.0[${PYTHON_USEDEP}]
+   >=dev-python/ruamel-yaml-0.16[${PYTHON_USEDEP}]
+   >=dev-python/sortedcontainers-2.3.0[${PYTHON_USEDEP}]
+   >=dev-python/tornado-6.1[${PYTHON_USEDEP}]
+   >=dev-python/urwid-2.1.1[${PYTHON_USEDEP}]
+   >=dev-python/wsproto-1.0.0[${PYTHON_USEDEP}]
+"
+
+BDEPEND="
+   test? (
+   >=dev-python/click-7.0[${PYTHON_USEDEP}]
+   >=dev-python/hypothesis-5.8[${PYTHON_USEDEP}]
+   >=dev-python/parver-0.1[${PYTHON_USEDEP}]
+   >=dev-python/pytest-asyncio-0.17.0[${PYTHON_USEDEP}]
+   >=dev-python/requests-2.9.1[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+   # loosen dependencies
+   sed -i \
+   -e '/>/s/>.*/",/g' \
+   -e '/python_requires/d' \
+   setup.py || die
+
+   # remove failing test
+   # sed -i 's/test_get_version/_&/g' test/mitmproxy/test_version.py || die
+
+   # seems to hang. other tests ensure that mitmproxy_wireguard module
+   # loads properly.
+   sed -i 's/test_wireguard/_&/g' \
+   test/mitmproxy/proxy/test_mode_servers.py || die
+
+   distutils-r1_python_prepare_all
+}



[gentoo-commits] repo/gentoo:master commit in: net-proxy/mitmproxy/

2022-09-09 Thread Matthew Smith
commit: 7ec77f3902599d4ddc389f24cebc77e8acd77bc8
Author: Matthew Smith  gentoo  org>
AuthorDate: Fri Sep  9 08:59:45 2022 +
Commit: Matthew Smith  gentoo  org>
CommitDate: Fri Sep  9 09:46:53 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ec77f39

net-proxy/mitmproxy: drop 8.1.0

Signed-off-by: Matthew Smith  gentoo.org>

 net-proxy/mitmproxy/Manifest   |  1 -
 net-proxy/mitmproxy/mitmproxy-8.1.0.ebuild | 70 --
 2 files changed, 71 deletions(-)

diff --git a/net-proxy/mitmproxy/Manifest b/net-proxy/mitmproxy/Manifest
index 0b32335a0f3e..0d65b0cc4e5c 100644
--- a/net-proxy/mitmproxy/Manifest
+++ b/net-proxy/mitmproxy/Manifest
@@ -1,2 +1 @@
-DIST mitmproxy-8.1.0.tar.gz 27940706 BLAKE2B 
6d4293f30257e88eafea21127d4f499a7734f3d450c07114f83652d73a8aaadf1523737fee96e04b1bd39d47b73263d7f62f177b5c02357b258c898ccc58a9d1
 SHA512 
47e0924b1fc2999cbc038295dbb43a78eef4120a31c9445aba7b1f31e90aa4d859c5e2665a429f16c5cf7a6f9f29a7d6a50bb09a1e54c2e1693714c28d5153e1
 DIST mitmproxy-8.1.1.gh.tar.gz 27943959 BLAKE2B 
e920ee016f3c2c1ece08924e895848d6716c60ed65ba3b0b3ac6c966cf4ac4245a31b31365d248f4b88130f787c65183943eec3611db900a4f5c2e16709c775c
 SHA512 
a62a45f8991819202115ab8f43d1c113df88504c494c73917ec2e3c52999dbe3ac596444a4c096619d4285f2e26a91ec715d6894fc4d7768bac1a2c3c4c268bc

diff --git a/net-proxy/mitmproxy/mitmproxy-8.1.0.ebuild 
b/net-proxy/mitmproxy/mitmproxy-8.1.0.ebuild
deleted file mode 100644
index 2bb96ea6369f..
--- a/net-proxy/mitmproxy/mitmproxy-8.1.0.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9,10} )
-PYTHON_REQ_USE="sqlite"
-inherit distutils-r1
-
-DESCRIPTION="An interactive, SSL-capable, man-in-the-middle HTTP proxy"
-HOMEPAGE="https://mitmproxy.org/;
-SRC_URI="https://github.com/mitmproxy/mitmproxy/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 ~arm64 ~x86"
-
-RDEPEND="
-   >=app-arch/brotli-1.0.0[python,${PYTHON_USEDEP}]
-   >=dev-python/asgiref-3.2.10[${PYTHON_USEDEP}]
-   >=dev-python/blinker-1.4[${PYTHON_USEDEP}]
-   >=dev-python/certifi-2015.11.20.1[${PYTHON_USEDEP}]
-   >=dev-python/cryptography-37.0.0[${PYTHON_USEDEP}]
-   >=dev-python/flask-1.1.1[${PYTHON_USEDEP}]
-   >=dev-python/h2-4.0.0[${PYTHON_USEDEP}]
-   >=dev-python/hyperframe-6.0.0[${PYTHON_USEDEP}]
-   >=dev-python/kaitaistruct-0.7[${PYTHON_USEDEP}]
-   >=dev-python/ldap3-2.8[${PYTHON_USEDEP}]
-   >=dev-python/msgpack-1.0.0[${PYTHON_USEDEP}]
-   >=dev-python/passlib-1.6.5[${PYTHON_USEDEP}]
-   >=dev-python/protobuf-python-3.14.0[${PYTHON_USEDEP}]
-   >=dev-python/publicsuffix-2.20190205[${PYTHON_USEDEP}]
-   >=dev-python/pyasn1-0.3.1[${PYTHON_USEDEP}]
-   >=dev-python/pyopenssl-22.0[${PYTHON_USEDEP}]
-   >=dev-python/pyparsing-2.4.2[${PYTHON_USEDEP}]
-   >=dev-python/pyperclip-1.6.0[${PYTHON_USEDEP}]
-   >=dev-python/ruamel-yaml-0.16[${PYTHON_USEDEP}]
-   >=dev-python/sortedcontainers-2.3.0[${PYTHON_USEDEP}]
-   >=dev-python/urwid-2.1.1[${PYTHON_USEDEP}]
-   >=dev-python/wsproto-1.0.0[${PYTHON_USEDEP}]
-   >=dev-python/zstandard-0.11.0[${PYTHON_USEDEP}]
-   dev-libs/openssl:0
-   >=www-servers/tornado-6.1[${PYTHON_USEDEP}]
-"
-
-BDEPEND="
-   test? (
-   >=dev-python/click-7.0[${PYTHON_USEDEP}]
-   >=dev-python/hypothesis-5.8[${PYTHON_USEDEP}]
-   >=dev-python/parver-0.1[${PYTHON_USEDEP}]
-   >=dev-python/pytest-asyncio-0.17.0[${PYTHON_USEDEP}]
-   >=dev-python/requests-2.9.1[${PYTHON_USEDEP}]
-   )
-"
-
-distutils_enable_tests pytest
-
-python_prepare_all() {
-   # loosen dependencies
-   sed -i \
-   -e '/>/s/>.*/",/g' \
-   -e '/python_requires/d' \
-   setup.py || die
-
-   # remove failing test
-   sed -i 's/test_get_version/_&/g' test/mitmproxy/test_version.py || die
-
-   distutils-r1_python_prepare_all
-}



[gentoo-commits] repo/gentoo:master commit in: net-proxy/mitmproxy/

2022-08-17 Thread Agostino Sarubbo
commit: 744e053d720fb8c016d851c869e1fc98099c
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Aug 17 07:05:31 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Aug 17 07:06:08 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=744e053d

net-proxy/mitmproxy: amd64 stable wrt bug #865095

Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-proxy/mitmproxy/mitmproxy-8.1.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-proxy/mitmproxy/mitmproxy-8.1.1.ebuild 
b/net-proxy/mitmproxy/mitmproxy-8.1.1.ebuild
index 8c38bade37bd..54154424466b 100644
--- a/net-proxy/mitmproxy/mitmproxy-8.1.1.ebuild
+++ b/net-proxy/mitmproxy/mitmproxy-8.1.1.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/mitmproxy/mitmproxy/archive/v${PV}.tar.gz -> ${P}.gh
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
+KEYWORDS="amd64 ~arm64 ~x86"
 
 RDEPEND="
>=app-arch/brotli-1.0.0[python,${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: net-proxy/mitmproxy/

2022-07-10 Thread Matthew Smith
commit: f3474d38ee4b028a820f9ad1ed37bb936e77d21f
Author: Matthew Smith  gentoo  org>
AuthorDate: Sun Jul 10 08:07:05 2022 +
Commit: Matthew Smith  gentoo  org>
CommitDate: Sun Jul 10 08:39:18 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3474d38

net-proxy/mitmproxy: add 8.1.1

Signed-off-by: Matthew Smith  gentoo.org>

 net-proxy/mitmproxy/Manifest   |  1 +
 net-proxy/mitmproxy/mitmproxy-8.1.1.ebuild | 70 ++
 2 files changed, 71 insertions(+)

diff --git a/net-proxy/mitmproxy/Manifest b/net-proxy/mitmproxy/Manifest
index 497a6258aa77..5b883f05fa6d 100644
--- a/net-proxy/mitmproxy/Manifest
+++ b/net-proxy/mitmproxy/Manifest
@@ -1,3 +1,4 @@
 DIST mitmproxy-7.0.4.tar.gz 27312748 BLAKE2B 
a23db472adab33db615b0daa93694211450e8899885dc75601d40a4964cc505437db6a106622eb8051263db23280261134937b6567482dd584eed29cc592e42b
 SHA512 
4224b44e609f84b974b5419c6ceb576845957968c786ee437bffb5fa5df685ce0712d5ef8c402d40c568406242f44692cc7f04037fadd19ecece8b112d73b7ae
 DIST mitmproxy-8.0.0.tar.gz 27902148 BLAKE2B 
73ef46fea3a668cb4cf9992e8de969c7ccac78ac84997a82aa59c841d7b5d1dfc6df5a3bd76f910f318c191421a99bb7a24fd53b50e8529968acdae1e934f322
 SHA512 
abb0855322ca74ef34756db860f491b49057fd8d4fb26ffafc4038e40fe30444c6736fcff7b683e32c21a2d7339ebfeeb6eaf7b9e586b965d191a59eddfe15b6
 DIST mitmproxy-8.1.0.tar.gz 27940706 BLAKE2B 
6d4293f30257e88eafea21127d4f499a7734f3d450c07114f83652d73a8aaadf1523737fee96e04b1bd39d47b73263d7f62f177b5c02357b258c898ccc58a9d1
 SHA512 
47e0924b1fc2999cbc038295dbb43a78eef4120a31c9445aba7b1f31e90aa4d859c5e2665a429f16c5cf7a6f9f29a7d6a50bb09a1e54c2e1693714c28d5153e1
+DIST mitmproxy-8.1.1.gh.tar.gz 27943959 BLAKE2B 
e920ee016f3c2c1ece08924e895848d6716c60ed65ba3b0b3ac6c966cf4ac4245a31b31365d248f4b88130f787c65183943eec3611db900a4f5c2e16709c775c
 SHA512 
a62a45f8991819202115ab8f43d1c113df88504c494c73917ec2e3c52999dbe3ac596444a4c096619d4285f2e26a91ec715d6894fc4d7768bac1a2c3c4c268bc

diff --git a/net-proxy/mitmproxy/mitmproxy-8.1.1.ebuild 
b/net-proxy/mitmproxy/mitmproxy-8.1.1.ebuild
new file mode 100644
index ..8c38bade37bd
--- /dev/null
+++ b/net-proxy/mitmproxy/mitmproxy-8.1.1.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{9,10} )
+PYTHON_REQ_USE="sqlite"
+inherit distutils-r1
+
+DESCRIPTION="An interactive, SSL-capable, man-in-the-middle HTTP proxy"
+HOMEPAGE="https://mitmproxy.org/;
+SRC_URI="https://github.com/mitmproxy/mitmproxy/archive/v${PV}.tar.gz -> 
${P}.gh.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+
+RDEPEND="
+   >=app-arch/brotli-1.0.0[python,${PYTHON_USEDEP}]
+   >=dev-python/asgiref-3.2.10[${PYTHON_USEDEP}]
+   >=dev-python/blinker-1.4[${PYTHON_USEDEP}]
+   >=dev-python/certifi-2015.11.20.1[${PYTHON_USEDEP}]
+   >=dev-python/cryptography-37.0.0[${PYTHON_USEDEP}]
+   >=dev-python/flask-1.1.1[${PYTHON_USEDEP}]
+   >=dev-python/h2-4.0.0[${PYTHON_USEDEP}]
+   >=dev-python/hyperframe-6.0.0[${PYTHON_USEDEP}]
+   >=dev-python/kaitaistruct-0.7[${PYTHON_USEDEP}]
+   >=dev-python/ldap3-2.8[${PYTHON_USEDEP}]
+   >=dev-python/msgpack-1.0.0[${PYTHON_USEDEP}]
+   >=dev-python/passlib-1.6.5[${PYTHON_USEDEP}]
+   >=dev-python/protobuf-python-3.14.0[${PYTHON_USEDEP}]
+   >=dev-python/publicsuffix-2.20190205[${PYTHON_USEDEP}]
+   >=dev-python/pyasn1-0.3.1[${PYTHON_USEDEP}]
+   >=dev-python/pyopenssl-22.0[${PYTHON_USEDEP}]
+   >=dev-python/pyparsing-2.4.2[${PYTHON_USEDEP}]
+   >=dev-python/pyperclip-1.6.0[${PYTHON_USEDEP}]
+   >=dev-python/ruamel-yaml-0.16[${PYTHON_USEDEP}]
+   >=dev-python/sortedcontainers-2.3.0[${PYTHON_USEDEP}]
+   >=dev-python/urwid-2.1.1[${PYTHON_USEDEP}]
+   >=dev-python/wsproto-1.0.0[${PYTHON_USEDEP}]
+   >=dev-python/zstandard-0.11.0[${PYTHON_USEDEP}]
+   dev-libs/openssl:0
+   >=www-servers/tornado-6.1[${PYTHON_USEDEP}]
+"
+
+BDEPEND="
+   test? (
+   >=dev-python/click-7.0[${PYTHON_USEDEP}]
+   >=dev-python/hypothesis-5.8[${PYTHON_USEDEP}]
+   >=dev-python/parver-0.1[${PYTHON_USEDEP}]
+   >=dev-python/pytest-asyncio-0.17.0[${PYTHON_USEDEP}]
+   >=dev-python/requests-2.9.1[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+   # loosen dependencies
+   sed -i \
+   -e '/>/s/>.*/",/g' \
+   -e '/python_requires/d' \
+   setup.py || die
+
+   # remove failing test
+   sed -i 's/test_get_version/_&/g' test/mitmproxy/test_version.py || die
+
+   distutils-r1_python_prepare_all
+}



[gentoo-commits] repo/gentoo:master commit in: net-proxy/mitmproxy/

2022-07-10 Thread Matthew Smith
commit: 663a767d2023aa108896df4177cfeffb994762e8
Author: Matthew Smith  gentoo  org>
AuthorDate: Sun Jul 10 08:07:34 2022 +
Commit: Matthew Smith  gentoo  org>
CommitDate: Sun Jul 10 08:39:22 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=663a767d

net-proxy/mitmproxy: drop 7.0.4, 8.0.0

Signed-off-by: Matthew Smith  gentoo.org>

 net-proxy/mitmproxy/Manifest   |  2 -
 net-proxy/mitmproxy/mitmproxy-7.0.4.ebuild | 69 -
 net-proxy/mitmproxy/mitmproxy-8.0.0.ebuild | 70 --
 3 files changed, 141 deletions(-)

diff --git a/net-proxy/mitmproxy/Manifest b/net-proxy/mitmproxy/Manifest
index 5b883f05fa6d..0b32335a0f3e 100644
--- a/net-proxy/mitmproxy/Manifest
+++ b/net-proxy/mitmproxy/Manifest
@@ -1,4 +1,2 @@
-DIST mitmproxy-7.0.4.tar.gz 27312748 BLAKE2B 
a23db472adab33db615b0daa93694211450e8899885dc75601d40a4964cc505437db6a106622eb8051263db23280261134937b6567482dd584eed29cc592e42b
 SHA512 
4224b44e609f84b974b5419c6ceb576845957968c786ee437bffb5fa5df685ce0712d5ef8c402d40c568406242f44692cc7f04037fadd19ecece8b112d73b7ae
-DIST mitmproxy-8.0.0.tar.gz 27902148 BLAKE2B 
73ef46fea3a668cb4cf9992e8de969c7ccac78ac84997a82aa59c841d7b5d1dfc6df5a3bd76f910f318c191421a99bb7a24fd53b50e8529968acdae1e934f322
 SHA512 
abb0855322ca74ef34756db860f491b49057fd8d4fb26ffafc4038e40fe30444c6736fcff7b683e32c21a2d7339ebfeeb6eaf7b9e586b965d191a59eddfe15b6
 DIST mitmproxy-8.1.0.tar.gz 27940706 BLAKE2B 
6d4293f30257e88eafea21127d4f499a7734f3d450c07114f83652d73a8aaadf1523737fee96e04b1bd39d47b73263d7f62f177b5c02357b258c898ccc58a9d1
 SHA512 
47e0924b1fc2999cbc038295dbb43a78eef4120a31c9445aba7b1f31e90aa4d859c5e2665a429f16c5cf7a6f9f29a7d6a50bb09a1e54c2e1693714c28d5153e1
 DIST mitmproxy-8.1.1.gh.tar.gz 27943959 BLAKE2B 
e920ee016f3c2c1ece08924e895848d6716c60ed65ba3b0b3ac6c966cf4ac4245a31b31365d248f4b88130f787c65183943eec3611db900a4f5c2e16709c775c
 SHA512 
a62a45f8991819202115ab8f43d1c113df88504c494c73917ec2e3c52999dbe3ac596444a4c096619d4285f2e26a91ec715d6894fc4d7768bac1a2c3c4c268bc

diff --git a/net-proxy/mitmproxy/mitmproxy-7.0.4.ebuild 
b/net-proxy/mitmproxy/mitmproxy-7.0.4.ebuild
deleted file mode 100644
index 1c941837097b..
--- a/net-proxy/mitmproxy/mitmproxy-7.0.4.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{8,9,10} )
-PYTHON_REQ_USE="sqlite"
-inherit distutils-r1
-
-DESCRIPTION="An interactive, SSL-capable, man-in-the-middle HTTP proxy"
-HOMEPAGE="https://mitmproxy.org/;
-SRC_URI="https://github.com/mitmproxy/mitmproxy/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 ~arm64 ~x86"
-
-RDEPEND="
-   >=app-arch/brotli-1.0.0[python,${PYTHON_USEDEP}]
-   >=dev-python/asgiref-3.2.10[${PYTHON_USEDEP}]
-   >=dev-python/blinker-1.4[${PYTHON_USEDEP}]
-   >=dev-python/certifi-2015.11.20.1[${PYTHON_USEDEP}]
-   >=dev-python/click-7.0[${PYTHON_USEDEP}]
-   >=dev-python/cryptography-3.3[${PYTHON_USEDEP}]
-   >=dev-python/flask-1.1.1[${PYTHON_USEDEP}]
-   >=dev-python/h2-4.0.0[${PYTHON_USEDEP}]
-   >=dev-python/hyperframe-6.0.0[${PYTHON_USEDEP}]
-   >=dev-python/kaitaistruct-0.7[${PYTHON_USEDEP}]
-   >=dev-python/ldap3-2.8[${PYTHON_USEDEP}]
-   >=dev-python/msgpack-1.0.0[${PYTHON_USEDEP}]
-   >=dev-python/passlib-1.6.5[${PYTHON_USEDEP}]
-   >=dev-python/protobuf-python-3.14.0[${PYTHON_USEDEP}]
-   >=dev-python/publicsuffix-2.20190205[${PYTHON_USEDEP}]
-   >=dev-python/pyasn1-0.3.1[${PYTHON_USEDEP}]
-   >=dev-python/pyopenssl-20.0[${PYTHON_USEDEP}]
-   >=dev-python/pyparsing-2.4.2[${PYTHON_USEDEP}]
-   >=dev-python/pyperclip-1.6.0[${PYTHON_USEDEP}]
-   >=dev-python/ruamel-yaml-0.16[${PYTHON_USEDEP}]
-   >=dev-python/sortedcontainers-2.3.0[${PYTHON_USEDEP}]
-   >=www-servers/tornado-4.3[${PYTHON_USEDEP}]
-   >=dev-python/urwid-2.1.1[${PYTHON_USEDEP}]
-   >=dev-python/wsproto-1.0.0[${PYTHON_USEDEP}]
-   >=dev-python/zstandard-0.11.0[${PYTHON_USEDEP}]
-   dev-libs/openssl:0
-"
-
-BDEPEND="
-   test? (
-   >=dev-python/hypothesis-5.8[${PYTHON_USEDEP}]
-   >=dev-python/parver-0.1[${PYTHON_USEDEP}]
-   >=dev-python/pytest-asyncio-0.10.0[${PYTHON_USEDEP}]
-   >=dev-python/requests-2.9.1[${PYTHON_USEDEP}]
-   )
-"
-
-distutils_enable_tests pytest
-
-python_prepare_all() {
-   # loosen dependencies
-   sed -i \
-   -e '/>/s/>.*/",/g' \
-   -e '/python_requires/d' \
-   setup.py || die
-
-   # remove failing test
-   sed -i 's/test_get_version/_&/g' test/mitmproxy/test_version.py || die
-
-   distutils-r1_python_prepare_all
-}

diff --git a/net-proxy/mitmproxy/mitmproxy-8.0.0.ebuild 
b/net-proxy/mitmproxy/mitmproxy-8.0.0.ebuild
deleted file mode 100644
index 

[gentoo-commits] repo/gentoo:master commit in: net-proxy/mitmproxy/

2022-07-10 Thread Agostino Sarubbo
commit: 77fc13b7f8905dba09573979e37f24b992e4e123
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Jul 10 06:17:33 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Jul 10 06:17:33 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77fc13b7

net-proxy/mitmproxy: amd64 stable wrt bug #857150

Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-proxy/mitmproxy/mitmproxy-8.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-proxy/mitmproxy/mitmproxy-8.1.0.ebuild 
b/net-proxy/mitmproxy/mitmproxy-8.1.0.ebuild
index c30ef41ab876..2bb96ea6369f 100644
--- a/net-proxy/mitmproxy/mitmproxy-8.1.0.ebuild
+++ b/net-proxy/mitmproxy/mitmproxy-8.1.0.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/mitmproxy/mitmproxy/archive/v${PV}.tar.gz -> ${P}.ta
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
+KEYWORDS="amd64 ~arm64 ~x86"
 
 RDEPEND="
>=app-arch/brotli-1.0.0[python,${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: net-proxy/mitmproxy/

2022-05-21 Thread Matthew Smith
commit: 342f79bd6f029449c4f21976fa42dc7f617e0310
Author: Matthew Smith  gentoo  org>
AuthorDate: Sat May 21 08:08:28 2022 +
Commit: Matthew Smith  gentoo  org>
CommitDate: Sat May 21 08:14:55 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=342f79bd

net-proxy/mitmproxy: add 8.1.0

Signed-off-by: Matthew Smith  gentoo.org>

 net-proxy/mitmproxy/Manifest   |  1 +
 net-proxy/mitmproxy/mitmproxy-8.1.0.ebuild | 70 ++
 2 files changed, 71 insertions(+)

diff --git a/net-proxy/mitmproxy/Manifest b/net-proxy/mitmproxy/Manifest
index a0033a4e08ea..497a6258aa77 100644
--- a/net-proxy/mitmproxy/Manifest
+++ b/net-proxy/mitmproxy/Manifest
@@ -1,2 +1,3 @@
 DIST mitmproxy-7.0.4.tar.gz 27312748 BLAKE2B 
a23db472adab33db615b0daa93694211450e8899885dc75601d40a4964cc505437db6a106622eb8051263db23280261134937b6567482dd584eed29cc592e42b
 SHA512 
4224b44e609f84b974b5419c6ceb576845957968c786ee437bffb5fa5df685ce0712d5ef8c402d40c568406242f44692cc7f04037fadd19ecece8b112d73b7ae
 DIST mitmproxy-8.0.0.tar.gz 27902148 BLAKE2B 
73ef46fea3a668cb4cf9992e8de969c7ccac78ac84997a82aa59c841d7b5d1dfc6df5a3bd76f910f318c191421a99bb7a24fd53b50e8529968acdae1e934f322
 SHA512 
abb0855322ca74ef34756db860f491b49057fd8d4fb26ffafc4038e40fe30444c6736fcff7b683e32c21a2d7339ebfeeb6eaf7b9e586b965d191a59eddfe15b6
+DIST mitmproxy-8.1.0.tar.gz 27940706 BLAKE2B 
6d4293f30257e88eafea21127d4f499a7734f3d450c07114f83652d73a8aaadf1523737fee96e04b1bd39d47b73263d7f62f177b5c02357b258c898ccc58a9d1
 SHA512 
47e0924b1fc2999cbc038295dbb43a78eef4120a31c9445aba7b1f31e90aa4d859c5e2665a429f16c5cf7a6f9f29a7d6a50bb09a1e54c2e1693714c28d5153e1

diff --git a/net-proxy/mitmproxy/mitmproxy-8.1.0.ebuild 
b/net-proxy/mitmproxy/mitmproxy-8.1.0.ebuild
new file mode 100644
index ..c30ef41ab876
--- /dev/null
+++ b/net-proxy/mitmproxy/mitmproxy-8.1.0.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{9,10} )
+PYTHON_REQ_USE="sqlite"
+inherit distutils-r1
+
+DESCRIPTION="An interactive, SSL-capable, man-in-the-middle HTTP proxy"
+HOMEPAGE="https://mitmproxy.org/;
+SRC_URI="https://github.com/mitmproxy/mitmproxy/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+
+RDEPEND="
+   >=app-arch/brotli-1.0.0[python,${PYTHON_USEDEP}]
+   >=dev-python/asgiref-3.2.10[${PYTHON_USEDEP}]
+   >=dev-python/blinker-1.4[${PYTHON_USEDEP}]
+   >=dev-python/certifi-2015.11.20.1[${PYTHON_USEDEP}]
+   >=dev-python/cryptography-37.0.0[${PYTHON_USEDEP}]
+   >=dev-python/flask-1.1.1[${PYTHON_USEDEP}]
+   >=dev-python/h2-4.0.0[${PYTHON_USEDEP}]
+   >=dev-python/hyperframe-6.0.0[${PYTHON_USEDEP}]
+   >=dev-python/kaitaistruct-0.7[${PYTHON_USEDEP}]
+   >=dev-python/ldap3-2.8[${PYTHON_USEDEP}]
+   >=dev-python/msgpack-1.0.0[${PYTHON_USEDEP}]
+   >=dev-python/passlib-1.6.5[${PYTHON_USEDEP}]
+   >=dev-python/protobuf-python-3.14.0[${PYTHON_USEDEP}]
+   >=dev-python/publicsuffix-2.20190205[${PYTHON_USEDEP}]
+   >=dev-python/pyasn1-0.3.1[${PYTHON_USEDEP}]
+   >=dev-python/pyopenssl-22.0[${PYTHON_USEDEP}]
+   >=dev-python/pyparsing-2.4.2[${PYTHON_USEDEP}]
+   >=dev-python/pyperclip-1.6.0[${PYTHON_USEDEP}]
+   >=dev-python/ruamel-yaml-0.16[${PYTHON_USEDEP}]
+   >=dev-python/sortedcontainers-2.3.0[${PYTHON_USEDEP}]
+   >=dev-python/urwid-2.1.1[${PYTHON_USEDEP}]
+   >=dev-python/wsproto-1.0.0[${PYTHON_USEDEP}]
+   >=dev-python/zstandard-0.11.0[${PYTHON_USEDEP}]
+   dev-libs/openssl:0
+   >=www-servers/tornado-6.1[${PYTHON_USEDEP}]
+"
+
+BDEPEND="
+   test? (
+   >=dev-python/click-7.0[${PYTHON_USEDEP}]
+   >=dev-python/hypothesis-5.8[${PYTHON_USEDEP}]
+   >=dev-python/parver-0.1[${PYTHON_USEDEP}]
+   >=dev-python/pytest-asyncio-0.17.0[${PYTHON_USEDEP}]
+   >=dev-python/requests-2.9.1[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+   # loosen dependencies
+   sed -i \
+   -e '/>/s/>.*/",/g' \
+   -e '/python_requires/d' \
+   setup.py || die
+
+   # remove failing test
+   sed -i 's/test_get_version/_&/g' test/mitmproxy/test_version.py || die
+
+   distutils-r1_python_prepare_all
+}



[gentoo-commits] repo/gentoo:master commit in: net-proxy/mitmproxy/

2022-05-14 Thread Matthew Smith
commit: 0f5686902aac7533de743c597782f9b581d36556
Author: Matthew Smith  gentoo  org>
AuthorDate: Sat May 14 10:04:31 2022 +
Commit: Matthew Smith  gentoo  org>
CommitDate: Sat May 14 10:04:31 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f568690

net-proxy/mitmproxy: enable py3.10

Closes: https://bugs.gentoo.org/831013
Signed-off-by: Matthew Smith  gentoo.org>

 net-proxy/mitmproxy/mitmproxy-7.0.4.ebuild | 4 ++--
 net-proxy/mitmproxy/mitmproxy-8.0.0.ebuild | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/net-proxy/mitmproxy/mitmproxy-7.0.4.ebuild 
b/net-proxy/mitmproxy/mitmproxy-7.0.4.ebuild
index 69d150f29461..1c941837097b 100644
--- a/net-proxy/mitmproxy/mitmproxy-7.0.4.ebuild
+++ b/net-proxy/mitmproxy/mitmproxy-7.0.4.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{8,9} )
+PYTHON_COMPAT=( python3_{8,9,10} )
 PYTHON_REQ_USE="sqlite"
 inherit distutils-r1
 

diff --git a/net-proxy/mitmproxy/mitmproxy-8.0.0.ebuild 
b/net-proxy/mitmproxy/mitmproxy-8.0.0.ebuild
index 840a63b77041..f8b403ee6b30 100644
--- a/net-proxy/mitmproxy/mitmproxy-8.0.0.ebuild
+++ b/net-proxy/mitmproxy/mitmproxy-8.0.0.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{8,9} )
+PYTHON_COMPAT=( python3_{8,9,10} )
 PYTHON_REQ_USE="sqlite"
 inherit distutils-r1
 



[gentoo-commits] repo/gentoo:master commit in: net-proxy/mitmproxy/

2022-04-28 Thread Matthew Smith
commit: 2c4ab640e100fe8f29ee6cfe6bf0e9d822183890
Author: Matthew Smith  gentoo  org>
AuthorDate: Thu Apr 28 17:12:42 2022 +
Commit: Matthew Smith  gentoo  org>
CommitDate: Thu Apr 28 17:36:58 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c4ab640

net-proxy/mitmproxy: add 8.0.0

Closes: https://bugs.gentoo.org/835809
Bug: https://bugs.gentoo.org/835803
Signed-off-by: Matthew Smith  gentoo.org>

 net-proxy/mitmproxy/Manifest   |  1 +
 net-proxy/mitmproxy/mitmproxy-8.0.0.ebuild | 70 ++
 2 files changed, 71 insertions(+)

diff --git a/net-proxy/mitmproxy/Manifest b/net-proxy/mitmproxy/Manifest
index 9277c421d424..a0033a4e08ea 100644
--- a/net-proxy/mitmproxy/Manifest
+++ b/net-proxy/mitmproxy/Manifest
@@ -1 +1,2 @@
 DIST mitmproxy-7.0.4.tar.gz 27312748 BLAKE2B 
a23db472adab33db615b0daa93694211450e8899885dc75601d40a4964cc505437db6a106622eb8051263db23280261134937b6567482dd584eed29cc592e42b
 SHA512 
4224b44e609f84b974b5419c6ceb576845957968c786ee437bffb5fa5df685ce0712d5ef8c402d40c568406242f44692cc7f04037fadd19ecece8b112d73b7ae
+DIST mitmproxy-8.0.0.tar.gz 27902148 BLAKE2B 
73ef46fea3a668cb4cf9992e8de969c7ccac78ac84997a82aa59c841d7b5d1dfc6df5a3bd76f910f318c191421a99bb7a24fd53b50e8529968acdae1e934f322
 SHA512 
abb0855322ca74ef34756db860f491b49057fd8d4fb26ffafc4038e40fe30444c6736fcff7b683e32c21a2d7339ebfeeb6eaf7b9e586b965d191a59eddfe15b6

diff --git a/net-proxy/mitmproxy/mitmproxy-8.0.0.ebuild 
b/net-proxy/mitmproxy/mitmproxy-8.0.0.ebuild
new file mode 100644
index ..840a63b77041
--- /dev/null
+++ b/net-proxy/mitmproxy/mitmproxy-8.0.0.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8,9} )
+PYTHON_REQ_USE="sqlite"
+inherit distutils-r1
+
+DESCRIPTION="An interactive, SSL-capable, man-in-the-middle HTTP proxy"
+HOMEPAGE="https://mitmproxy.org/;
+SRC_URI="https://github.com/mitmproxy/mitmproxy/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+
+RDEPEND="
+   >=app-arch/brotli-1.0.0[python,${PYTHON_USEDEP}]
+   >=dev-python/asgiref-3.2.10[${PYTHON_USEDEP}]
+   >=dev-python/blinker-1.4[${PYTHON_USEDEP}]
+   >=dev-python/certifi-2015.11.20.1[${PYTHON_USEDEP}]
+   >=dev-python/cryptography-37.0.0[${PYTHON_USEDEP}]
+   >=dev-python/flask-1.1.1[${PYTHON_USEDEP}]
+   >=dev-python/h2-4.0.0[${PYTHON_USEDEP}]
+   >=dev-python/hyperframe-6.0.0[${PYTHON_USEDEP}]
+   >=dev-python/kaitaistruct-0.7[${PYTHON_USEDEP}]
+   >=dev-python/ldap3-2.8[${PYTHON_USEDEP}]
+   >=dev-python/msgpack-1.0.0[${PYTHON_USEDEP}]
+   >=dev-python/passlib-1.6.5[${PYTHON_USEDEP}]
+   >=dev-python/protobuf-python-3.14.0[${PYTHON_USEDEP}]
+   >=dev-python/publicsuffix-2.20190205[${PYTHON_USEDEP}]
+   >=dev-python/pyasn1-0.3.1[${PYTHON_USEDEP}]
+   >=dev-python/pyopenssl-22.0[${PYTHON_USEDEP}]
+   >=dev-python/pyparsing-2.4.2[${PYTHON_USEDEP}]
+   >=dev-python/pyperclip-1.6.0[${PYTHON_USEDEP}]
+   >=dev-python/ruamel-yaml-0.16[${PYTHON_USEDEP}]
+   >=dev-python/sortedcontainers-2.3.0[${PYTHON_USEDEP}]
+   >=dev-python/urwid-2.1.1[${PYTHON_USEDEP}]
+   >=dev-python/wsproto-1.0.0[${PYTHON_USEDEP}]
+   >=dev-python/zstandard-0.11.0[${PYTHON_USEDEP}]
+   dev-libs/openssl:0
+   >=www-servers/tornado-6.1[${PYTHON_USEDEP}]
+"
+
+BDEPEND="
+   test? (
+   >=dev-python/click-7.0[${PYTHON_USEDEP}]
+   >=dev-python/hypothesis-5.8[${PYTHON_USEDEP}]
+   >=dev-python/parver-0.1[${PYTHON_USEDEP}]
+   >=dev-python/pytest-asyncio-0.17.0[${PYTHON_USEDEP}]
+   >=dev-python/requests-2.9.1[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+   # loosen dependencies
+   sed -i \
+   -e '/>/s/>.*/",/g' \
+   -e '/python_requires/d' \
+   setup.py || die
+
+   # remove failing test
+   sed -i 's/test_get_version/_&/g' test/mitmproxy/test_version.py || die
+
+   distutils-r1_python_prepare_all
+}



[gentoo-commits] repo/gentoo:master commit in: net-proxy/mitmproxy/

2022-02-13 Thread Matthew Smith
commit: 22ae0ea6e4e81b0e1669e4c1015e0f675991d12a
Author: Matthew Smith  gentoo  org>
AuthorDate: Sun Feb 13 18:26:46 2022 +
Commit: Matthew Smith  gentoo  org>
CommitDate: Sun Feb 13 19:05:46 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22ae0ea6

net-proxy/mitmproxy: Re-assign package

Signed-off-by: Matthew Smith  gentoo.org>

 net-proxy/mitmproxy/metadata.xml | 10 +++---
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/net-proxy/mitmproxy/metadata.xml b/net-proxy/mitmproxy/metadata.xml
index 1f0ebfaaa8d3..876ef79751b4 100644
--- a/net-proxy/mitmproxy/metadata.xml
+++ b/net-proxy/mitmproxy/metadata.xml
@@ -1,13 +1,9 @@
 
 https://www.gentoo.org/dtd/metadata.dtd;>
 
-   
-   m...@offtopica.uk
-   Matt Smith
-   
-   
-   proxy-ma...@gentoo.org
-   Proxy Maintainers
+   
+   matt...@gentoo.org
+   Matthew Smith


mitmproxy is your swiss-army knife for debugging,



[gentoo-commits] repo/gentoo:master commit in: net-proxy/mitmproxy/

2022-01-20 Thread Joonas Niilola
commit: 8002647bba7f86c538a884df196d40cb746dda0c
Author: Matthew Smith  offtopica  uk>
AuthorDate: Sat Jan  1 15:16:02 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Fri Jan 21 06:33:25 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8002647b

net-proxy/mitmproxy: drop 7.0.3

Signed-off-by: Matthew Smith  offtopica.uk>
Closes: https://github.com/gentoo/gentoo/pull/23619
Signed-off-by: Joonas Niilola  gentoo.org>

 net-proxy/mitmproxy/Manifest   |  1 -
 net-proxy/mitmproxy/mitmproxy-7.0.3.ebuild | 69 --
 2 files changed, 70 deletions(-)

diff --git a/net-proxy/mitmproxy/Manifest b/net-proxy/mitmproxy/Manifest
index abd6222b1626..9277c421d424 100644
--- a/net-proxy/mitmproxy/Manifest
+++ b/net-proxy/mitmproxy/Manifest
@@ -1,2 +1 @@
-DIST mitmproxy-7.0.3.tar.gz 27311502 BLAKE2B 
a55f8a43cc052e342a0630fdd80fc713be7ce3db7b3899ccce79cfcd385345b7ebe8480c618c626d63e851d92f528a350d614ac3c7dfb85b01a555389d914ff7
 SHA512 
cffbb60421724fa28aab69b3bf1100e0aa5ab6e8933186f5706eb4eee35ef0f716616001156dac07921c73024e6ad8b98499a273575c592bb7694c0dffb728da
 DIST mitmproxy-7.0.4.tar.gz 27312748 BLAKE2B 
a23db472adab33db615b0daa93694211450e8899885dc75601d40a4964cc505437db6a106622eb8051263db23280261134937b6567482dd584eed29cc592e42b
 SHA512 
4224b44e609f84b974b5419c6ceb576845957968c786ee437bffb5fa5df685ce0712d5ef8c402d40c568406242f44692cc7f04037fadd19ecece8b112d73b7ae

diff --git a/net-proxy/mitmproxy/mitmproxy-7.0.3.ebuild 
b/net-proxy/mitmproxy/mitmproxy-7.0.3.ebuild
deleted file mode 100644
index 69d150f29461..
--- a/net-proxy/mitmproxy/mitmproxy-7.0.3.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{8,9} )
-PYTHON_REQ_USE="sqlite"
-inherit distutils-r1
-
-DESCRIPTION="An interactive, SSL-capable, man-in-the-middle HTTP proxy"
-HOMEPAGE="https://mitmproxy.org/;
-SRC_URI="https://github.com/mitmproxy/mitmproxy/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 ~arm64 ~x86"
-
-RDEPEND="
-   >=app-arch/brotli-1.0.0[python,${PYTHON_USEDEP}]
-   >=dev-python/asgiref-3.2.10[${PYTHON_USEDEP}]
-   >=dev-python/blinker-1.4[${PYTHON_USEDEP}]
-   >=dev-python/certifi-2015.11.20.1[${PYTHON_USEDEP}]
-   >=dev-python/click-7.0[${PYTHON_USEDEP}]
-   >=dev-python/cryptography-3.3[${PYTHON_USEDEP}]
-   >=dev-python/flask-1.1.1[${PYTHON_USEDEP}]
-   >=dev-python/h2-4.0.0[${PYTHON_USEDEP}]
-   >=dev-python/hyperframe-6.0.0[${PYTHON_USEDEP}]
-   >=dev-python/kaitaistruct-0.7[${PYTHON_USEDEP}]
-   >=dev-python/ldap3-2.8[${PYTHON_USEDEP}]
-   >=dev-python/msgpack-1.0.0[${PYTHON_USEDEP}]
-   >=dev-python/passlib-1.6.5[${PYTHON_USEDEP}]
-   >=dev-python/protobuf-python-3.14.0[${PYTHON_USEDEP}]
-   >=dev-python/publicsuffix-2.20190205[${PYTHON_USEDEP}]
-   >=dev-python/pyasn1-0.3.1[${PYTHON_USEDEP}]
-   >=dev-python/pyopenssl-20.0[${PYTHON_USEDEP}]
-   >=dev-python/pyparsing-2.4.2[${PYTHON_USEDEP}]
-   >=dev-python/pyperclip-1.6.0[${PYTHON_USEDEP}]
-   >=dev-python/ruamel-yaml-0.16[${PYTHON_USEDEP}]
-   >=dev-python/sortedcontainers-2.3.0[${PYTHON_USEDEP}]
-   >=www-servers/tornado-4.3[${PYTHON_USEDEP}]
-   >=dev-python/urwid-2.1.1[${PYTHON_USEDEP}]
-   >=dev-python/wsproto-1.0.0[${PYTHON_USEDEP}]
-   >=dev-python/zstandard-0.11.0[${PYTHON_USEDEP}]
-   dev-libs/openssl:0
-"
-
-BDEPEND="
-   test? (
-   >=dev-python/hypothesis-5.8[${PYTHON_USEDEP}]
-   >=dev-python/parver-0.1[${PYTHON_USEDEP}]
-   >=dev-python/pytest-asyncio-0.10.0[${PYTHON_USEDEP}]
-   >=dev-python/requests-2.9.1[${PYTHON_USEDEP}]
-   )
-"
-
-distutils_enable_tests pytest
-
-python_prepare_all() {
-   # loosen dependencies
-   sed -i \
-   -e '/>/s/>.*/",/g' \
-   -e '/python_requires/d' \
-   setup.py || die
-
-   # remove failing test
-   sed -i 's/test_get_version/_&/g' test/mitmproxy/test_version.py || die
-
-   distutils-r1_python_prepare_all
-}



[gentoo-commits] repo/gentoo:master commit in: net-proxy/mitmproxy/

2021-12-04 Thread Joonas Niilola
commit: f19789f26d14858f013d41fb037477c6e4406028
Author: Joonas Niilola  gentoo  org>
AuthorDate: Sat Dec  4 09:45:13 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sat Dec  4 09:45:50 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f19789f2

net-proxy/mitmproxy: stabilize 7.0.4 for amd64

Bug: https://bugs.gentoo.org/show_bug.cgi?id=828120
Signed-off-by: Joonas Niilola  gentoo.org>

 net-proxy/mitmproxy/mitmproxy-7.0.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-proxy/mitmproxy/mitmproxy-7.0.4.ebuild 
b/net-proxy/mitmproxy/mitmproxy-7.0.4.ebuild
index 0abdfc2548cf..69d150f29461 100644
--- a/net-proxy/mitmproxy/mitmproxy-7.0.4.ebuild
+++ b/net-proxy/mitmproxy/mitmproxy-7.0.4.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/mitmproxy/mitmproxy/archive/v${PV}.tar.gz -> ${P}.ta
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
+KEYWORDS="amd64 ~arm64 ~x86"
 
 RDEPEND="
>=app-arch/brotli-1.0.0[python,${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: net-proxy/mitmproxy/

2021-10-30 Thread Sam James
commit: 8f71e73d68dda7c748867b29013b9d23d48fd6b9
Author: Matt Smith  offtopica  uk>
AuthorDate: Thu Oct 28 16:24:57 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Oct 31 02:59:47 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f71e73d

net-proxy/mitmproxy: Bump to 7.0.4

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Matt Smith  offtopica.uk>
Closes: https://github.com/gentoo/gentoo/pull/22745
Signed-off-by: Sam James  gentoo.org>

 net-proxy/mitmproxy/Manifest   |  1 +
 net-proxy/mitmproxy/mitmproxy-7.0.4.ebuild | 69 ++
 2 files changed, 70 insertions(+)

diff --git a/net-proxy/mitmproxy/Manifest b/net-proxy/mitmproxy/Manifest
index cfbb764a156..abd6222b162 100644
--- a/net-proxy/mitmproxy/Manifest
+++ b/net-proxy/mitmproxy/Manifest
@@ -1 +1,2 @@
 DIST mitmproxy-7.0.3.tar.gz 27311502 BLAKE2B 
a55f8a43cc052e342a0630fdd80fc713be7ce3db7b3899ccce79cfcd385345b7ebe8480c618c626d63e851d92f528a350d614ac3c7dfb85b01a555389d914ff7
 SHA512 
cffbb60421724fa28aab69b3bf1100e0aa5ab6e8933186f5706eb4eee35ef0f716616001156dac07921c73024e6ad8b98499a273575c592bb7694c0dffb728da
+DIST mitmproxy-7.0.4.tar.gz 27312748 BLAKE2B 
a23db472adab33db615b0daa93694211450e8899885dc75601d40a4964cc505437db6a106622eb8051263db23280261134937b6567482dd584eed29cc592e42b
 SHA512 
4224b44e609f84b974b5419c6ceb576845957968c786ee437bffb5fa5df685ce0712d5ef8c402d40c568406242f44692cc7f04037fadd19ecece8b112d73b7ae

diff --git a/net-proxy/mitmproxy/mitmproxy-7.0.4.ebuild 
b/net-proxy/mitmproxy/mitmproxy-7.0.4.ebuild
new file mode 100644
index 000..0abdfc2548c
--- /dev/null
+++ b/net-proxy/mitmproxy/mitmproxy-7.0.4.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8,9} )
+PYTHON_REQ_USE="sqlite"
+inherit distutils-r1
+
+DESCRIPTION="An interactive, SSL-capable, man-in-the-middle HTTP proxy"
+HOMEPAGE="https://mitmproxy.org/;
+SRC_URI="https://github.com/mitmproxy/mitmproxy/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+
+RDEPEND="
+   >=app-arch/brotli-1.0.0[python,${PYTHON_USEDEP}]
+   >=dev-python/asgiref-3.2.10[${PYTHON_USEDEP}]
+   >=dev-python/blinker-1.4[${PYTHON_USEDEP}]
+   >=dev-python/certifi-2015.11.20.1[${PYTHON_USEDEP}]
+   >=dev-python/click-7.0[${PYTHON_USEDEP}]
+   >=dev-python/cryptography-3.3[${PYTHON_USEDEP}]
+   >=dev-python/flask-1.1.1[${PYTHON_USEDEP}]
+   >=dev-python/h2-4.0.0[${PYTHON_USEDEP}]
+   >=dev-python/hyperframe-6.0.0[${PYTHON_USEDEP}]
+   >=dev-python/kaitaistruct-0.7[${PYTHON_USEDEP}]
+   >=dev-python/ldap3-2.8[${PYTHON_USEDEP}]
+   >=dev-python/msgpack-1.0.0[${PYTHON_USEDEP}]
+   >=dev-python/passlib-1.6.5[${PYTHON_USEDEP}]
+   >=dev-python/protobuf-python-3.14.0[${PYTHON_USEDEP}]
+   >=dev-python/publicsuffix-2.20190205[${PYTHON_USEDEP}]
+   >=dev-python/pyasn1-0.3.1[${PYTHON_USEDEP}]
+   >=dev-python/pyopenssl-20.0[${PYTHON_USEDEP}]
+   >=dev-python/pyparsing-2.4.2[${PYTHON_USEDEP}]
+   >=dev-python/pyperclip-1.6.0[${PYTHON_USEDEP}]
+   >=dev-python/ruamel-yaml-0.16[${PYTHON_USEDEP}]
+   >=dev-python/sortedcontainers-2.3.0[${PYTHON_USEDEP}]
+   >=www-servers/tornado-4.3[${PYTHON_USEDEP}]
+   >=dev-python/urwid-2.1.1[${PYTHON_USEDEP}]
+   >=dev-python/wsproto-1.0.0[${PYTHON_USEDEP}]
+   >=dev-python/zstandard-0.11.0[${PYTHON_USEDEP}]
+   dev-libs/openssl:0
+"
+
+BDEPEND="
+   test? (
+   >=dev-python/hypothesis-5.8[${PYTHON_USEDEP}]
+   >=dev-python/parver-0.1[${PYTHON_USEDEP}]
+   >=dev-python/pytest-asyncio-0.10.0[${PYTHON_USEDEP}]
+   >=dev-python/requests-2.9.1[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+   # loosen dependencies
+   sed -i \
+   -e '/>/s/>.*/",/g' \
+   -e '/python_requires/d' \
+   setup.py || die
+
+   # remove failing test
+   sed -i 's/test_get_version/_&/g' test/mitmproxy/test_version.py || die
+
+   distutils-r1_python_prepare_all
+}



[gentoo-commits] repo/gentoo:master commit in: net-proxy/mitmproxy/

2021-09-17 Thread John Helmert III
commit: 163eed9fc08345008f693d773048b4b3d93d92e1
Author: John Helmert III  gentoo  org>
AuthorDate: Fri Sep 17 18:17:40 2021 +
Commit: John Helmert III  gentoo  org>
CommitDate: Fri Sep 17 18:17:40 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=163eed9f

net-proxy/mitmproxy: drop 7.0.2

Bug: https://bugs.gentoo.org/813396
Signed-off-by: John Helmert III  gentoo.org>

 net-proxy/mitmproxy/Manifest   |  1 -
 net-proxy/mitmproxy/mitmproxy-7.0.2.ebuild | 69 --
 2 files changed, 70 deletions(-)

diff --git a/net-proxy/mitmproxy/Manifest b/net-proxy/mitmproxy/Manifest
index 3baedc6f444..cfbb764a156 100644
--- a/net-proxy/mitmproxy/Manifest
+++ b/net-proxy/mitmproxy/Manifest
@@ -1,2 +1 @@
-DIST mitmproxy-7.0.2.tar.gz 27310814 BLAKE2B 
294aad79f45b997d58c7c4cc869ccfedebe0e4fe72887679f942bf2eba37e2bcf5fff1922023bfd74b5ff46f7e62906a2ffaf99c4c59000f6d9d67fbcb68afdc
 SHA512 
1335c868c93adc414fa84678b0ca7989aa7cf33906e220cf62cb5c57d17b57fe0e04143179a8d8033a312521f24654de040732416c5bed77f66591a2fe708c02
 DIST mitmproxy-7.0.3.tar.gz 27311502 BLAKE2B 
a55f8a43cc052e342a0630fdd80fc713be7ce3db7b3899ccce79cfcd385345b7ebe8480c618c626d63e851d92f528a350d614ac3c7dfb85b01a555389d914ff7
 SHA512 
cffbb60421724fa28aab69b3bf1100e0aa5ab6e8933186f5706eb4eee35ef0f716616001156dac07921c73024e6ad8b98499a273575c592bb7694c0dffb728da

diff --git a/net-proxy/mitmproxy/mitmproxy-7.0.2.ebuild 
b/net-proxy/mitmproxy/mitmproxy-7.0.2.ebuild
deleted file mode 100644
index 4007f6d62a8..000
--- a/net-proxy/mitmproxy/mitmproxy-7.0.2.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{8,9} )
-PYTHON_REQ_USE="sqlite"
-inherit distutils-r1
-
-DESCRIPTION="An interactive, SSL-capable, man-in-the-middle HTTP proxy"
-HOMEPAGE="https://mitmproxy.org/;
-SRC_URI="https://github.com/mitmproxy/mitmproxy/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 ~arm64 ~x86"
-
-RDEPEND="
-   >=app-arch/brotli-1.0.0[python,${PYTHON_USEDEP}]
-   >=dev-python/asgiref-3.2.10[${PYTHON_USEDEP}]
-   >=dev-python/blinker-1.4[${PYTHON_USEDEP}]
-   >=dev-python/certifi-2015.11.20.1[${PYTHON_USEDEP}]
-   >=dev-python/click-7.0[${PYTHON_USEDEP}]
-   >=dev-python/cryptography-3.3[${PYTHON_USEDEP}]
-   >=dev-python/flask-1.1.1[${PYTHON_USEDEP}]
-   >=dev-python/hyper-h2-4.0.0[${PYTHON_USEDEP}]
-   >=dev-python/hyperframe-6.0.0[${PYTHON_USEDEP}]
-   >=dev-python/kaitaistruct-0.7[${PYTHON_USEDEP}]
-   >=dev-python/ldap3-2.8[${PYTHON_USEDEP}]
-   >=dev-python/msgpack-1.0.0[${PYTHON_USEDEP}]
-   >=dev-python/passlib-1.6.5[${PYTHON_USEDEP}]
-   >=dev-python/protobuf-python-3.14.0[${PYTHON_USEDEP}]
-   >=dev-python/publicsuffix-2.20190205[${PYTHON_USEDEP}]
-   >=dev-python/pyasn1-0.3.1[${PYTHON_USEDEP}]
-   >=dev-python/pyopenssl-20.0[${PYTHON_USEDEP}]
-   >=dev-python/pyparsing-2.4.2[${PYTHON_USEDEP}]
-   >=dev-python/pyperclip-1.6.0[${PYTHON_USEDEP}]
-   >=dev-python/ruamel-yaml-0.16[${PYTHON_USEDEP}]
-   >=dev-python/sortedcontainers-2.3.0[${PYTHON_USEDEP}]
-   >=www-servers/tornado-4.3[${PYTHON_USEDEP}]
-   >=dev-python/urwid-2.1.1[${PYTHON_USEDEP}]
-   >=dev-python/wsproto-1.0.0[${PYTHON_USEDEP}]
-   >=dev-python/zstandard-0.11.0[${PYTHON_USEDEP}]
-   dev-libs/openssl:0
-"
-
-BDEPEND="
-   test? (
-   >=dev-python/hypothesis-5.8[${PYTHON_USEDEP}]
-   >=dev-python/parver-0.1[${PYTHON_USEDEP}]
-   >=dev-python/pytest-asyncio-0.10.0[${PYTHON_USEDEP}]
-   >=dev-python/requests-2.9.1[${PYTHON_USEDEP}]
-   )
-"
-
-distutils_enable_tests pytest
-
-python_prepare_all() {
-   # loosen dependencies
-   sed -i \
-   -e '/>/s/>.*/",/g' \
-   -e '/python_requires/d' \
-   setup.py || die
-
-   # remove failing test
-   sed -i 's/test_get_version/_&/g' test/mitmproxy/test_version.py || die
-
-   distutils-r1_python_prepare_all
-}



[gentoo-commits] repo/gentoo:master commit in: net-proxy/mitmproxy/

2021-09-17 Thread Agostino Sarubbo
commit: 494cfaaf3267242e355c5a40d9f68ea261efd717
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Sep 17 09:17:59 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Sep 17 09:17:59 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=494cfaaf

net-proxy/mitmproxy: amd64 stable wrt bug #813396

Package-Manager: Portage-3.0.20, Repoman-3.0.3
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-proxy/mitmproxy/mitmproxy-7.0.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-proxy/mitmproxy/mitmproxy-7.0.3.ebuild 
b/net-proxy/mitmproxy/mitmproxy-7.0.3.ebuild
index 1fd919e9022..4007f6d62a8 100644
--- a/net-proxy/mitmproxy/mitmproxy-7.0.3.ebuild
+++ b/net-proxy/mitmproxy/mitmproxy-7.0.3.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/mitmproxy/mitmproxy/archive/v${PV}.tar.gz -> ${P}.ta
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
+KEYWORDS="amd64 ~arm64 ~x86"
 
 RDEPEND="
>=app-arch/brotli-1.0.0[python,${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: net-proxy/mitmproxy/

2021-09-16 Thread Ionen Wolkens
commit: 04de47487bd4cd8a6af9adaa0945e0fb3aebcb01
Author: Matt Smith  offtopica  uk>
AuthorDate: Sat Sep 11 08:25:32 2021 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Thu Sep 16 20:22:43 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04de4748

net-proxy/mitmproxy: Drop old

Package-Manager: Portage-3.0.23, Repoman-3.0.3
Signed-off-by: Matt Smith  offtopica.uk>
Closes: https://github.com/gentoo/gentoo/pull/22269
Signed-off-by: Ionen Wolkens  gentoo.org>

 net-proxy/mitmproxy/Manifest   |  2 -
 net-proxy/mitmproxy/mitmproxy-6.0.2.ebuild | 93 --
 net-proxy/mitmproxy/mitmproxy-7.0.0.ebuild | 70 --
 3 files changed, 165 deletions(-)

diff --git a/net-proxy/mitmproxy/Manifest b/net-proxy/mitmproxy/Manifest
index 0775b501ed2..3baedc6f444 100644
--- a/net-proxy/mitmproxy/Manifest
+++ b/net-proxy/mitmproxy/Manifest
@@ -1,4 +1,2 @@
-DIST mitmproxy-6.0.2.tar.gz 27274682 BLAKE2B 
146fc4cd376e4ff02d13bf168b26868c5a33b47b30e678fb6d97df36c4b8ec9e8b9ca6e864e56c3943b231a2f2745c1abd7c58814ddf712113c2a20704a6964f
 SHA512 
27eb5e9736891148b5ebec963a2d18de6a69b44428538d2ed1cf9a1dcdd7cbcdeeed662edb2d25521098374e2f9a29b5bb8fba8da4f77ac0d32bf7881ac70d61
-DIST mitmproxy-7.0.0.tar.gz 27308204 BLAKE2B 
bea89db0dd39a8b3bd516d2e7c2868d4c226afdc78974ce0f88c055fcb4f907e398922c725cd93d344450e3e7e107c23c63ef6a60d19bff48400f6eeb4d0af0a
 SHA512 
3836a33e5d2be09fb89987d2b0b898183dab9f17b990b98ab754d07cc5d7275786cfac0ab946e65a099ece054c7bbd65d62d01e4e4281e5f9b5f3dcdd0ac80b4
 DIST mitmproxy-7.0.2.tar.gz 27310814 BLAKE2B 
294aad79f45b997d58c7c4cc869ccfedebe0e4fe72887679f942bf2eba37e2bcf5fff1922023bfd74b5ff46f7e62906a2ffaf99c4c59000f6d9d67fbcb68afdc
 SHA512 
1335c868c93adc414fa84678b0ca7989aa7cf33906e220cf62cb5c57d17b57fe0e04143179a8d8033a312521f24654de040732416c5bed77f66591a2fe708c02
 DIST mitmproxy-7.0.3.tar.gz 27311502 BLAKE2B 
a55f8a43cc052e342a0630fdd80fc713be7ce3db7b3899ccce79cfcd385345b7ebe8480c618c626d63e851d92f528a350d614ac3c7dfb85b01a555389d914ff7
 SHA512 
cffbb60421724fa28aab69b3bf1100e0aa5ab6e8933186f5706eb4eee35ef0f716616001156dac07921c73024e6ad8b98499a273575c592bb7694c0dffb728da

diff --git a/net-proxy/mitmproxy/mitmproxy-6.0.2.ebuild 
b/net-proxy/mitmproxy/mitmproxy-6.0.2.ebuild
deleted file mode 100644
index 03adf19a050..000
--- a/net-proxy/mitmproxy/mitmproxy-6.0.2.ebuild
+++ /dev/null
@@ -1,93 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DISTUTILS_USE_SETUPTOOLS=rdepend
-PYTHON_COMPAT=( python3_{8,9} )
-PYTHON_REQ_USE="sqlite"
-inherit distutils-r1
-
-DESCRIPTION="An interactive, SSL-capable, man-in-the-middle HTTP proxy"
-HOMEPAGE="https://mitmproxy.org/;
-SRC_URI="https://github.com/mitmproxy/mitmproxy/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 ~arm64 ~x86"
-IUSE="test"
-
-RDEPEND="
-   >=app-arch/brotli-1.0.0[python,${PYTHON_USEDEP}]
-   >=dev-python/asgiref-3.2.10[${PYTHON_USEDEP}]
-   >=dev-python/blinker-1.4[${PYTHON_USEDEP}]
-   >=dev-python/certifi-2015.11.20.1[${PYTHON_USEDEP}]
-   >=dev-python/click-7.0[${PYTHON_USEDEP}]
-   >=dev-python/cryptography-3.3[${PYTHON_USEDEP}]
-   >=dev-python/flask-1.1.1[${PYTHON_USEDEP}]
-   >=dev-python/hyper-h2-4.0.0[${PYTHON_USEDEP}]
-   >=dev-python/hyperframe-6.0.0[${PYTHON_USEDEP}]
-   >=dev-python/kaitaistruct-0.7[${PYTHON_USEDEP}]
-   >=dev-python/ldap3-2.8[${PYTHON_USEDEP}]
-   >=dev-python/msgpack-1.0.0[${PYTHON_USEDEP}]
-   >=dev-python/passlib-1.6.5[${PYTHON_USEDEP}]
-   >=dev-python/protobuf-python-3.14.0[${PYTHON_USEDEP}]
-   >=dev-python/publicsuffix-2.20190205[${PYTHON_USEDEP}]
-   >=dev-python/pyasn1-0.3.1[${PYTHON_USEDEP}]
-   >=dev-python/pyopenssl-20.0[${PYTHON_USEDEP}]
-   >=dev-python/pyparsing-2.4.2[${PYTHON_USEDEP}]
-   >=dev-python/pyperclip-1.6.0[${PYTHON_USEDEP}]
-   >=dev-python/ruamel-yaml-0.16[${PYTHON_USEDEP}]
-   >=dev-python/sortedcontainers-2.3.0[${PYTHON_USEDEP}]
-   >=www-servers/tornado-4.3[${PYTHON_USEDEP}]
-   >=dev-python/urwid-2.1.1[${PYTHON_USEDEP}]
-   >=dev-python/wsproto-1.0.0[${PYTHON_USEDEP}]
-   >=dev-python/zstandard-0.11.0[${PYTHON_USEDEP}]
-   dev-libs/openssl:0
-"
-
-DEPEND="${RDEPEND}
-   test? (
-   >=dev-python/hypothesis-4.50.8[${PYTHON_USEDEP}]
-   >=dev-python/parver-0.1[${PYTHON_USEDEP}]
-   >=dev-python/pytest-3.3[${PYTHON_USEDEP}]
-   >=dev-python/pytest-asyncio-0.10.0[${PYTHON_USEDEP}]
-   >=dev-python/requests-2.9.1[${PYTHON_USEDEP}]
-   >=dev-python/zstandard-0.8.1[${PYTHON_USEDEP}]
-   )"
-
-RESTRICT="!test? ( test )"
-
-distutils_enable_tests pytest
-
-python_prepare_all() {
-   # loosen dependencies
-   sed -i \
-   -e '/>/s/>.*/",/g' \
-   -e '/python_requires/d' \
-

[gentoo-commits] repo/gentoo:master commit in: net-proxy/mitmproxy/

2021-09-16 Thread Ionen Wolkens
commit: a8916b8f61dbc5d8ab40f8366c9fdb480ec77446
Author: Matt Smith  offtopica  uk>
AuthorDate: Thu Sep 16 16:21:20 2021 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Thu Sep 16 18:43:32 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8916b8f

net-proxy/mitmproxy: Bump to 7.0.3

Bug: https://bugs.gentoo.org/813396
Package-Manager: Portage-3.0.23, Repoman-3.0.3
Signed-off-by: Matt Smith  offtopica.uk>
Closes: https://github.com/gentoo/gentoo/pull/22310
Signed-off-by: Ionen Wolkens  gentoo.org>

 net-proxy/mitmproxy/Manifest   |  1 +
 net-proxy/mitmproxy/mitmproxy-7.0.3.ebuild | 69 ++
 2 files changed, 70 insertions(+)

diff --git a/net-proxy/mitmproxy/Manifest b/net-proxy/mitmproxy/Manifest
index 02e07ade479..0775b501ed2 100644
--- a/net-proxy/mitmproxy/Manifest
+++ b/net-proxy/mitmproxy/Manifest
@@ -1,3 +1,4 @@
 DIST mitmproxy-6.0.2.tar.gz 27274682 BLAKE2B 
146fc4cd376e4ff02d13bf168b26868c5a33b47b30e678fb6d97df36c4b8ec9e8b9ca6e864e56c3943b231a2f2745c1abd7c58814ddf712113c2a20704a6964f
 SHA512 
27eb5e9736891148b5ebec963a2d18de6a69b44428538d2ed1cf9a1dcdd7cbcdeeed662edb2d25521098374e2f9a29b5bb8fba8da4f77ac0d32bf7881ac70d61
 DIST mitmproxy-7.0.0.tar.gz 27308204 BLAKE2B 
bea89db0dd39a8b3bd516d2e7c2868d4c226afdc78974ce0f88c055fcb4f907e398922c725cd93d344450e3e7e107c23c63ef6a60d19bff48400f6eeb4d0af0a
 SHA512 
3836a33e5d2be09fb89987d2b0b898183dab9f17b990b98ab754d07cc5d7275786cfac0ab946e65a099ece054c7bbd65d62d01e4e4281e5f9b5f3dcdd0ac80b4
 DIST mitmproxy-7.0.2.tar.gz 27310814 BLAKE2B 
294aad79f45b997d58c7c4cc869ccfedebe0e4fe72887679f942bf2eba37e2bcf5fff1922023bfd74b5ff46f7e62906a2ffaf99c4c59000f6d9d67fbcb68afdc
 SHA512 
1335c868c93adc414fa84678b0ca7989aa7cf33906e220cf62cb5c57d17b57fe0e04143179a8d8033a312521f24654de040732416c5bed77f66591a2fe708c02
+DIST mitmproxy-7.0.3.tar.gz 27311502 BLAKE2B 
a55f8a43cc052e342a0630fdd80fc713be7ce3db7b3899ccce79cfcd385345b7ebe8480c618c626d63e851d92f528a350d614ac3c7dfb85b01a555389d914ff7
 SHA512 
cffbb60421724fa28aab69b3bf1100e0aa5ab6e8933186f5706eb4eee35ef0f716616001156dac07921c73024e6ad8b98499a273575c592bb7694c0dffb728da

diff --git a/net-proxy/mitmproxy/mitmproxy-7.0.3.ebuild 
b/net-proxy/mitmproxy/mitmproxy-7.0.3.ebuild
new file mode 100644
index 000..1fd919e9022
--- /dev/null
+++ b/net-proxy/mitmproxy/mitmproxy-7.0.3.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8,9} )
+PYTHON_REQ_USE="sqlite"
+inherit distutils-r1
+
+DESCRIPTION="An interactive, SSL-capable, man-in-the-middle HTTP proxy"
+HOMEPAGE="https://mitmproxy.org/;
+SRC_URI="https://github.com/mitmproxy/mitmproxy/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+
+RDEPEND="
+   >=app-arch/brotli-1.0.0[python,${PYTHON_USEDEP}]
+   >=dev-python/asgiref-3.2.10[${PYTHON_USEDEP}]
+   >=dev-python/blinker-1.4[${PYTHON_USEDEP}]
+   >=dev-python/certifi-2015.11.20.1[${PYTHON_USEDEP}]
+   >=dev-python/click-7.0[${PYTHON_USEDEP}]
+   >=dev-python/cryptography-3.3[${PYTHON_USEDEP}]
+   >=dev-python/flask-1.1.1[${PYTHON_USEDEP}]
+   >=dev-python/hyper-h2-4.0.0[${PYTHON_USEDEP}]
+   >=dev-python/hyperframe-6.0.0[${PYTHON_USEDEP}]
+   >=dev-python/kaitaistruct-0.7[${PYTHON_USEDEP}]
+   >=dev-python/ldap3-2.8[${PYTHON_USEDEP}]
+   >=dev-python/msgpack-1.0.0[${PYTHON_USEDEP}]
+   >=dev-python/passlib-1.6.5[${PYTHON_USEDEP}]
+   >=dev-python/protobuf-python-3.14.0[${PYTHON_USEDEP}]
+   >=dev-python/publicsuffix-2.20190205[${PYTHON_USEDEP}]
+   >=dev-python/pyasn1-0.3.1[${PYTHON_USEDEP}]
+   >=dev-python/pyopenssl-20.0[${PYTHON_USEDEP}]
+   >=dev-python/pyparsing-2.4.2[${PYTHON_USEDEP}]
+   >=dev-python/pyperclip-1.6.0[${PYTHON_USEDEP}]
+   >=dev-python/ruamel-yaml-0.16[${PYTHON_USEDEP}]
+   >=dev-python/sortedcontainers-2.3.0[${PYTHON_USEDEP}]
+   >=www-servers/tornado-4.3[${PYTHON_USEDEP}]
+   >=dev-python/urwid-2.1.1[${PYTHON_USEDEP}]
+   >=dev-python/wsproto-1.0.0[${PYTHON_USEDEP}]
+   >=dev-python/zstandard-0.11.0[${PYTHON_USEDEP}]
+   dev-libs/openssl:0
+"
+
+BDEPEND="
+   test? (
+   >=dev-python/hypothesis-5.8[${PYTHON_USEDEP}]
+   >=dev-python/parver-0.1[${PYTHON_USEDEP}]
+   >=dev-python/pytest-asyncio-0.10.0[${PYTHON_USEDEP}]
+   >=dev-python/requests-2.9.1[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+   # loosen dependencies
+   sed -i \
+   -e '/>/s/>.*/",/g' \
+   -e '/python_requires/d' \
+   setup.py || die
+
+   # remove failing test
+   sed -i 's/test_get_version/_&/g' test/mitmproxy/test_version.py || die
+
+   distutils-r1_python_prepare_all
+}



[gentoo-commits] repo/gentoo:master commit in: net-proxy/mitmproxy/

2021-09-11 Thread Joonas Niilola
commit: 5c16b07faad3dd4ee53d8c260c8707e42d29f187
Author: Joonas Niilola  gentoo  org>
AuthorDate: Sat Sep 11 08:18:05 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sat Sep 11 08:18:05 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c16b07f

net-proxy/mitmproxy: stabilize 7.0.2 for amd64

Closes: https://bugs.gentoo.org/812515
Signed-off-by: Joonas Niilola  gentoo.org>

 net-proxy/mitmproxy/mitmproxy-7.0.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-proxy/mitmproxy/mitmproxy-7.0.2.ebuild 
b/net-proxy/mitmproxy/mitmproxy-7.0.2.ebuild
index 1fd919e9022..4007f6d62a8 100644
--- a/net-proxy/mitmproxy/mitmproxy-7.0.2.ebuild
+++ b/net-proxy/mitmproxy/mitmproxy-7.0.2.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/mitmproxy/mitmproxy/archive/v${PV}.tar.gz -> ${P}.ta
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
+KEYWORDS="amd64 ~arm64 ~x86"
 
 RDEPEND="
>=app-arch/brotli-1.0.0[python,${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: net-proxy/mitmproxy/

2021-08-18 Thread Agostino Sarubbo
commit: 964b311c6fdfa65aa170827d5743c9caedc53dfd
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Aug 19 01:25:24 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Aug 19 01:25:24 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=964b311c

net-proxy/mitmproxy: amd64 stable wrt bug #808570

Package-Manager: Portage-3.0.20, Repoman-3.0.2
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-proxy/mitmproxy/mitmproxy-7.0.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-proxy/mitmproxy/mitmproxy-7.0.0.ebuild 
b/net-proxy/mitmproxy/mitmproxy-7.0.0.ebuild
index 1476b80c35f..07d70bd2058 100644
--- a/net-proxy/mitmproxy/mitmproxy-7.0.0.ebuild
+++ b/net-proxy/mitmproxy/mitmproxy-7.0.0.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/mitmproxy/mitmproxy/archive/v${PV}.tar.gz -> ${P}.ta
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
+KEYWORDS="amd64 ~arm64 ~x86"
 
 RDEPEND="
>=app-arch/brotli-1.0.0[python,${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: net-proxy/mitmproxy/

2021-08-07 Thread Ionen Wolkens
commit: c24c1c50036bc32816b5258f50ada14cabd369dc
Author: Matt Smith  offtopica  uk>
AuthorDate: Tue Aug  3 16:13:52 2021 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Sat Aug  7 09:08:14 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c24c1c50

net-proxy/mitmproxy: Bump to 7.0.2

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Matt Smith  offtopica.uk>
Closes: https://github.com/gentoo/gentoo/pull/21867
Signed-off-by: Ionen Wolkens  gentoo.org>

 net-proxy/mitmproxy/Manifest   |  1 +
 net-proxy/mitmproxy/mitmproxy-7.0.2.ebuild | 69 ++
 2 files changed, 70 insertions(+)

diff --git a/net-proxy/mitmproxy/Manifest b/net-proxy/mitmproxy/Manifest
index 0aa6ec0da24..02e07ade479 100644
--- a/net-proxy/mitmproxy/Manifest
+++ b/net-proxy/mitmproxy/Manifest
@@ -1,2 +1,3 @@
 DIST mitmproxy-6.0.2.tar.gz 27274682 BLAKE2B 
146fc4cd376e4ff02d13bf168b26868c5a33b47b30e678fb6d97df36c4b8ec9e8b9ca6e864e56c3943b231a2f2745c1abd7c58814ddf712113c2a20704a6964f
 SHA512 
27eb5e9736891148b5ebec963a2d18de6a69b44428538d2ed1cf9a1dcdd7cbcdeeed662edb2d25521098374e2f9a29b5bb8fba8da4f77ac0d32bf7881ac70d61
 DIST mitmproxy-7.0.0.tar.gz 27308204 BLAKE2B 
bea89db0dd39a8b3bd516d2e7c2868d4c226afdc78974ce0f88c055fcb4f907e398922c725cd93d344450e3e7e107c23c63ef6a60d19bff48400f6eeb4d0af0a
 SHA512 
3836a33e5d2be09fb89987d2b0b898183dab9f17b990b98ab754d07cc5d7275786cfac0ab946e65a099ece054c7bbd65d62d01e4e4281e5f9b5f3dcdd0ac80b4
+DIST mitmproxy-7.0.2.tar.gz 27310814 BLAKE2B 
294aad79f45b997d58c7c4cc869ccfedebe0e4fe72887679f942bf2eba37e2bcf5fff1922023bfd74b5ff46f7e62906a2ffaf99c4c59000f6d9d67fbcb68afdc
 SHA512 
1335c868c93adc414fa84678b0ca7989aa7cf33906e220cf62cb5c57d17b57fe0e04143179a8d8033a312521f24654de040732416c5bed77f66591a2fe708c02

diff --git a/net-proxy/mitmproxy/mitmproxy-7.0.2.ebuild 
b/net-proxy/mitmproxy/mitmproxy-7.0.2.ebuild
new file mode 100644
index 000..1fd919e9022
--- /dev/null
+++ b/net-proxy/mitmproxy/mitmproxy-7.0.2.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8,9} )
+PYTHON_REQ_USE="sqlite"
+inherit distutils-r1
+
+DESCRIPTION="An interactive, SSL-capable, man-in-the-middle HTTP proxy"
+HOMEPAGE="https://mitmproxy.org/;
+SRC_URI="https://github.com/mitmproxy/mitmproxy/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+
+RDEPEND="
+   >=app-arch/brotli-1.0.0[python,${PYTHON_USEDEP}]
+   >=dev-python/asgiref-3.2.10[${PYTHON_USEDEP}]
+   >=dev-python/blinker-1.4[${PYTHON_USEDEP}]
+   >=dev-python/certifi-2015.11.20.1[${PYTHON_USEDEP}]
+   >=dev-python/click-7.0[${PYTHON_USEDEP}]
+   >=dev-python/cryptography-3.3[${PYTHON_USEDEP}]
+   >=dev-python/flask-1.1.1[${PYTHON_USEDEP}]
+   >=dev-python/hyper-h2-4.0.0[${PYTHON_USEDEP}]
+   >=dev-python/hyperframe-6.0.0[${PYTHON_USEDEP}]
+   >=dev-python/kaitaistruct-0.7[${PYTHON_USEDEP}]
+   >=dev-python/ldap3-2.8[${PYTHON_USEDEP}]
+   >=dev-python/msgpack-1.0.0[${PYTHON_USEDEP}]
+   >=dev-python/passlib-1.6.5[${PYTHON_USEDEP}]
+   >=dev-python/protobuf-python-3.14.0[${PYTHON_USEDEP}]
+   >=dev-python/publicsuffix-2.20190205[${PYTHON_USEDEP}]
+   >=dev-python/pyasn1-0.3.1[${PYTHON_USEDEP}]
+   >=dev-python/pyopenssl-20.0[${PYTHON_USEDEP}]
+   >=dev-python/pyparsing-2.4.2[${PYTHON_USEDEP}]
+   >=dev-python/pyperclip-1.6.0[${PYTHON_USEDEP}]
+   >=dev-python/ruamel-yaml-0.16[${PYTHON_USEDEP}]
+   >=dev-python/sortedcontainers-2.3.0[${PYTHON_USEDEP}]
+   >=www-servers/tornado-4.3[${PYTHON_USEDEP}]
+   >=dev-python/urwid-2.1.1[${PYTHON_USEDEP}]
+   >=dev-python/wsproto-1.0.0[${PYTHON_USEDEP}]
+   >=dev-python/zstandard-0.11.0[${PYTHON_USEDEP}]
+   dev-libs/openssl:0
+"
+
+BDEPEND="
+   test? (
+   >=dev-python/hypothesis-5.8[${PYTHON_USEDEP}]
+   >=dev-python/parver-0.1[${PYTHON_USEDEP}]
+   >=dev-python/pytest-asyncio-0.10.0[${PYTHON_USEDEP}]
+   >=dev-python/requests-2.9.1[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+   # loosen dependencies
+   sed -i \
+   -e '/>/s/>.*/",/g' \
+   -e '/python_requires/d' \
+   setup.py || die
+
+   # remove failing test
+   sed -i 's/test_get_version/_&/g' test/mitmproxy/test_version.py || die
+
+   distutils-r1_python_prepare_all
+}



[gentoo-commits] repo/gentoo:master commit in: net-proxy/mitmproxy/

2021-07-19 Thread Ionen Wolkens
commit: e942d806677512200f5c64f58dca6c44c1c699b7
Author: Matt Smith  offtopica  uk>
AuthorDate: Sat Jul 17 09:14:22 2021 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Mon Jul 19 10:08:45 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e942d806

net-proxy/mitmproxy: Bump to 7.0.0

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Matt Smith  offtopica.uk>
Closes: https://github.com/gentoo/gentoo/pull/21686
Signed-off-by: Ionen Wolkens  gentoo.org>

 net-proxy/mitmproxy/Manifest   |  1 +
 net-proxy/mitmproxy/mitmproxy-7.0.0.ebuild | 70 ++
 2 files changed, 71 insertions(+)

diff --git a/net-proxy/mitmproxy/Manifest b/net-proxy/mitmproxy/Manifest
index bd5c6fd1964..0aa6ec0da24 100644
--- a/net-proxy/mitmproxy/Manifest
+++ b/net-proxy/mitmproxy/Manifest
@@ -1 +1,2 @@
 DIST mitmproxy-6.0.2.tar.gz 27274682 BLAKE2B 
146fc4cd376e4ff02d13bf168b26868c5a33b47b30e678fb6d97df36c4b8ec9e8b9ca6e864e56c3943b231a2f2745c1abd7c58814ddf712113c2a20704a6964f
 SHA512 
27eb5e9736891148b5ebec963a2d18de6a69b44428538d2ed1cf9a1dcdd7cbcdeeed662edb2d25521098374e2f9a29b5bb8fba8da4f77ac0d32bf7881ac70d61
+DIST mitmproxy-7.0.0.tar.gz 27308204 BLAKE2B 
bea89db0dd39a8b3bd516d2e7c2868d4c226afdc78974ce0f88c055fcb4f907e398922c725cd93d344450e3e7e107c23c63ef6a60d19bff48400f6eeb4d0af0a
 SHA512 
3836a33e5d2be09fb89987d2b0b898183dab9f17b990b98ab754d07cc5d7275786cfac0ab946e65a099ece054c7bbd65d62d01e4e4281e5f9b5f3dcdd0ac80b4

diff --git a/net-proxy/mitmproxy/mitmproxy-7.0.0.ebuild 
b/net-proxy/mitmproxy/mitmproxy-7.0.0.ebuild
new file mode 100644
index 000..1476b80c35f
--- /dev/null
+++ b/net-proxy/mitmproxy/mitmproxy-7.0.0.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_SETUPTOOLS=rdepend
+PYTHON_COMPAT=( python3_{8,9} )
+PYTHON_REQ_USE="sqlite"
+inherit distutils-r1
+
+DESCRIPTION="An interactive, SSL-capable, man-in-the-middle HTTP proxy"
+HOMEPAGE="https://mitmproxy.org/;
+SRC_URI="https://github.com/mitmproxy/mitmproxy/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+
+RDEPEND="
+   >=app-arch/brotli-1.0.0[python,${PYTHON_USEDEP}]
+   >=dev-python/asgiref-3.2.10[${PYTHON_USEDEP}]
+   >=dev-python/blinker-1.4[${PYTHON_USEDEP}]
+   >=dev-python/certifi-2015.11.20.1[${PYTHON_USEDEP}]
+   >=dev-python/click-7.0[${PYTHON_USEDEP}]
+   >=dev-python/cryptography-3.3[${PYTHON_USEDEP}]
+   >=dev-python/flask-1.1.1[${PYTHON_USEDEP}]
+   >=dev-python/hyper-h2-4.0.0[${PYTHON_USEDEP}]
+   >=dev-python/hyperframe-6.0.0[${PYTHON_USEDEP}]
+   >=dev-python/kaitaistruct-0.7[${PYTHON_USEDEP}]
+   >=dev-python/ldap3-2.8[${PYTHON_USEDEP}]
+   >=dev-python/msgpack-1.0.0[${PYTHON_USEDEP}]
+   >=dev-python/passlib-1.6.5[${PYTHON_USEDEP}]
+   >=dev-python/protobuf-python-3.14.0[${PYTHON_USEDEP}]
+   >=dev-python/publicsuffix-2.20190205[${PYTHON_USEDEP}]
+   >=dev-python/pyasn1-0.3.1[${PYTHON_USEDEP}]
+   >=dev-python/pyopenssl-20.0[${PYTHON_USEDEP}]
+   >=dev-python/pyparsing-2.4.2[${PYTHON_USEDEP}]
+   >=dev-python/pyperclip-1.6.0[${PYTHON_USEDEP}]
+   >=dev-python/ruamel-yaml-0.16[${PYTHON_USEDEP}]
+   >=dev-python/sortedcontainers-2.3.0[${PYTHON_USEDEP}]
+   >=www-servers/tornado-4.3[${PYTHON_USEDEP}]
+   >=dev-python/urwid-2.1.1[${PYTHON_USEDEP}]
+   >=dev-python/wsproto-1.0.0[${PYTHON_USEDEP}]
+   >=dev-python/zstandard-0.11.0[${PYTHON_USEDEP}]
+   dev-libs/openssl:0
+"
+
+BDEPEND="
+   test? (
+   >=dev-python/hypothesis-5.8[${PYTHON_USEDEP}]
+   >=dev-python/parver-0.1[${PYTHON_USEDEP}]
+   >=dev-python/pytest-asyncio-0.10.0[${PYTHON_USEDEP}]
+   >=dev-python/requests-2.9.1[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+   # loosen dependencies
+   sed -i \
+   -e '/>/s/>.*/",/g' \
+   -e '/python_requires/d' \
+   setup.py || die
+
+   # remove failing test
+   sed -i 's/test_get_version/_&/g' test/mitmproxy/test_version.py || die
+
+   distutils-r1_python_prepare_all
+}



[gentoo-commits] repo/gentoo:master commit in: net-proxy/mitmproxy/

2021-05-02 Thread Mikle Kolyada
commit: 9927f76a42acf506132ba1a927157eae6a79cb63
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sun May  2 12:34:42 2021 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sun May  2 12:34:42 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9927f76a

net-proxy/mitmproxy: remove libressl support

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Mikle Kolyada  gentoo.org>

 net-proxy/mitmproxy/mitmproxy-6.0.2.ebuild | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/net-proxy/mitmproxy/mitmproxy-6.0.2.ebuild 
b/net-proxy/mitmproxy/mitmproxy-6.0.2.ebuild
index 19fef3485ee..03adf19a050 100644
--- a/net-proxy/mitmproxy/mitmproxy-6.0.2.ebuild
+++ b/net-proxy/mitmproxy/mitmproxy-6.0.2.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://github.com/mitmproxy/mitmproxy/archive/v${PV}.tar.gz -> ${P}.ta
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="amd64 ~arm64 ~x86"
-IUSE="libressl test"
+IUSE="test"
 
 RDEPEND="
>=app-arch/brotli-1.0.0[python,${PYTHON_USEDEP}]
@@ -43,8 +43,7 @@ RDEPEND="
>=dev-python/urwid-2.1.1[${PYTHON_USEDEP}]
>=dev-python/wsproto-1.0.0[${PYTHON_USEDEP}]
>=dev-python/zstandard-0.11.0[${PYTHON_USEDEP}]
-   !libressl? ( dev-libs/openssl:0 )
-   libressl? ( >=dev-libs/libressl-3.2.0:0 )
+   dev-libs/openssl:0
 "
 
 DEPEND="${RDEPEND}



[gentoo-commits] repo/gentoo:master commit in: net-proxy/mitmproxy/

2021-03-01 Thread Agostino Sarubbo
commit: ecc7910aa0b30dda21f87b679762537872323ceb
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Mar  1 09:19:57 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Mar  1 09:19:57 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ecc7910a

net-proxy/mitmproxy: amd64 stable wrt bug #769872

Package-Manager: Portage-3.0.13, Repoman-3.0.2
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-proxy/mitmproxy/mitmproxy-6.0.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-proxy/mitmproxy/mitmproxy-6.0.2.ebuild 
b/net-proxy/mitmproxy/mitmproxy-6.0.2.ebuild
index ec54ddf561d..19fef3485ee 100644
--- a/net-proxy/mitmproxy/mitmproxy-6.0.2.ebuild
+++ b/net-proxy/mitmproxy/mitmproxy-6.0.2.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/mitmproxy/mitmproxy/archive/v${PV}.tar.gz -> ${P}.ta
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
+KEYWORDS="amd64 ~arm64 ~x86"
 IUSE="libressl test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-proxy/mitmproxy/

2021-01-23 Thread Sam James
commit: 3a232d6daf762b51b3b2c1cfd3c465a41b59314b
Author: Matt Smith  offtopica  uk>
AuthorDate: Fri Jan 22 10:34:50 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jan 24 00:34:08 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a232d6d

net-proxy/mitmproxy: Drop old

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Matt Smith  offtopica.uk>
Closes: https://github.com/gentoo/gentoo/pull/19157
Signed-off-by: Sam James  gentoo.org>

 net-proxy/mitmproxy/Manifest|  4 --
 net-proxy/mitmproxy/mitmproxy-5.1.1.ebuild  | 95 -
 net-proxy/mitmproxy/mitmproxy-5.2-r1.ebuild | 92 
 net-proxy/mitmproxy/mitmproxy-5.3.0.ebuild  | 95 -
 net-proxy/mitmproxy/mitmproxy-6.0.1.ebuild  | 94 
 5 files changed, 380 deletions(-)

diff --git a/net-proxy/mitmproxy/Manifest b/net-proxy/mitmproxy/Manifest
index 1f7d185f378..bd5c6fd1964 100644
--- a/net-proxy/mitmproxy/Manifest
+++ b/net-proxy/mitmproxy/Manifest
@@ -1,5 +1 @@
-DIST mitmproxy-5.1.1.tar.gz 27223155 BLAKE2B 
38369eb07c41bde9f8e8c246ab5cc4fc6edfcd222f353624f4d2ae193f176228471aafdadd1b65238ccd808d778a69e1d140035be9116b87a75c286493747fe8
 SHA512 
ac5cd82d4d89590b57625661c493aca6a702605c612ea1acd9e0d0806067d47f60085ee68260bba2a10dc343410ae6a76ea1575287a0e312e4467a4e8485c6e1
-DIST mitmproxy-5.2.tar.gz 27251381 BLAKE2B 
d6bc5de8a3840a880664f52e011736cb640d324c6aa3846d4f2b3c2fc0d49467ab8ad3e8268a591cbe19d9f6dda5acc37fa2de705b4de1c1920b5003e10ea457
 SHA512 
6073c73b24618d6f64c4e99f199ebb6bc4157a3f83bfa7aff10a113f8dde823715e95bdf4202a1526dc0856d120858d32842b814327c3b98452b629fccb1790d
-DIST mitmproxy-5.3.0.tar.gz 27272534 BLAKE2B 
2a35824616ca0a63a9e432a110adf14423df229568636456aa9d3959fc306b9ba30d8069c78cbc7c5950ef3e44526882b028c6ed05af417ef667b07215c258c6
 SHA512 
3f52f5285869de49c7c04ef9b6c0f3ef66689eb45fb6f9e97049bf1aa0777e3e84b51f7031c1bdf105ce3f17fa4b03036d72617985b92996c6eea7566c38
-DIST mitmproxy-6.0.1.tar.gz 27272092 BLAKE2B 
ecc01d0d498eb802baabe8e361c04c0826a7c31f4d5369ee34e655ee7741beb89098a03bbd5d840f21b400a7f9679c9fabb0cbee62a02a5d52949ed196d07bd9
 SHA512 
848ced92f16863da1c41cbb33fe9fec76b837336e2f252860de80039463b1b7527caa7928124885105c25b922a1cd26c4414f75dd4f1ae950624271d7df47023
 DIST mitmproxy-6.0.2.tar.gz 27274682 BLAKE2B 
146fc4cd376e4ff02d13bf168b26868c5a33b47b30e678fb6d97df36c4b8ec9e8b9ca6e864e56c3943b231a2f2745c1abd7c58814ddf712113c2a20704a6964f
 SHA512 
27eb5e9736891148b5ebec963a2d18de6a69b44428538d2ed1cf9a1dcdd7cbcdeeed662edb2d25521098374e2f9a29b5bb8fba8da4f77ac0d32bf7881ac70d61

diff --git a/net-proxy/mitmproxy/mitmproxy-5.1.1.ebuild 
b/net-proxy/mitmproxy/mitmproxy-5.1.1.ebuild
deleted file mode 100644
index d127d4bbb61..000
--- a/net-proxy/mitmproxy/mitmproxy-5.1.1.ebuild
+++ /dev/null
@@ -1,95 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DISTUTILS_USE_SETUPTOOLS=rdepend
-PYTHON_COMPAT=( python3_7 )
-inherit distutils-r1
-
-DESCRIPTION="An interactive, SSL-capable, man-in-the-middle HTTP proxy"
-HOMEPAGE="https://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="test"
-
-RDEPEND="
-   >=dev-python/blinker-1.4[${PYTHON_USEDEP}]
-   >=dev-python/brotlipy-0.7.0[${PYTHON_USEDEP}]
-   >=dev-python/certifi-2015.11.20.1[${PYTHON_USEDEP}]
-   >=dev-python/click-6.2[${PYTHON_USEDEP}]
-   >=dev-python/cryptography-2.9[${PYTHON_USEDEP}]
-   >=dev-python/flask-1.0.4[${PYTHON_USEDEP}]
-   >=dev-python/hyper-h2-3.0.1[${PYTHON_USEDEP}]
-   >=dev-python/hyperframe-5.1.0[${PYTHON_USEDEP}]
-   >=dev-python/kaitaistruct-0.7[${PYTHON_USEDEP}]
-   >=dev-python/ldap3-2.5[${PYTHON_USEDEP}]
-   >=dev-python/passlib-1.6.5[${PYTHON_USEDEP}]
-   >=dev-python/protobuf-python-3.6.0[${PYTHON_USEDEP}]
-   >=dev-python/publicsuffix-2.20190205[${PYTHON_USEDEP}]
-   >=dev-python/pyasn1-0.3.1[${PYTHON_USEDEP}]
-   >=dev-python/pyopenssl-17.5[${PYTHON_USEDEP}]
-   >=dev-python/pyparsing-2.1.3[${PYTHON_USEDEP}]
-   >=dev-python/pyperclip-1.6.0[${PYTHON_USEDEP}]
-   >=dev-python/requests-2.9.1[${PYTHON_USEDEP}]
-   >=dev-python/ruamel-yaml-0.15[${PYTHON_USEDEP}]
-   >=dev-python/sortedcontainers-1.5.4[${PYTHON_USEDEP}]
-   >=www-servers/tornado-4.3[${PYTHON_USEDEP}]
-   >=dev-python/urwid-2.0.1[${PYTHON_USEDEP}]
-   >=dev-python/wsproto-0.11.0[${PYTHON_USEDEP}]
-"
-
-DEPEND="${RDEPEND}
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   test? (
-   >=dev-python/flask-1.0[${PYTHON_USEDEP}]
-   >=dev-python/hypothesis-4.50.8[${PYTHON_USEDEP}]
-   >=dev-python/parver-0.1[${PYTHON_USEDEP}]
-   >=dev-python/pytest-3.3[${PYTHON_USEDEP}]
-   

[gentoo-commits] repo/gentoo:master commit in: net-proxy/mitmproxy/

2021-01-23 Thread Sam James
commit: 1cd3b14db3b89fcc4a9f586bc9af9f89e2fec3a0
Author: Matt Smith  offtopica  uk>
AuthorDate: Fri Jan 22 10:33:50 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jan 24 00:34:08 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1cd3b14d

net-proxy/mitmproxy: Bump to 6.0.2

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Matt Smith  offtopica.uk>
Signed-off-by: Sam James  gentoo.org>

 net-proxy/mitmproxy/Manifest   |  1 +
 net-proxy/mitmproxy/mitmproxy-6.0.2.ebuild | 94 ++
 2 files changed, 95 insertions(+)

diff --git a/net-proxy/mitmproxy/Manifest b/net-proxy/mitmproxy/Manifest
index 19f7154e1ff..1f7d185f378 100644
--- a/net-proxy/mitmproxy/Manifest
+++ b/net-proxy/mitmproxy/Manifest
@@ -2,3 +2,4 @@ DIST mitmproxy-5.1.1.tar.gz 27223155 BLAKE2B 
38369eb07c41bde9f8e8c246ab5cc4fc6ed
 DIST mitmproxy-5.2.tar.gz 27251381 BLAKE2B 
d6bc5de8a3840a880664f52e011736cb640d324c6aa3846d4f2b3c2fc0d49467ab8ad3e8268a591cbe19d9f6dda5acc37fa2de705b4de1c1920b5003e10ea457
 SHA512 
6073c73b24618d6f64c4e99f199ebb6bc4157a3f83bfa7aff10a113f8dde823715e95bdf4202a1526dc0856d120858d32842b814327c3b98452b629fccb1790d
 DIST mitmproxy-5.3.0.tar.gz 27272534 BLAKE2B 
2a35824616ca0a63a9e432a110adf14423df229568636456aa9d3959fc306b9ba30d8069c78cbc7c5950ef3e44526882b028c6ed05af417ef667b07215c258c6
 SHA512 
3f52f5285869de49c7c04ef9b6c0f3ef66689eb45fb6f9e97049bf1aa0777e3e84b51f7031c1bdf105ce3f17fa4b03036d72617985b92996c6eea7566c38
 DIST mitmproxy-6.0.1.tar.gz 27272092 BLAKE2B 
ecc01d0d498eb802baabe8e361c04c0826a7c31f4d5369ee34e655ee7741beb89098a03bbd5d840f21b400a7f9679c9fabb0cbee62a02a5d52949ed196d07bd9
 SHA512 
848ced92f16863da1c41cbb33fe9fec76b837336e2f252860de80039463b1b7527caa7928124885105c25b922a1cd26c4414f75dd4f1ae950624271d7df47023
+DIST mitmproxy-6.0.2.tar.gz 27274682 BLAKE2B 
146fc4cd376e4ff02d13bf168b26868c5a33b47b30e678fb6d97df36c4b8ec9e8b9ca6e864e56c3943b231a2f2745c1abd7c58814ddf712113c2a20704a6964f
 SHA512 
27eb5e9736891148b5ebec963a2d18de6a69b44428538d2ed1cf9a1dcdd7cbcdeeed662edb2d25521098374e2f9a29b5bb8fba8da4f77ac0d32bf7881ac70d61

diff --git a/net-proxy/mitmproxy/mitmproxy-6.0.2.ebuild 
b/net-proxy/mitmproxy/mitmproxy-6.0.2.ebuild
new file mode 100644
index 000..ec54ddf561d
--- /dev/null
+++ b/net-proxy/mitmproxy/mitmproxy-6.0.2.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_USE_SETUPTOOLS=rdepend
+PYTHON_COMPAT=( python3_{8,9} )
+PYTHON_REQ_USE="sqlite"
+inherit distutils-r1
+
+DESCRIPTION="An interactive, SSL-capable, man-in-the-middle HTTP proxy"
+HOMEPAGE="https://mitmproxy.org/;
+SRC_URI="https://github.com/mitmproxy/mitmproxy/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="libressl test"
+
+RDEPEND="
+   >=app-arch/brotli-1.0.0[python,${PYTHON_USEDEP}]
+   >=dev-python/asgiref-3.2.10[${PYTHON_USEDEP}]
+   >=dev-python/blinker-1.4[${PYTHON_USEDEP}]
+   >=dev-python/certifi-2015.11.20.1[${PYTHON_USEDEP}]
+   >=dev-python/click-7.0[${PYTHON_USEDEP}]
+   >=dev-python/cryptography-3.3[${PYTHON_USEDEP}]
+   >=dev-python/flask-1.1.1[${PYTHON_USEDEP}]
+   >=dev-python/hyper-h2-4.0.0[${PYTHON_USEDEP}]
+   >=dev-python/hyperframe-6.0.0[${PYTHON_USEDEP}]
+   >=dev-python/kaitaistruct-0.7[${PYTHON_USEDEP}]
+   >=dev-python/ldap3-2.8[${PYTHON_USEDEP}]
+   >=dev-python/msgpack-1.0.0[${PYTHON_USEDEP}]
+   >=dev-python/passlib-1.6.5[${PYTHON_USEDEP}]
+   >=dev-python/protobuf-python-3.14.0[${PYTHON_USEDEP}]
+   >=dev-python/publicsuffix-2.20190205[${PYTHON_USEDEP}]
+   >=dev-python/pyasn1-0.3.1[${PYTHON_USEDEP}]
+   >=dev-python/pyopenssl-20.0[${PYTHON_USEDEP}]
+   >=dev-python/pyparsing-2.4.2[${PYTHON_USEDEP}]
+   >=dev-python/pyperclip-1.6.0[${PYTHON_USEDEP}]
+   >=dev-python/ruamel-yaml-0.16[${PYTHON_USEDEP}]
+   >=dev-python/sortedcontainers-2.3.0[${PYTHON_USEDEP}]
+   >=www-servers/tornado-4.3[${PYTHON_USEDEP}]
+   >=dev-python/urwid-2.1.1[${PYTHON_USEDEP}]
+   >=dev-python/wsproto-1.0.0[${PYTHON_USEDEP}]
+   >=dev-python/zstandard-0.11.0[${PYTHON_USEDEP}]
+   !libressl? ( dev-libs/openssl:0 )
+   libressl? ( >=dev-libs/libressl-3.2.0:0 )
+"
+
+DEPEND="${RDEPEND}
+   test? (
+   >=dev-python/hypothesis-4.50.8[${PYTHON_USEDEP}]
+   >=dev-python/parver-0.1[${PYTHON_USEDEP}]
+   >=dev-python/pytest-3.3[${PYTHON_USEDEP}]
+   >=dev-python/pytest-asyncio-0.10.0[${PYTHON_USEDEP}]
+   >=dev-python/requests-2.9.1[${PYTHON_USEDEP}]
+   >=dev-python/zstandard-0.8.1[${PYTHON_USEDEP}]
+   )"
+
+RESTRICT="!test? ( test )"
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+   # loosen dependencies
+   sed -i \
+   -e '/>/s/>.*/",/g' \
+   -e 

[gentoo-commits] repo/gentoo:master commit in: net-proxy/mitmproxy/

2021-01-22 Thread Sam James
commit: 36d5c2d1f904d3e7fd6e549503ac89dc78185018
Author: Sam James  gentoo  org>
AuthorDate: Fri Jan 22 23:01:43 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jan 22 23:01:43 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36d5c2d1

net-proxy/mitmproxy: Keyword 6.0.1 arm64, #762688

Signed-off-by: Sam James  gentoo.org>

 net-proxy/mitmproxy/mitmproxy-6.0.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-proxy/mitmproxy/mitmproxy-6.0.1.ebuild 
b/net-proxy/mitmproxy/mitmproxy-6.0.1.ebuild
index 363549e67bf..ec54ddf561d 100644
--- a/net-proxy/mitmproxy/mitmproxy-6.0.1.ebuild
+++ b/net-proxy/mitmproxy/mitmproxy-6.0.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/mitmproxy/mitmproxy/archive/v${PV}.tar.gz -> ${P}.ta
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~x86"
 IUSE="libressl test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-proxy/mitmproxy/

2020-12-17 Thread Joonas Niilola
commit: 6a036f6986674c11aebbb0e0f7070d9b066254e6
Author: Matt Smith  offtopica  uk>
AuthorDate: Sun Dec 13 11:54:13 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Thu Dec 17 14:12:08 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a036f69

net-proxy/mitmproxy: Bump to 6.0.1

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Matt Smith  offtopica.uk>
Closes: https://github.com/gentoo/gentoo/pull/18636
Signed-off-by: Joonas Niilola  gentoo.org>

 net-proxy/mitmproxy/Manifest   |  1 +
 net-proxy/mitmproxy/mitmproxy-6.0.1.ebuild | 94 ++
 2 files changed, 95 insertions(+)

diff --git a/net-proxy/mitmproxy/Manifest b/net-proxy/mitmproxy/Manifest
index e6a7ffdb534..19f7154e1ff 100644
--- a/net-proxy/mitmproxy/Manifest
+++ b/net-proxy/mitmproxy/Manifest
@@ -1,3 +1,4 @@
 DIST mitmproxy-5.1.1.tar.gz 27223155 BLAKE2B 
38369eb07c41bde9f8e8c246ab5cc4fc6edfcd222f353624f4d2ae193f176228471aafdadd1b65238ccd808d778a69e1d140035be9116b87a75c286493747fe8
 SHA512 
ac5cd82d4d89590b57625661c493aca6a702605c612ea1acd9e0d0806067d47f60085ee68260bba2a10dc343410ae6a76ea1575287a0e312e4467a4e8485c6e1
 DIST mitmproxy-5.2.tar.gz 27251381 BLAKE2B 
d6bc5de8a3840a880664f52e011736cb640d324c6aa3846d4f2b3c2fc0d49467ab8ad3e8268a591cbe19d9f6dda5acc37fa2de705b4de1c1920b5003e10ea457
 SHA512 
6073c73b24618d6f64c4e99f199ebb6bc4157a3f83bfa7aff10a113f8dde823715e95bdf4202a1526dc0856d120858d32842b814327c3b98452b629fccb1790d
 DIST mitmproxy-5.3.0.tar.gz 27272534 BLAKE2B 
2a35824616ca0a63a9e432a110adf14423df229568636456aa9d3959fc306b9ba30d8069c78cbc7c5950ef3e44526882b028c6ed05af417ef667b07215c258c6
 SHA512 
3f52f5285869de49c7c04ef9b6c0f3ef66689eb45fb6f9e97049bf1aa0777e3e84b51f7031c1bdf105ce3f17fa4b03036d72617985b92996c6eea7566c38
+DIST mitmproxy-6.0.1.tar.gz 27272092 BLAKE2B 
ecc01d0d498eb802baabe8e361c04c0826a7c31f4d5369ee34e655ee7741beb89098a03bbd5d840f21b400a7f9679c9fabb0cbee62a02a5d52949ed196d07bd9
 SHA512 
848ced92f16863da1c41cbb33fe9fec76b837336e2f252860de80039463b1b7527caa7928124885105c25b922a1cd26c4414f75dd4f1ae950624271d7df47023

diff --git a/net-proxy/mitmproxy/mitmproxy-6.0.1.ebuild 
b/net-proxy/mitmproxy/mitmproxy-6.0.1.ebuild
new file mode 100644
index 000..363549e67bf
--- /dev/null
+++ b/net-proxy/mitmproxy/mitmproxy-6.0.1.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_USE_SETUPTOOLS=rdepend
+PYTHON_COMPAT=( python3_{8,9} )
+PYTHON_REQ_USE="sqlite"
+inherit distutils-r1
+
+DESCRIPTION="An interactive, SSL-capable, man-in-the-middle HTTP proxy"
+HOMEPAGE="https://mitmproxy.org/;
+SRC_URI="https://github.com/mitmproxy/mitmproxy/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="libressl test"
+
+RDEPEND="
+   >=app-arch/brotli-1.0.0[python,${PYTHON_USEDEP}]
+   >=dev-python/asgiref-3.2.10[${PYTHON_USEDEP}]
+   >=dev-python/blinker-1.4[${PYTHON_USEDEP}]
+   >=dev-python/certifi-2015.11.20.1[${PYTHON_USEDEP}]
+   >=dev-python/click-7.0[${PYTHON_USEDEP}]
+   >=dev-python/cryptography-3.3[${PYTHON_USEDEP}]
+   >=dev-python/flask-1.1.1[${PYTHON_USEDEP}]
+   >=dev-python/hyper-h2-4.0.0[${PYTHON_USEDEP}]
+   >=dev-python/hyperframe-6.0.0[${PYTHON_USEDEP}]
+   >=dev-python/kaitaistruct-0.7[${PYTHON_USEDEP}]
+   >=dev-python/ldap3-2.8[${PYTHON_USEDEP}]
+   >=dev-python/msgpack-1.0.0[${PYTHON_USEDEP}]
+   >=dev-python/passlib-1.6.5[${PYTHON_USEDEP}]
+   >=dev-python/protobuf-python-3.14.0[${PYTHON_USEDEP}]
+   >=dev-python/publicsuffix-2.20190205[${PYTHON_USEDEP}]
+   >=dev-python/pyasn1-0.3.1[${PYTHON_USEDEP}]
+   >=dev-python/pyopenssl-20.0[${PYTHON_USEDEP}]
+   >=dev-python/pyparsing-2.4.2[${PYTHON_USEDEP}]
+   >=dev-python/pyperclip-1.6.0[${PYTHON_USEDEP}]
+   >=dev-python/ruamel-yaml-0.16[${PYTHON_USEDEP}]
+   >=dev-python/sortedcontainers-2.3.0[${PYTHON_USEDEP}]
+   >=www-servers/tornado-4.3[${PYTHON_USEDEP}]
+   >=dev-python/urwid-2.1.1[${PYTHON_USEDEP}]
+   >=dev-python/wsproto-1.0.0[${PYTHON_USEDEP}]
+   >=dev-python/zstandard-0.11.0[${PYTHON_USEDEP}]
+   !libressl? ( dev-libs/openssl:0 )
+   libressl? ( >=dev-libs/libressl-3.2.0:0 )
+"
+
+DEPEND="${RDEPEND}
+   test? (
+   >=dev-python/hypothesis-4.50.8[${PYTHON_USEDEP}]
+   >=dev-python/parver-0.1[${PYTHON_USEDEP}]
+   >=dev-python/pytest-3.3[${PYTHON_USEDEP}]
+   >=dev-python/pytest-asyncio-0.10.0[${PYTHON_USEDEP}]
+   >=dev-python/requests-2.9.1[${PYTHON_USEDEP}]
+   >=dev-python/zstandard-0.8.1[${PYTHON_USEDEP}]
+   )"
+
+RESTRICT="!test? ( test )"
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+   # loosen dependencies
+   sed -i \
+   -e '/>/s/>.*/",/g' \
+   -e '/python_requires/d' \
+   

[gentoo-commits] repo/gentoo:master commit in: net-proxy/mitmproxy/

2020-11-08 Thread Sam James
commit: f1c46319317d32c42fb7b7636f01cd03505a1121
Author: Matt Smith  offtopica  uk>
AuthorDate: Sun Nov  8 10:13:34 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Nov  8 12:02:33 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1c46319

net-proxy/mitmproxy: Require at least LibreSSL 3.2.0

Closes: https://bugs.gentoo.org/753290
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Matt Smith  offtopica.uk>
Closes: https://github.com/gentoo/gentoo/pull/18180
Signed-off-by: Sam James  gentoo.org>

 net-proxy/mitmproxy/mitmproxy-5.3.0.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/net-proxy/mitmproxy/mitmproxy-5.3.0.ebuild 
b/net-proxy/mitmproxy/mitmproxy-5.3.0.ebuild
index 4b2fbaf868f..2809a55fe10 100644
--- a/net-proxy/mitmproxy/mitmproxy-5.3.0.ebuild
+++ b/net-proxy/mitmproxy/mitmproxy-5.3.0.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://github.com/mitmproxy/mitmproxy/archive/v${PV}.tar.gz -> ${P}.ta
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="test"
+IUSE="libressl test"
 
 RDEPEND="
>=app-arch/brotli-1.0.0[python,${PYTHON_USEDEP}]
@@ -43,6 +43,8 @@ RDEPEND="
>=dev-python/urwid-2.1.1[${PYTHON_USEDEP}]
>=dev-python/wsproto-0.14.0[${PYTHON_USEDEP}]
>=dev-python/zstandard-0.11.0[${PYTHON_USEDEP}]
+   !libressl? ( dev-libs/openssl:0 )
+   libressl? ( >=dev-libs/libressl-3.2.0:0 )
 "
 
 DEPEND="${RDEPEND}



[gentoo-commits] repo/gentoo:master commit in: net-proxy/mitmproxy/

2020-11-05 Thread Joonas Niilola
commit: d95bff3e80263a6351519fa03cd7d4d0f1536a2e
Author: Matt Smith  offtopica  uk>
AuthorDate: Sun Nov  1 19:44:31 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Thu Nov  5 12:32:03 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d95bff3e

net-proxy/mitmproxy: Bump to 5.3.0

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Matt Smith  offtopica.uk>
Signed-off-by: Joonas Niilola  gentoo.org>

 net-proxy/mitmproxy/Manifest   |  1 +
 net-proxy/mitmproxy/mitmproxy-5.3.0.ebuild | 93 ++
 2 files changed, 94 insertions(+)

diff --git a/net-proxy/mitmproxy/Manifest b/net-proxy/mitmproxy/Manifest
index 9d905274683..e6a7ffdb534 100644
--- a/net-proxy/mitmproxy/Manifest
+++ b/net-proxy/mitmproxy/Manifest
@@ -1,2 +1,3 @@
 DIST mitmproxy-5.1.1.tar.gz 27223155 BLAKE2B 
38369eb07c41bde9f8e8c246ab5cc4fc6edfcd222f353624f4d2ae193f176228471aafdadd1b65238ccd808d778a69e1d140035be9116b87a75c286493747fe8
 SHA512 
ac5cd82d4d89590b57625661c493aca6a702605c612ea1acd9e0d0806067d47f60085ee68260bba2a10dc343410ae6a76ea1575287a0e312e4467a4e8485c6e1
 DIST mitmproxy-5.2.tar.gz 27251381 BLAKE2B 
d6bc5de8a3840a880664f52e011736cb640d324c6aa3846d4f2b3c2fc0d49467ab8ad3e8268a591cbe19d9f6dda5acc37fa2de705b4de1c1920b5003e10ea457
 SHA512 
6073c73b24618d6f64c4e99f199ebb6bc4157a3f83bfa7aff10a113f8dde823715e95bdf4202a1526dc0856d120858d32842b814327c3b98452b629fccb1790d
+DIST mitmproxy-5.3.0.tar.gz 27272534 BLAKE2B 
2a35824616ca0a63a9e432a110adf14423df229568636456aa9d3959fc306b9ba30d8069c78cbc7c5950ef3e44526882b028c6ed05af417ef667b07215c258c6
 SHA512 
3f52f5285869de49c7c04ef9b6c0f3ef66689eb45fb6f9e97049bf1aa0777e3e84b51f7031c1bdf105ce3f17fa4b03036d72617985b92996c6eea7566c38

diff --git a/net-proxy/mitmproxy/mitmproxy-5.3.0.ebuild 
b/net-proxy/mitmproxy/mitmproxy-5.3.0.ebuild
new file mode 100644
index 000..4b2fbaf868f
--- /dev/null
+++ b/net-proxy/mitmproxy/mitmproxy-5.3.0.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_USE_SETUPTOOLS=rdepend
+PYTHON_COMPAT=( python3_{7,8,9} )
+PYTHON_REQ_USE="sqlite"
+inherit distutils-r1
+
+DESCRIPTION="An interactive, SSL-capable, man-in-the-middle HTTP proxy"
+HOMEPAGE="https://mitmproxy.org/;
+SRC_URI="https://github.com/mitmproxy/mitmproxy/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND="
+   >=app-arch/brotli-1.0.0[python,${PYTHON_USEDEP}]
+   >=dev-python/asgiref-3.2.10[${PYTHON_USEDEP}]
+   >=dev-python/blinker-1.4[${PYTHON_USEDEP}]
+   >=dev-python/certifi-2015.11.20.1[${PYTHON_USEDEP}]
+   >=dev-python/click-6.2[${PYTHON_USEDEP}]
+   >=dev-python/cryptography-2.9[${PYTHON_USEDEP}]
+   >=dev-python/flask-1.0.4[${PYTHON_USEDEP}]
+   >=dev-python/hyper-h2-3.0.1[${PYTHON_USEDEP}]
+   >=dev-python/hyperframe-5.1.0[${PYTHON_USEDEP}]
+   >=dev-python/kaitaistruct-0.7[${PYTHON_USEDEP}]
+   >=dev-python/ldap3-2.8[${PYTHON_USEDEP}]
+   >=dev-python/msgpack-1.0.0[${PYTHON_USEDEP}]
+   >=dev-python/passlib-1.6.5[${PYTHON_USEDEP}]
+   >=dev-python/protobuf-python-3.6.0[${PYTHON_USEDEP}]
+   >=dev-python/publicsuffix-2.20190205[${PYTHON_USEDEP}]
+   >=dev-python/pyasn1-0.3.1[${PYTHON_USEDEP}]
+   >=dev-python/pyopenssl-19.1[${PYTHON_USEDEP}]
+   >=dev-python/pyparsing-2.4.2[${PYTHON_USEDEP}]
+   >=dev-python/pyperclip-1.6.0[${PYTHON_USEDEP}]
+   >=dev-python/ruamel-yaml-0.16[${PYTHON_USEDEP}]
+   >=dev-python/sortedcontainers-2.1.1[${PYTHON_USEDEP}]
+   >=www-servers/tornado-4.3[${PYTHON_USEDEP}]
+   >=dev-python/urwid-2.1.1[${PYTHON_USEDEP}]
+   >=dev-python/wsproto-0.14.0[${PYTHON_USEDEP}]
+   >=dev-python/zstandard-0.11.0[${PYTHON_USEDEP}]
+"
+
+DEPEND="${RDEPEND}
+   test? (
+   >=dev-python/flask-1.0[${PYTHON_USEDEP}]
+   >=dev-python/hypothesis-4.50.8[${PYTHON_USEDEP}]
+   >=dev-python/parver-0.1[${PYTHON_USEDEP}]
+   >=dev-python/pytest-3.3[${PYTHON_USEDEP}]
+   >=dev-python/pytest-asyncio-0.10.0[${PYTHON_USEDEP}]
+   >=dev-python/requests-2.9.1[${PYTHON_USEDEP}]
+   >=dev-python/zstandard-0.8.1[${PYTHON_USEDEP}]
+   )"
+
+RESTRICT="!test? ( test )"
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+   # loosen dependencies
+   sed -i \
+   -e '/>/s/>.*/",/g' \
+   -e '/urwid/s/==2\.0\.1,!=2\.1\.0//' \
+   setup.py || die
+
+   # remove failing test
+   sed -i 's/test_get_version/_&/g' test/mitmproxy/test_version.py || die
+
+   # https://github.com/mitmproxy/mitmproxy/issues/4136
+   # https://bugs.gentoo.org/740336
+   rm test/mitmproxy/addons/test_termlog.py || die
+
+   # requires asynctest
+   rm test/mitmproxy/addons/test_readfile.py || die
+
+   # 

[gentoo-commits] repo/gentoo:master commit in: net-proxy/mitmproxy/

2020-10-09 Thread Joonas Niilola
commit: edb3c1fe0880846c1f6121a4bbaeac06e555093e
Author: Joonas Niilola  gentoo  org>
AuthorDate: Fri Oct  9 07:05:08 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Fri Oct  9 07:25:15 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=edb3c1fe

net-proxy/mitmproxy: revbump 5.2 due to sqlite req

Signed-off-by: Joonas Niilola  gentoo.org>

 net-proxy/mitmproxy/{mitmproxy-5.2.ebuild => mitmproxy-5.2-r1.ebuild} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/net-proxy/mitmproxy/mitmproxy-5.2.ebuild 
b/net-proxy/mitmproxy/mitmproxy-5.2-r1.ebuild
similarity index 100%
rename from net-proxy/mitmproxy/mitmproxy-5.2.ebuild
rename to net-proxy/mitmproxy/mitmproxy-5.2-r1.ebuild



[gentoo-commits] repo/gentoo:master commit in: net-proxy/mitmproxy/

2020-10-09 Thread Joonas Niilola
commit: c2d603ae4bdd5f9b34e2d65062c813921c344053
Author: Matt Smith  offtopica  uk>
AuthorDate: Thu Oct  8 11:26:43 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Fri Oct  9 07:25:15 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2d603ae

net-proxy/mitmproxy: Require dev-lang/python[sqlite]

Closes: https://bugs.gentoo.org/747172
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Matt Smith  offtopica.uk>
Closes: https://github.com/gentoo/gentoo/pull/17411
Signed-off-by: Joonas Niilola  gentoo.org>

 net-proxy/mitmproxy/mitmproxy-5.2.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/net-proxy/mitmproxy/mitmproxy-5.2.ebuild 
b/net-proxy/mitmproxy/mitmproxy-5.2.ebuild
index 3a6b3954f6d..67c9373c73f 100644
--- a/net-proxy/mitmproxy/mitmproxy-5.2.ebuild
+++ b/net-proxy/mitmproxy/mitmproxy-5.2.ebuild
@@ -5,6 +5,7 @@ EAPI=7
 
 DISTUTILS_USE_SETUPTOOLS=rdepend
 PYTHON_COMPAT=( python3_{7,8} )
+PYTHON_REQ_USE="sqlite"
 inherit distutils-r1
 
 DESCRIPTION="An interactive, SSL-capable, man-in-the-middle HTTP proxy"



[gentoo-commits] repo/gentoo:master commit in: net-proxy/mitmproxy/

2020-10-09 Thread Joonas Niilola
commit: 8b91c42f9c41aa14d2510d548f8e1d28f66cd3b4
Author: Matt Smith  offtopica  uk>
AuthorDate: Fri Sep  4 12:03:50 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Fri Oct  9 07:25:14 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b91c42f

net-proxy/mitmproxy: Disable flaky tests

Issue: https://github.com/mitmproxy/mitmproxy/issues/4136
Closes: https://bugs.gentoo.org/740336
Package-Manager: Portage-3.0.5, Repoman-3.0.1
Signed-off-by: Matt Smith  offtopica.uk>
Signed-off-by: Joonas Niilola  gentoo.org>

 net-proxy/mitmproxy/mitmproxy-5.2.ebuild | 16 
 1 file changed, 16 insertions(+)

diff --git a/net-proxy/mitmproxy/mitmproxy-5.2.ebuild 
b/net-proxy/mitmproxy/mitmproxy-5.2.ebuild
index d5ba12b4c7c..3a6b3954f6d 100644
--- a/net-proxy/mitmproxy/mitmproxy-5.2.ebuild
+++ b/net-proxy/mitmproxy/mitmproxy-5.2.ebuild
@@ -68,8 +68,24 @@ python_prepare_all() {
# remove failing test
sed -i 's/test_get_version/_&/g' test/mitmproxy/test_version.py || die
 
+   # https://github.com/mitmproxy/mitmproxy/issues/4136
+   # https://bugs.gentoo.org/740336
+   rm test/mitmproxy/addons/test_termlog.py || die
+
# requires asynctest
rm test/mitmproxy/addons/test_readfile.py || die
 
+   # Passes with OpenSSL 1.1.1g, fails with OpenSSL 1.1.1h
+   # https://github.com/gentoo/gentoo/pull/17411#discussion_r497270699
+   sed \
+   -e 's/test_mode_none_should_pass_without_sni/_&/g' \
+   -e 's/test_mode_strict_w_pemfile_should_pass/_&/g' \
+   -e 's/test_mode_strict_w_confdir_should_pass/_&/g' \
+   -i test/mitmproxy/net/test_tcp.py || die
+   sed \
+   -e 's/test_verification_w_confdir/_&/g' \
+   -e 's/test_verification_w_pemfile/_&/g' \
+   -i test/mitmproxy/proxy/test_server.py || die
+
distutils-r1_python_prepare_all
 }



[gentoo-commits] repo/gentoo:master commit in: net-proxy/mitmproxy/

2020-09-02 Thread Sam James
commit: 24cccd74ffbf043555b7b8ade7614d16bab8c85d
Author: Matt Smith  offtopica  uk>
AuthorDate: Sat Aug 29 13:26:25 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Sep  2 22:43:36 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24cccd74

net-proxy/mitmproxy: Update metadata.xml

Add myself and the proxy-maintainer project as maintainers, and also
add a description and the GitHub upstream.

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Matt Smith  offtopica.uk>
Signed-off-by: Sam James  gentoo.org>

 net-proxy/mitmproxy/metadata.xml | 22 +-
 1 file changed, 21 insertions(+), 1 deletion(-)

diff --git a/net-proxy/mitmproxy/metadata.xml b/net-proxy/mitmproxy/metadata.xml
index c7003e858b4..1d76cc4073a 100644
--- a/net-proxy/mitmproxy/metadata.xml
+++ b/net-proxy/mitmproxy/metadata.xml
@@ -1,8 +1,28 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-   
+   
+   m...@offtopica.uk
+   Matt Smith
+   
+   
+   proxy-ma...@gentoo.org
+   Proxy Maintainers
+   
+   
+   mitmproxy is your swiss-army knife for debugging,
+   testing, privacy measurements, and penetration
+   testing. It can be used to intercept, inspect, modify
+   and replay web traffic such as HTTP/1, HTTP/2,
+   WebSockets, or any other SSL/TLS-protected
+   protocols. You can prettify and decode a variety of
+   message types ranging from HTML to Protobuf, intercept
+   specific messages on-the-fly, modify them before they
+   reach their destination, and replay them to a client
+   or server later on.
+   

+   mitmproxy/mitmproxy
mitmproxy

 



[gentoo-commits] repo/gentoo:master commit in: net-proxy/mitmproxy/

2020-09-02 Thread Sam James
commit: 77f20cf7081e509811951ab7cd29c894f1784e4f
Author: Matt Smith  offtopica  uk>
AuthorDate: Sat Aug 29 14:37:32 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Sep  2 22:43:38 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77f20cf7

net-proxy/mitmproxy: Bump to version 5.2.0

* Add Python 3.8 to PYTHON_COMPAT.
* Correct the license; it changed from GPLv3 to MIT in 2013.
* Enable more tests.
* Remove unnecessary test phase and setup tools rdep.
* Use app-arch/brotli[python] instead of dev-python/brotlipy.

Closes: https://bugs.gentoo.org/718458
Closes: https://bugs.gentoo.org/727294
Closes: https://bugs.gentoo.org/739494
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Matt Smith  offtopica.uk>
Closes: https://github.com/gentoo/gentoo/pull/17315
Signed-off-by: Sam James  gentoo.org>

 net-proxy/mitmproxy/Manifest |  1 +
 net-proxy/mitmproxy/mitmproxy-5.2.ebuild | 75 
 2 files changed, 76 insertions(+)

diff --git a/net-proxy/mitmproxy/Manifest b/net-proxy/mitmproxy/Manifest
index caa1bf24f98..9d905274683 100644
--- a/net-proxy/mitmproxy/Manifest
+++ b/net-proxy/mitmproxy/Manifest
@@ -1 +1,2 @@
 DIST mitmproxy-5.1.1.tar.gz 27223155 BLAKE2B 
38369eb07c41bde9f8e8c246ab5cc4fc6edfcd222f353624f4d2ae193f176228471aafdadd1b65238ccd808d778a69e1d140035be9116b87a75c286493747fe8
 SHA512 
ac5cd82d4d89590b57625661c493aca6a702605c612ea1acd9e0d0806067d47f60085ee68260bba2a10dc343410ae6a76ea1575287a0e312e4467a4e8485c6e1
+DIST mitmproxy-5.2.tar.gz 27251381 BLAKE2B 
d6bc5de8a3840a880664f52e011736cb640d324c6aa3846d4f2b3c2fc0d49467ab8ad3e8268a591cbe19d9f6dda5acc37fa2de705b4de1c1920b5003e10ea457
 SHA512 
6073c73b24618d6f64c4e99f199ebb6bc4157a3f83bfa7aff10a113f8dde823715e95bdf4202a1526dc0856d120858d32842b814327c3b98452b629fccb1790d

diff --git a/net-proxy/mitmproxy/mitmproxy-5.2.ebuild 
b/net-proxy/mitmproxy/mitmproxy-5.2.ebuild
new file mode 100644
index 000..d5ba12b4c7c
--- /dev/null
+++ b/net-proxy/mitmproxy/mitmproxy-5.2.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_USE_SETUPTOOLS=rdepend
+PYTHON_COMPAT=( python3_{7,8} )
+inherit distutils-r1
+
+DESCRIPTION="An interactive, SSL-capable, man-in-the-middle HTTP proxy"
+HOMEPAGE="https://mitmproxy.org/;
+SRC_URI="https://github.com/mitmproxy/mitmproxy/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND="
+   >=app-arch/brotli-1.0.0[python,${PYTHON_USEDEP}]
+   >=dev-python/blinker-1.4[${PYTHON_USEDEP}]
+   >=dev-python/certifi-2015.11.20.1[${PYTHON_USEDEP}]
+   >=dev-python/click-6.2[${PYTHON_USEDEP}]
+   >=dev-python/cryptography-2.9[${PYTHON_USEDEP}]
+   >=dev-python/flask-1.0.4[${PYTHON_USEDEP}]
+   >=dev-python/hyper-h2-3.0.1[${PYTHON_USEDEP}]
+   >=dev-python/hyperframe-5.1.0[${PYTHON_USEDEP}]
+   >=dev-python/kaitaistruct-0.7[${PYTHON_USEDEP}]
+   >=dev-python/ldap3-2.5[${PYTHON_USEDEP}]
+   >=dev-python/passlib-1.6.5[${PYTHON_USEDEP}]
+   >=dev-python/protobuf-python-3.6.0[${PYTHON_USEDEP}]
+   >=dev-python/publicsuffix-2.20190205[${PYTHON_USEDEP}]
+   >=dev-python/pyasn1-0.3.1[${PYTHON_USEDEP}]
+   >=dev-python/pyopenssl-17.5[${PYTHON_USEDEP}]
+   >=dev-python/pyparsing-2.1.3[${PYTHON_USEDEP}]
+   >=dev-python/pyperclip-1.6.0[${PYTHON_USEDEP}]
+   >=dev-python/requests-2.9.1[${PYTHON_USEDEP}]
+   >=dev-python/ruamel-yaml-0.15[${PYTHON_USEDEP}]
+   >=dev-python/sortedcontainers-1.5.4[${PYTHON_USEDEP}]
+   >=www-servers/tornado-4.3[${PYTHON_USEDEP}]
+   >=dev-python/urwid-2.0.1[${PYTHON_USEDEP}]
+   >=dev-python/wsproto-0.11.0[${PYTHON_USEDEP}]
+   >=dev-python/zstandard-0.11.0[${PYTHON_USEDEP}]
+"
+
+DEPEND="${RDEPEND}
+   test? (
+   >=dev-python/flask-1.0[${PYTHON_USEDEP}]
+   >=dev-python/hypothesis-4.50.8[${PYTHON_USEDEP}]
+   >=dev-python/parver-0.1[${PYTHON_USEDEP}]
+   >=dev-python/pytest-3.3[${PYTHON_USEDEP}]
+   >=dev-python/pytest-asyncio-0.10.0[${PYTHON_USEDEP}]
+   >=dev-python/requests-2.9.1[${PYTHON_USEDEP}]
+   >=dev-python/zstandard-0.8.1[${PYTHON_USEDEP}]
+   )"
+
+RESTRICT="!test? ( test )"
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+   # loosen dependencies
+   sed -i \
+   -e '/>/s/>.*/",/g' \
+   -e '/urwid/s/==2\.0\.1,!=2\.1\.0//' \
+   setup.py || die
+
+   # remove failing test
+   sed -i 's/test_get_version/_&/g' test/mitmproxy/test_version.py || die
+
+   # requires asynctest
+   rm test/mitmproxy/addons/test_readfile.py || die
+
+   distutils-r1_python_prepare_all
+}



[gentoo-commits] repo/gentoo:master commit in: net-proxy/mitmproxy/

2020-08-01 Thread Aaron Bauman
commit: d56fbbd20b5b0bb7961c298223fe49e75d06b68a
Author: Aaron Bauman  gentoo  org>
AuthorDate: Sun Aug  2 04:05:43 2020 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Sun Aug  2 04:05:43 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d56fbbd2

net-proxy/mitmproxy: drop py3.6 compat

Signed-off-by: Aaron Bauman  gentoo.org>

 net-proxy/mitmproxy/mitmproxy-5.1.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-proxy/mitmproxy/mitmproxy-5.1.1.ebuild 
b/net-proxy/mitmproxy/mitmproxy-5.1.1.ebuild
index 1e3fcc5ed4b..d127d4bbb61 100644
--- a/net-proxy/mitmproxy/mitmproxy-5.1.1.ebuild
+++ b/net-proxy/mitmproxy/mitmproxy-5.1.1.ebuild
@@ -4,7 +4,7 @@
 EAPI=7
 
 DISTUTILS_USE_SETUPTOOLS=rdepend
-PYTHON_COMPAT=( python3_{6,7} )
+PYTHON_COMPAT=( python3_7 )
 inherit distutils-r1
 
 DESCRIPTION="An interactive, SSL-capable, man-in-the-middle HTTP proxy"



[gentoo-commits] repo/gentoo:master commit in: net-proxy/mitmproxy/

2020-06-20 Thread Aaron Bauman
commit: ea1bca05f2c20d0b20139d2cc217b80b2f535ce1
Author: Aaron Bauman  gentoo  org>
AuthorDate: Sat Jun 20 17:41:14 2020 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Sat Jun 20 17:42:19 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea1bca05

Revert "net-proxy/mitmproxy: drop last-rited pkg"

This reverts commit cafca86e0ff9ae35a166ce78bf6fb71973f43da6.

* package was bumped to work with py3.7

Signed-off-by: Aaron Bauman  gentoo.org>

 net-proxy/mitmproxy/Manifest   |  2 +
 net-proxy/mitmproxy/metadata.xml   |  8 +++
 net-proxy/mitmproxy/mitmproxy-4.0.4.ebuild | 85 ++
 net-proxy/mitmproxy/mitmproxy-5.1.1.ebuild | 95 ++
 4 files changed, 190 insertions(+)

diff --git a/net-proxy/mitmproxy/Manifest b/net-proxy/mitmproxy/Manifest
new file mode 100644
index 000..992813c1a41
--- /dev/null
+++ b/net-proxy/mitmproxy/Manifest
@@ -0,0 +1,2 @@
+DIST mitmproxy-4.0.4.tar.gz 27131713 BLAKE2B 
2748b0f3b66e1f5840aae792a1b4cd8ef8efa3673fa24bc0c3e15474b36d68c0f6b2203cf629b6444545b8c6223752232b2ce8526290fe5d74916946e8917a03
 SHA512 
e08ea8b1c75a95b822c463625509037bbc8a979161cacaa1f0185f98df8d6d7e5400925365dbbe70d18751251b1005824f739a8cd035c0389f7b4aea562adfb3
+DIST mitmproxy-5.1.1.tar.gz 27223155 BLAKE2B 
38369eb07c41bde9f8e8c246ab5cc4fc6edfcd222f353624f4d2ae193f176228471aafdadd1b65238ccd808d778a69e1d140035be9116b87a75c286493747fe8
 SHA512 
ac5cd82d4d89590b57625661c493aca6a702605c612ea1acd9e0d0806067d47f60085ee68260bba2a10dc343410ae6a76ea1575287a0e312e4467a4e8485c6e1

diff --git a/net-proxy/mitmproxy/metadata.xml b/net-proxy/mitmproxy/metadata.xml
new file mode 100644
index 000..c7003e858b4
--- /dev/null
+++ b/net-proxy/mitmproxy/metadata.xml
@@ -0,0 +1,8 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   
+   mitmproxy
+   
+

diff --git a/net-proxy/mitmproxy/mitmproxy-4.0.4.ebuild 
b/net-proxy/mitmproxy/mitmproxy-4.0.4.ebuild
new file mode 100644
index 000..34ecccf7049
--- /dev/null
+++ b/net-proxy/mitmproxy/mitmproxy-4.0.4.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_6 )
+inherit distutils-r1
+
+DESCRIPTION="An interactive, SSL-capable, man-in-the-middle HTTP proxy"
+HOMEPAGE="https://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="test"
+
+RDEPEND="
+   >=dev-python/blinker-1.4[${PYTHON_USEDEP}]
+   >=dev-python/brotlipy-0.7.0[${PYTHON_USEDEP}]
+   >=dev-python/certifi-2015.11.20.1[${PYTHON_USEDEP}]
+   >=dev-python/click-6.2[${PYTHON_USEDEP}]
+   >=dev-python/cryptography-2.1.4[${PYTHON_USEDEP}]
+   >=dev-python/hyper-h2-3.0.1[${PYTHON_USEDEP}]
+   >=dev-python/hyperframe-5.1.0[${PYTHON_USEDEP}]
+   >=dev-python/kaitaistruct-0.7[${PYTHON_USEDEP}]
+   >=dev-python/ldap3-2.5[${PYTHON_USEDEP}]
+   >=dev-python/passlib-1.6.5[${PYTHON_USEDEP}]
+   >=dev-python/protobuf-python-3.6.0[${PYTHON_USEDEP}]
+   >=dev-python/pyasn1-0.3.1[${PYTHON_USEDEP}]
+   >=dev-python/pyopenssl-17.5[${PYTHON_USEDEP}]
+   >=dev-python/pyparsing-2.1.3[${PYTHON_USEDEP}]
+   >=dev-python/pyperclip-1.6.0[${PYTHON_USEDEP}]
+   >=dev-python/requests-2.9.1[${PYTHON_USEDEP}]
+   >=dev-python/ruamel-yaml-0.15[${PYTHON_USEDEP}]
+   >=dev-python/sortedcontainers-1.5.4[${PYTHON_USEDEP}]
+   >=www-servers/tornado-4.3[${PYTHON_USEDEP}]
+   >=dev-python/urwid-2.0.1[${PYTHON_USEDEP}]
+   >=dev-python/wsproto-0.11.0[${PYTHON_USEDEP}]
+"
+
+DEPEND="${RDEPEND}
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   test? (
+   >=dev-python/flask-1.0[${PYTHON_USEDEP}]
+   >=dev-python/parver-0.1[${PYTHON_USEDEP}]
+   >=dev-python/pytest-3.3[${PYTHON_USEDEP}]
+   >=dev-python/requests-2.9.1[${PYTHON_USEDEP}]
+   )"
+
+RESTRICT="!test? ( test )"
+
+python_prepare_all() {
+   # loosen dependencies
+   sed -i '/>/s/>.*/",/g' setup.py || die
+
+   # remove failing tests
+   sed -e 's/test_iframe_injector/_&/g' \
+   -i test/examples/test_examples.py || die
+
+   sed -e 's/test_find_unclaimed_URLs/_&/g' \
+   -i test/examples/test_xss_scanner.py || die
+
+   rm test/mitmproxy/addons/test_readfile.py || die
+
+   sed \
+   -e 's/test_mode_none_should_pass_without_sni/_&/g' \
+   -e 's/test_mode_strict_w_pemfile_should_pass/_&/g' \
+   -e 's/test_mode_strict_w_confdir_should_pass/_&/g' \
+   -i test/mitmproxy/net/test_tcp.py || die
+
+   sed \
+   -e 's/test_verification_w_confdir/_&/g' \
+   -e 's/test_verification_w_pemfile/_&/g' \
+   -i test/mitmproxy/proxy/test_server.py || die
+
+   # 

[gentoo-commits] repo/gentoo:master commit in: net-proxy/mitmproxy/

2020-06-20 Thread Aaron Bauman
commit: 18ab3fea749348a71414c7934ba6dc63b380ca60
Author: Aaron Bauman  gentoo  org>
AuthorDate: Sat Jun 20 17:41:45 2020 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Sat Jun 20 17:42:19 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18ab3fea

net-proxy/mitmproxy: drop py3.6 only version

Signed-off-by: Aaron Bauman  gentoo.org>

 net-proxy/mitmproxy/Manifest   |  1 -
 net-proxy/mitmproxy/mitmproxy-4.0.4.ebuild | 85 --
 2 files changed, 86 deletions(-)

diff --git a/net-proxy/mitmproxy/Manifest b/net-proxy/mitmproxy/Manifest
index 992813c1a41..caa1bf24f98 100644
--- a/net-proxy/mitmproxy/Manifest
+++ b/net-proxy/mitmproxy/Manifest
@@ -1,2 +1 @@
-DIST mitmproxy-4.0.4.tar.gz 27131713 BLAKE2B 
2748b0f3b66e1f5840aae792a1b4cd8ef8efa3673fa24bc0c3e15474b36d68c0f6b2203cf629b6444545b8c6223752232b2ce8526290fe5d74916946e8917a03
 SHA512 
e08ea8b1c75a95b822c463625509037bbc8a979161cacaa1f0185f98df8d6d7e5400925365dbbe70d18751251b1005824f739a8cd035c0389f7b4aea562adfb3
 DIST mitmproxy-5.1.1.tar.gz 27223155 BLAKE2B 
38369eb07c41bde9f8e8c246ab5cc4fc6edfcd222f353624f4d2ae193f176228471aafdadd1b65238ccd808d778a69e1d140035be9116b87a75c286493747fe8
 SHA512 
ac5cd82d4d89590b57625661c493aca6a702605c612ea1acd9e0d0806067d47f60085ee68260bba2a10dc343410ae6a76ea1575287a0e312e4467a4e8485c6e1

diff --git a/net-proxy/mitmproxy/mitmproxy-4.0.4.ebuild 
b/net-proxy/mitmproxy/mitmproxy-4.0.4.ebuild
deleted file mode 100644
index 34ecccf7049..000
--- a/net-proxy/mitmproxy/mitmproxy-4.0.4.ebuild
+++ /dev/null
@@ -1,85 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_6 )
-inherit distutils-r1
-
-DESCRIPTION="An interactive, SSL-capable, man-in-the-middle HTTP proxy"
-HOMEPAGE="https://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="test"
-
-RDEPEND="
-   >=dev-python/blinker-1.4[${PYTHON_USEDEP}]
-   >=dev-python/brotlipy-0.7.0[${PYTHON_USEDEP}]
-   >=dev-python/certifi-2015.11.20.1[${PYTHON_USEDEP}]
-   >=dev-python/click-6.2[${PYTHON_USEDEP}]
-   >=dev-python/cryptography-2.1.4[${PYTHON_USEDEP}]
-   >=dev-python/hyper-h2-3.0.1[${PYTHON_USEDEP}]
-   >=dev-python/hyperframe-5.1.0[${PYTHON_USEDEP}]
-   >=dev-python/kaitaistruct-0.7[${PYTHON_USEDEP}]
-   >=dev-python/ldap3-2.5[${PYTHON_USEDEP}]
-   >=dev-python/passlib-1.6.5[${PYTHON_USEDEP}]
-   >=dev-python/protobuf-python-3.6.0[${PYTHON_USEDEP}]
-   >=dev-python/pyasn1-0.3.1[${PYTHON_USEDEP}]
-   >=dev-python/pyopenssl-17.5[${PYTHON_USEDEP}]
-   >=dev-python/pyparsing-2.1.3[${PYTHON_USEDEP}]
-   >=dev-python/pyperclip-1.6.0[${PYTHON_USEDEP}]
-   >=dev-python/requests-2.9.1[${PYTHON_USEDEP}]
-   >=dev-python/ruamel-yaml-0.15[${PYTHON_USEDEP}]
-   >=dev-python/sortedcontainers-1.5.4[${PYTHON_USEDEP}]
-   >=www-servers/tornado-4.3[${PYTHON_USEDEP}]
-   >=dev-python/urwid-2.0.1[${PYTHON_USEDEP}]
-   >=dev-python/wsproto-0.11.0[${PYTHON_USEDEP}]
-"
-
-DEPEND="${RDEPEND}
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   test? (
-   >=dev-python/flask-1.0[${PYTHON_USEDEP}]
-   >=dev-python/parver-0.1[${PYTHON_USEDEP}]
-   >=dev-python/pytest-3.3[${PYTHON_USEDEP}]
-   >=dev-python/requests-2.9.1[${PYTHON_USEDEP}]
-   )"
-
-RESTRICT="!test? ( test )"
-
-python_prepare_all() {
-   # loosen dependencies
-   sed -i '/>/s/>.*/",/g' setup.py || die
-
-   # remove failing tests
-   sed -e 's/test_iframe_injector/_&/g' \
-   -i test/examples/test_examples.py || die
-
-   sed -e 's/test_find_unclaimed_URLs/_&/g' \
-   -i test/examples/test_xss_scanner.py || die
-
-   rm test/mitmproxy/addons/test_readfile.py || die
-
-   sed \
-   -e 's/test_mode_none_should_pass_without_sni/_&/g' \
-   -e 's/test_mode_strict_w_pemfile_should_pass/_&/g' \
-   -e 's/test_mode_strict_w_confdir_should_pass/_&/g' \
-   -i test/mitmproxy/net/test_tcp.py || die
-
-   sed \
-   -e 's/test_verification_w_confdir/_&/g' \
-   -e 's/test_verification_w_pemfile/_&/g' \
-   -i test/mitmproxy/proxy/test_server.py || die
-
-   # needs pytest-asyncio
-   rm test/mitmproxy/tools/test_main.py || die
-
-   distutils-r1_python_prepare_all
-}
-
-python_test() {
-   pytest -vv || die
-}



[gentoo-commits] repo/gentoo:master commit in: net-proxy/mitmproxy/

2020-06-04 Thread Joonas Niilola
commit: 450414ec5c12be4b58c6487d4e679381c7905c99
Author: Alexander Barker  1stleg  com>
AuthorDate: Thu Jun  4 07:52:52 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Thu Jun  4 07:56:04 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=450414ec

net-proxy/mitmproxy: Version Bump to 5.1.1

Closes: https://bugs.gentoo.org/708442
Bug: https://bugs.gentoo.org/718458

Signed-off-by: Alex Barker  1stleg.com>
Signed-off-by: Joonas Niilola  gentoo.org>

 net-proxy/mitmproxy/Manifest   |  1 +
 net-proxy/mitmproxy/mitmproxy-5.1.1.ebuild | 95 ++
 2 files changed, 96 insertions(+)

diff --git a/net-proxy/mitmproxy/Manifest b/net-proxy/mitmproxy/Manifest
index 6ff5004dcc4..992813c1a41 100644
--- a/net-proxy/mitmproxy/Manifest
+++ b/net-proxy/mitmproxy/Manifest
@@ -1 +1,2 @@
 DIST mitmproxy-4.0.4.tar.gz 27131713 BLAKE2B 
2748b0f3b66e1f5840aae792a1b4cd8ef8efa3673fa24bc0c3e15474b36d68c0f6b2203cf629b6444545b8c6223752232b2ce8526290fe5d74916946e8917a03
 SHA512 
e08ea8b1c75a95b822c463625509037bbc8a979161cacaa1f0185f98df8d6d7e5400925365dbbe70d18751251b1005824f739a8cd035c0389f7b4aea562adfb3
+DIST mitmproxy-5.1.1.tar.gz 27223155 BLAKE2B 
38369eb07c41bde9f8e8c246ab5cc4fc6edfcd222f353624f4d2ae193f176228471aafdadd1b65238ccd808d778a69e1d140035be9116b87a75c286493747fe8
 SHA512 
ac5cd82d4d89590b57625661c493aca6a702605c612ea1acd9e0d0806067d47f60085ee68260bba2a10dc343410ae6a76ea1575287a0e312e4467a4e8485c6e1

diff --git a/net-proxy/mitmproxy/mitmproxy-5.1.1.ebuild 
b/net-proxy/mitmproxy/mitmproxy-5.1.1.ebuild
new file mode 100644
index 000..1e3fcc5ed4b
--- /dev/null
+++ b/net-proxy/mitmproxy/mitmproxy-5.1.1.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_USE_SETUPTOOLS=rdepend
+PYTHON_COMPAT=( python3_{6,7} )
+inherit distutils-r1
+
+DESCRIPTION="An interactive, SSL-capable, man-in-the-middle HTTP proxy"
+HOMEPAGE="https://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="test"
+
+RDEPEND="
+   >=dev-python/blinker-1.4[${PYTHON_USEDEP}]
+   >=dev-python/brotlipy-0.7.0[${PYTHON_USEDEP}]
+   >=dev-python/certifi-2015.11.20.1[${PYTHON_USEDEP}]
+   >=dev-python/click-6.2[${PYTHON_USEDEP}]
+   >=dev-python/cryptography-2.9[${PYTHON_USEDEP}]
+   >=dev-python/flask-1.0.4[${PYTHON_USEDEP}]
+   >=dev-python/hyper-h2-3.0.1[${PYTHON_USEDEP}]
+   >=dev-python/hyperframe-5.1.0[${PYTHON_USEDEP}]
+   >=dev-python/kaitaistruct-0.7[${PYTHON_USEDEP}]
+   >=dev-python/ldap3-2.5[${PYTHON_USEDEP}]
+   >=dev-python/passlib-1.6.5[${PYTHON_USEDEP}]
+   >=dev-python/protobuf-python-3.6.0[${PYTHON_USEDEP}]
+   >=dev-python/publicsuffix-2.20190205[${PYTHON_USEDEP}]
+   >=dev-python/pyasn1-0.3.1[${PYTHON_USEDEP}]
+   >=dev-python/pyopenssl-17.5[${PYTHON_USEDEP}]
+   >=dev-python/pyparsing-2.1.3[${PYTHON_USEDEP}]
+   >=dev-python/pyperclip-1.6.0[${PYTHON_USEDEP}]
+   >=dev-python/requests-2.9.1[${PYTHON_USEDEP}]
+   >=dev-python/ruamel-yaml-0.15[${PYTHON_USEDEP}]
+   >=dev-python/sortedcontainers-1.5.4[${PYTHON_USEDEP}]
+   >=www-servers/tornado-4.3[${PYTHON_USEDEP}]
+   >=dev-python/urwid-2.0.1[${PYTHON_USEDEP}]
+   >=dev-python/wsproto-0.11.0[${PYTHON_USEDEP}]
+"
+
+DEPEND="${RDEPEND}
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   test? (
+   >=dev-python/flask-1.0[${PYTHON_USEDEP}]
+   >=dev-python/hypothesis-4.50.8[${PYTHON_USEDEP}]
+   >=dev-python/parver-0.1[${PYTHON_USEDEP}]
+   >=dev-python/pytest-3.3[${PYTHON_USEDEP}]
+   >=dev-python/requests-2.9.1[${PYTHON_USEDEP}]
+   >=dev-python/zstandard-0.8.1[${PYTHON_USEDEP}]
+   )"
+
+RESTRICT="!test? ( test )"
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+   # loosen dependencies
+   sed -i '/>/s/>.*/",/g' setup.py || die
+
+   # fix brotli dependency
+   sed -i 's/Brotli/brotlipy/g' setup.py || die
+
+   # remove failing tests
+   sed -e 's/test_iframe_injector/_&/g' \
+   -i test/examples/test_examples.py || die
+
+   sed -e 's/test_find_unclaimed_URLs/_&/g' \
+   -i test/examples/test_xss_scanner.py || die
+
+   rm test/mitmproxy/addons/test_readfile.py || die
+
+   sed \
+   -e 's/test_mode_none_should_pass_without_sni/_&/g' \
+   -e 's/test_mode_strict_w_pemfile_should_pass/_&/g' \
+   -e 's/test_mode_strict_w_confdir_should_pass/_&/g' \
+   -i test/mitmproxy/net/test_tcp.py || die
+
+   sed \
+   -e 's/test_verification_w_confdir/_&/g' \
+   -e 's/test_verification_w_pemfile/_&/g' \
+   -i test/mitmproxy/proxy/test_server.py || die
+
+   # needs 

[gentoo-commits] repo/gentoo:master commit in: net-proxy/mitmproxy/

2019-11-17 Thread Tim Harder
commit: 62ce2353908288d862c0158dd791b9e75945cadc
Author: Tim Harder  gentoo  org>
AuthorDate: Sun Nov 17 22:25:56 2019 +
Commit: Tim Harder  gentoo  org>
CommitDate: Sun Nov 17 22:32:06 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62ce2353

net-proxy/mitmproxy: drop myself as a maintainer

Signed-off-by: Tim Harder  gentoo.org>

 net-proxy/mitmproxy/metadata.xml | 5 +
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/net-proxy/mitmproxy/metadata.xml b/net-proxy/mitmproxy/metadata.xml
index 01809bf53a6..c7003e858b4 100644
--- a/net-proxy/mitmproxy/metadata.xml
+++ b/net-proxy/mitmproxy/metadata.xml
@@ -1,10 +1,7 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-   
-   radher...@gentoo.org
-   Tim Harder
-   
+   

mitmproxy




[gentoo-commits] repo/gentoo:master commit in: net-proxy/mitmproxy/

2019-11-17 Thread Tim Harder
commit: a2ba871c470903b5a5f59193200538e836b3efbc
Author: Tim Harder  gentoo  org>
AuthorDate: Sun Nov 17 22:31:49 2019 +
Commit: Tim Harder  gentoo  org>
CommitDate: Sun Nov 17 22:32:06 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2ba871c

net-proxy/mitmproxy: add missing conditional test restrict

Signed-off-by: Tim Harder  gentoo.org>

 net-proxy/mitmproxy/mitmproxy-4.0.4.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/net-proxy/mitmproxy/mitmproxy-4.0.4.ebuild 
b/net-proxy/mitmproxy/mitmproxy-4.0.4.ebuild
index eae990245b3..34ecccf7049 100644
--- a/net-proxy/mitmproxy/mitmproxy-4.0.4.ebuild
+++ b/net-proxy/mitmproxy/mitmproxy-4.0.4.ebuild
@@ -48,6 +48,8 @@ DEPEND="${RDEPEND}
>=dev-python/requests-2.9.1[${PYTHON_USEDEP}]
)"
 
+RESTRICT="!test? ( test )"
+
 python_prepare_all() {
# loosen dependencies
sed -i '/>/s/>.*/",/g' setup.py || die



[gentoo-commits] repo/gentoo:master commit in: net-proxy/mitmproxy/

2019-01-31 Thread Tim Harder
commit: c231639327feb4e0be483e0f4ee57fa9bbf6f1f3
Author: Tim Harder  gentoo  org>
AuthorDate: Thu Jan 31 09:11:02 2019 +
Commit: Tim Harder  gentoo  org>
CommitDate: Thu Jan 31 09:12:35 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2316393

net-proxy/mitmproxy: keyword ~x86

Signed-off-by: Tim Harder  gentoo.org>

 net-proxy/mitmproxy/mitmproxy-4.0.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-proxy/mitmproxy/mitmproxy-4.0.4.ebuild 
b/net-proxy/mitmproxy/mitmproxy-4.0.4.ebuild
index dd3a3a0d808..eae990245b3 100644
--- a/net-proxy/mitmproxy/mitmproxy-4.0.4.ebuild
+++ b/net-proxy/mitmproxy/mitmproxy-4.0.4.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/mitmproxy/mitmproxy/archive/v${PV}.tar.gz -> ${P}.ta
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~x86"
 IUSE="test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-proxy/mitmproxy/files/, net-proxy/mitmproxy/

2019-01-31 Thread Tim Harder
commit: ea3db4e6cf9b4c2d288a9930cb3c39844ecb5af9
Author: Tim Harder  gentoo  org>
AuthorDate: Thu Jan 31 09:01:08 2019 +
Commit: Tim Harder  gentoo  org>
CommitDate: Thu Jan 31 09:12:33 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea3db4e6

net-proxy/mitmproxy: remove old

Signed-off-by: Tim Harder  gentoo.org>

 net-proxy/mitmproxy/Manifest   |  3 --
 .../mitmproxy-0.10-jsbeautifier-imports.patch  | 44 -
 net-proxy/mitmproxy/mitmproxy-0.10.1.ebuild| 51 
 net-proxy/mitmproxy/mitmproxy-0.11.1.ebuild| 55 --
 net-proxy/mitmproxy/mitmproxy-0.11.3.ebuild| 54 -
 5 files changed, 207 deletions(-)

diff --git a/net-proxy/mitmproxy/Manifest b/net-proxy/mitmproxy/Manifest
index 6de72da0f04..6ff5004dcc4 100644
--- a/net-proxy/mitmproxy/Manifest
+++ b/net-proxy/mitmproxy/Manifest
@@ -1,4 +1 @@
-DIST mitmproxy-0.10.1.tar.gz 3426109 BLAKE2B 
0e0822310d8b97041e6f25cb760297fb83a8544c24b0419d8215a7a65874a1c6763c6095c2e80b89231dc1de2a946471d6436713c092a1b95e7cb441f0617112
 SHA512 
2bef02f07942177044afa24749c4e8e2ba1aae5ee33e2cbffbecc557a09351865b70dc92b9acfd285716a82c84026a3eb93f889176fd288c1e8d67a415a5c79a
-DIST mitmproxy-0.11.1.tar.gz 6253324 BLAKE2B 
a3d3e06834a545138574246887c1ab5dab90d933b3995a613dabee2f6c55a436dfcb2220ded90ef91f5238d6bfcb10b2a1f64dcf801baa93598d6a8c13fadd1b
 SHA512 
f265441825b22e2a7ec3c8f2f3152d123fbd6ac463fd4de0e973e24b2ab9feaf28689d3c995bb361ff06a88a6d88536b642944463573117640b1c096b79f20b1
-DIST mitmproxy-0.11.3.tar.gz 6172130 BLAKE2B 
9001882db499e1e4a6ec082fef661a3369a36a218f3f19c08fc75d403b29b6aff22512c159a25250894e5419069ef662b691272eb5a7fbd23e2fb3e49d269adf
 SHA512 
81184b3034b78d51368b4066adcc8337fc59332c80ce085c854610f70cd96531612520c1b751135e26093265c5475c8fef5fcb0908b77b5a18a5c605c0c94934
 DIST mitmproxy-4.0.4.tar.gz 27131713 BLAKE2B 
2748b0f3b66e1f5840aae792a1b4cd8ef8efa3673fa24bc0c3e15474b36d68c0f6b2203cf629b6444545b8c6223752232b2ce8526290fe5d74916946e8917a03
 SHA512 
e08ea8b1c75a95b822c463625509037bbc8a979161cacaa1f0185f98df8d6d7e5400925365dbbe70d18751251b1005824f739a8cd035c0389f7b4aea562adfb3

diff --git 
a/net-proxy/mitmproxy/files/mitmproxy-0.10-jsbeautifier-imports.patch 
b/net-proxy/mitmproxy/files/mitmproxy-0.10-jsbeautifier-imports.patch
deleted file mode 100644
index bd6f65aa920..000
--- a/net-proxy/mitmproxy/files/mitmproxy-0.10-jsbeautifier-imports.patch
+++ /dev/null
@@ -1,44 +0,0 @@
 mitmproxy-0.10/libmproxy/contrib/jsbeautifier/__init__.py
-+++ mitmproxy-0.10/libmproxy/contrib/jsbeautifier/__init__.py
-@@ -246,7 +246,7 @@
- return sweet_code
- 
- def unpack(self, source, evalcode=False):
--import jsbeautifier.unpackers as unpackers
-+from ..jsbeautifier import unpackers
- try:
- return unpackers.run(source, evalcode)
- except unpackers.UnpackingError as error:
 mitmproxy-0.10/libmproxy/contrib/jsbeautifier/unpackers/__init__.py
-+++ mitmproxy-0.10/libmproxy/contrib/jsbeautifier/unpackers/__init__.py
-@@ -7,7 +7,7 @@
- 
- import pkgutil
- import re
--from jsbeautifier.unpackers import evalbased
-+from ...jsbeautifier.unpackers import evalbased
- 
- # NOTE: AT THE MOMENT, IT IS DEACTIVATED FOR YOUR SECURITY: it runs js!
- BLACKLIST = ['jsbeautifier.unpackers.evalbased']
 mitmproxy-0.10/libmproxy/contrib/jsbeautifier/unpackers/myobfuscate.py
-+++ mitmproxy-0.10/libmproxy/contrib/jsbeautifier/unpackers/myobfuscate.py
-@@ -40,7 +40,7 @@
- except ImportError:
- from urllib.parse import unquote
- 
--from jsbeautifier.unpackers import UnpackingError
-+from ...jsbeautifier.unpackers import UnpackingError
- 
- PRIORITY = 1
- 
 mitmproxy-0.10/libmproxy/contrib/jsbeautifier/unpackers/packer.py
-+++ mitmproxy-0.10/libmproxy/contrib/jsbeautifier/unpackers/packer.py
-@@ -14,7 +14,7 @@
- 
- import re
- import string
--from jsbeautifier.unpackers import UnpackingError
-+from ...jsbeautifier.unpackers import UnpackingError
- 
- PRIORITY = 1
- 

diff --git a/net-proxy/mitmproxy/mitmproxy-0.10.1.ebuild 
b/net-proxy/mitmproxy/mitmproxy-0.10.1.ebuild
deleted file mode 100644
index 4dc54075e1b..000
--- a/net-proxy/mitmproxy/mitmproxy-0.10.1.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-PYTHON_COMPAT=( python2_7 )
-
-inherit distutils-r1 versionator
-
-DESCRIPTION="An interactive, SSL-capable, man-in-the-middle HTTP proxy"
-HOMEPAGE="http://mitmproxy.org/;
-SRC_URI="http://mitmproxy.org/download/${P}.tar.gz;
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="doc examples test"
-
-RDEPEND=">=dev-python/pillow-2.3.0[${PYTHON_USEDEP}]
-   dev-python/flask[${PYTHON_USEDEP}]
-   >=dev-python/lxml-2.3[${PYTHON_USEDEP}]
-   =dev-python/netlib-$(get_version_component_range 1-2)*[${PYTHON_USEDEP}]
-   

[gentoo-commits] repo/gentoo:master commit in: net-proxy/mitmproxy/

2019-01-18 Thread Thomas Deutschmann
commit: de4b8158e13405964ee4891fa3056c51f655b0cc
Author: Tomas Mozes  gmail  com>
AuthorDate: Fri Jan 11 07:20:35 2019 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Sat Jan 19 03:21:32 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de4b8158

net-proxy/mitmproxy: bump to 4.0.4

Closes: https://bugs.gentoo.org/572170
Package-Manager: Portage-2.3.54, Repoman-2.3.12
Signed-off-by: Tomáš Mózes  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/10801
Signed-off-by: Thomas Deutschmann  gentoo.org>

 net-proxy/mitmproxy/Manifest   |  1 +
 net-proxy/mitmproxy/mitmproxy-4.0.4.ebuild | 83 ++
 2 files changed, 84 insertions(+)

diff --git a/net-proxy/mitmproxy/Manifest b/net-proxy/mitmproxy/Manifest
index 5e6f593164d..6de72da0f04 100644
--- a/net-proxy/mitmproxy/Manifest
+++ b/net-proxy/mitmproxy/Manifest
@@ -1,3 +1,4 @@
 DIST mitmproxy-0.10.1.tar.gz 3426109 BLAKE2B 
0e0822310d8b97041e6f25cb760297fb83a8544c24b0419d8215a7a65874a1c6763c6095c2e80b89231dc1de2a946471d6436713c092a1b95e7cb441f0617112
 SHA512 
2bef02f07942177044afa24749c4e8e2ba1aae5ee33e2cbffbecc557a09351865b70dc92b9acfd285716a82c84026a3eb93f889176fd288c1e8d67a415a5c79a
 DIST mitmproxy-0.11.1.tar.gz 6253324 BLAKE2B 
a3d3e06834a545138574246887c1ab5dab90d933b3995a613dabee2f6c55a436dfcb2220ded90ef91f5238d6bfcb10b2a1f64dcf801baa93598d6a8c13fadd1b
 SHA512 
f265441825b22e2a7ec3c8f2f3152d123fbd6ac463fd4de0e973e24b2ab9feaf28689d3c995bb361ff06a88a6d88536b642944463573117640b1c096b79f20b1
 DIST mitmproxy-0.11.3.tar.gz 6172130 BLAKE2B 
9001882db499e1e4a6ec082fef661a3369a36a218f3f19c08fc75d403b29b6aff22512c159a25250894e5419069ef662b691272eb5a7fbd23e2fb3e49d269adf
 SHA512 
81184b3034b78d51368b4066adcc8337fc59332c80ce085c854610f70cd96531612520c1b751135e26093265c5475c8fef5fcb0908b77b5a18a5c605c0c94934
+DIST mitmproxy-4.0.4.tar.gz 27131713 BLAKE2B 
2748b0f3b66e1f5840aae792a1b4cd8ef8efa3673fa24bc0c3e15474b36d68c0f6b2203cf629b6444545b8c6223752232b2ce8526290fe5d74916946e8917a03
 SHA512 
e08ea8b1c75a95b822c463625509037bbc8a979161cacaa1f0185f98df8d6d7e5400925365dbbe70d18751251b1005824f739a8cd035c0389f7b4aea562adfb3

diff --git a/net-proxy/mitmproxy/mitmproxy-4.0.4.ebuild 
b/net-proxy/mitmproxy/mitmproxy-4.0.4.ebuild
new file mode 100644
index 000..dd3a3a0d808
--- /dev/null
+++ b/net-proxy/mitmproxy/mitmproxy-4.0.4.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_6 )
+inherit distutils-r1
+
+DESCRIPTION="An interactive, SSL-capable, man-in-the-middle HTTP proxy"
+HOMEPAGE="https://mitmproxy.org/;
+SRC_URI="https://github.com/mitmproxy/mitmproxy/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+
+RDEPEND="
+   >=dev-python/blinker-1.4[${PYTHON_USEDEP}]
+   >=dev-python/brotlipy-0.7.0[${PYTHON_USEDEP}]
+   >=dev-python/certifi-2015.11.20.1[${PYTHON_USEDEP}]
+   >=dev-python/click-6.2[${PYTHON_USEDEP}]
+   >=dev-python/cryptography-2.1.4[${PYTHON_USEDEP}]
+   >=dev-python/hyper-h2-3.0.1[${PYTHON_USEDEP}]
+   >=dev-python/hyperframe-5.1.0[${PYTHON_USEDEP}]
+   >=dev-python/kaitaistruct-0.7[${PYTHON_USEDEP}]
+   >=dev-python/ldap3-2.5[${PYTHON_USEDEP}]
+   >=dev-python/passlib-1.6.5[${PYTHON_USEDEP}]
+   >=dev-python/protobuf-python-3.6.0[${PYTHON_USEDEP}]
+   >=dev-python/pyasn1-0.3.1[${PYTHON_USEDEP}]
+   >=dev-python/pyopenssl-17.5[${PYTHON_USEDEP}]
+   >=dev-python/pyparsing-2.1.3[${PYTHON_USEDEP}]
+   >=dev-python/pyperclip-1.6.0[${PYTHON_USEDEP}]
+   >=dev-python/requests-2.9.1[${PYTHON_USEDEP}]
+   >=dev-python/ruamel-yaml-0.15[${PYTHON_USEDEP}]
+   >=dev-python/sortedcontainers-1.5.4[${PYTHON_USEDEP}]
+   >=www-servers/tornado-4.3[${PYTHON_USEDEP}]
+   >=dev-python/urwid-2.0.1[${PYTHON_USEDEP}]
+   >=dev-python/wsproto-0.11.0[${PYTHON_USEDEP}]
+"
+
+DEPEND="${RDEPEND}
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   test? (
+   >=dev-python/flask-1.0[${PYTHON_USEDEP}]
+   >=dev-python/parver-0.1[${PYTHON_USEDEP}]
+   >=dev-python/pytest-3.3[${PYTHON_USEDEP}]
+   >=dev-python/requests-2.9.1[${PYTHON_USEDEP}]
+   )"
+
+python_prepare_all() {
+   # loosen dependencies
+   sed -i '/>/s/>.*/",/g' setup.py || die
+
+   # remove failing tests
+   sed -e 's/test_iframe_injector/_&/g' \
+   -i test/examples/test_examples.py || die
+
+   sed -e 's/test_find_unclaimed_URLs/_&/g' \
+   -i test/examples/test_xss_scanner.py || die
+
+   rm test/mitmproxy/addons/test_readfile.py || die
+
+   sed \
+   -e 's/test_mode_none_should_pass_without_sni/_&/g' \
+   -e 's/test_mode_strict_w_pemfile_should_pass/_&/g' \
+   -e 's/test_mode_strict_w_confdir_should_pass/_&/g' \
+   -i