aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHung-Yi Chen <gaod@hychen.org>2021-09-14 17:14:17 +0000
committerLi-Wen Hsu <lwhsu@FreeBSD.org>2021-09-14 17:19:36 +0000
commit2a8ff889d69e464b6e7f991a6b8039242dd38e18 (patch)
tree525b20df44f040933476f124945671deb005274a
parent2304277bc72937e783187d11b0e3c4868a484ebb (diff)
downloadports-2a8ff889d69e464b6e7f991a6b8039242dd38e18.tar.gz
ports-2a8ff889d69e464b6e7f991a6b8039242dd38e18.zip
www/mitmproxy: Update to 7.0.2
PR: 258500
-rw-r--r--www/mitmproxy/Makefile51
-rw-r--r--www/mitmproxy/distinfo6
-rw-r--r--www/mitmproxy/files/patch-setup.py11
3 files changed, 29 insertions, 39 deletions
diff --git a/www/mitmproxy/Makefile b/www/mitmproxy/Makefile
index 1ee0450186b9..03563bfc3b6a 100644
--- a/www/mitmproxy/Makefile
+++ b/www/mitmproxy/Makefile
@@ -1,7 +1,7 @@
# Created by: Hung-Yi Chen <gaod@hychen.org>
PORTNAME= mitmproxy
-PORTVERSION= 6.0.2
+PORTVERSION= 7.0.2
DISTVERSIONPREFIX= v
CATEGORIES= www python
@@ -11,31 +11,32 @@ COMMENT= SSL-capable man-in-the-middle proxy
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}asgiref>=3.2.10<3.4:www/py-asgiref@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}blinker>=1.4<1.5:devel/py-blinker@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}brotli>=1.0<1.1:archivers/py-brotli@${PY_FLAVOR} \
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}asgiref>=3.2.10:www/py-asgiref@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}blinker>=1.4:devel/py-blinker@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}brotli>=1.0:archivers/py-brotli@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}certifi>=2019.9.11:security/py-certifi@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}click>=7.0<8:devel/py-click@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}cryptography>=3.3<3.4:security/py-cryptography@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}Flask>=1.1.1<1.2:www/py-flask@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}h2>=4.0<5:www/py-h2@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}hyperframe>=6.0<7:www/py-hyperframe@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}kaitaistruct>=0.7<0.10:devel/py-kaitaistruct@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}ldap3>=2.8<2.9:net/py-ldap3@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}msgpack>=1.0.0<1.1.0:devel/py-msgpack@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}passlib>=1.6.5<1.8:security/py-passlib@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}protobuf>=3.14,1<3.15,1:devel/py-protobuf@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}pyasn1>=0.3.1<0.5:devel/py-pyasn1@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}openssl>=20.0<20.1:security/py-openssl@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}pyparsing>=2.4.2<2.5:devel/py-pyparsing@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}pyperclip>=1.6.0<1.9:devel/py-pyperclip@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}ruamel.yaml>=0.16<0.17:devel/py-ruamel.yaml@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}sortedcontainers>=2.3<2.4:devel/py-sortedcontainers@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}tornado>=4.3<7:www/py-tornado@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}urwid>=2.1.1<2.2:devel/py-urwid@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}wsproto>=1.0.0<1.1.0:net/py-wsproto@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}publicsuffix2>=2.20190812<3:dns/py-publicsuffix2@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}zstandard>=0.11<0.16:archivers/py-zstandard@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}click>=7.0:devel/py-click@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}cryptography>=3.3:security/py-cryptography@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}Flask>=1.1.1:www/py-flask@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}h11>=0.11:net/py-h11@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}h2>=4.0:www/py-h2@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}hyperframe>=6.0:www/py-hyperframe@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}kaitaistruct>=0.7:devel/py-kaitaistruct@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}ldap3>=2.8:net/py-ldap3@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}markupsafe>=2.0.0:textproc/py-markupsafe@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}msgpack>=1.0.0:devel/py-msgpack@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}passlib>=1.6.5:security/py-passlib@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}protobuf>=3.14:devel/py-protobuf@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}openssl>=20.0:security/py-openssl@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pyparsing>=2.4.2:devel/py-pyparsing@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pyperclip>=1.6.0:devel/py-pyperclip@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}ruamel.yaml>=0.16:devel/py-ruamel.yaml@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}sortedcontainers>=2.3:devel/py-sortedcontainers@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}tornado>=4.3:www/py-tornado@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}urwid>=2.1.1:devel/py-urwid@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wsproto>=1.0.0:net/py-wsproto@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}publicsuffix2>=2.20190812:dns/py-publicsuffix2@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}zstandard>=0.11:archivers/py-zstandard@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR}
USES= cpe python:3.8+
diff --git a/www/mitmproxy/distinfo b/www/mitmproxy/distinfo
index 29bb52aa64e7..e172c4812a7c 100644
--- a/www/mitmproxy/distinfo
+++ b/www/mitmproxy/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1608910538
-SHA256 (mitmproxy-mitmproxy-v6.0.2_GH0.tar.gz) = 15b32ce31e707d35de1707afe09e82bbf3d643bdd93968c5512caba80523c606
-SIZE (mitmproxy-mitmproxy-v6.0.2_GH0.tar.gz) = 27274682
+TIMESTAMP = 1631511501
+SHA256 (mitmproxy-mitmproxy-v7.0.2_GH0.tar.gz) = 091579659e14e60841eaf5510a28cd990424764b4e6e9fe6dca5df0f959df863
+SIZE (mitmproxy-mitmproxy-v7.0.2_GH0.tar.gz) = 27310814
diff --git a/www/mitmproxy/files/patch-setup.py b/www/mitmproxy/files/patch-setup.py
deleted file mode 100644
index 544a5d7cb025..000000000000
--- a/www/mitmproxy/files/patch-setup.py
+++ /dev/null
@@ -1,11 +0,0 @@
---- setup.py.orig 2021-06-30 07:08:47 UTC
-+++ setup.py
-@@ -91,7 +91,7 @@ setup(
- "urwid>=2.1.1,<2.2",
- "wsproto>=1.0,<1.1",
- "publicsuffix2>=2.20190812,<3",
-- "zstandard>=0.11,<0.15",
-+ "zstandard>=0.11,<0.16",
- ],
- extras_require={
- ':sys_platform == "win32"': [