git: b18d68031415 - 2022Q1 - www/mitmproxy: Fix build after net/py-h11 update
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 16 Feb 2022 16:38:45 UTC
The branch 2022Q1 has been updated by lwhsu:
URL: https://cgit.FreeBSD.org/ports/commit/?id=b18d68031415a5db5bc675250e6682e5cfa1fff9
commit b18d68031415a5db5bc675250e6682e5cfa1fff9
Author: Hung-Yi Chen <gaod@hychen.org>
AuthorDate: 2022-02-16 16:33:08 +0000
Commit: Li-Wen Hsu <lwhsu@FreeBSD.org>
CommitDate: 2022-02-16 16:38:36 +0000
www/mitmproxy: Fix build after net/py-h11 update
PR: 261991
(cherry picked from commit 60448a8aefe443645115a7a2b4a8f2845d660b62)
---
www/mitmproxy/Makefile | 1 +
www/mitmproxy/files/patch-setup.py | 10 +++++++++-
2 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/www/mitmproxy/Makefile b/www/mitmproxy/Makefile
index c13a80cba6dd..fc7f32864b31 100644
--- a/www/mitmproxy/Makefile
+++ b/www/mitmproxy/Makefile
@@ -2,6 +2,7 @@
PORTNAME= mitmproxy
PORTVERSION= 7.0.4
+PORTREVISION= 1
DISTVERSIONPREFIX= v
CATEGORIES= www python
diff --git a/www/mitmproxy/files/patch-setup.py b/www/mitmproxy/files/patch-setup.py
index 148d88850985..96342f41ae46 100644
--- a/www/mitmproxy/files/patch-setup.py
+++ b/www/mitmproxy/files/patch-setup.py
@@ -1,6 +1,6 @@
--- setup.py.orig 2021-09-28 16:43:29 UTC
+++ setup.py
-@@ -67,7 +67,7 @@ setup(
+@@ -67,14 +67,14 @@ setup(
# https://packaging.python.org/en/latest/requirements/#install-requires
# It is not considered best practice to use install_requires to pin dependencies to specific versions.
install_requires=[
@@ -9,6 +9,14 @@
"blinker>=1.4, <1.5",
"Brotli>=1.0,<1.1",
"certifi>=2019.9.11", # no semver here - this should always be on the last release!
+ "click>=7.0,<8.1",
+ "cryptography>=3.3,<3.5",
+ "flask>=1.1.1,<2.1",
+- "h11>=0.11,<0.13",
++ "h11>=0.11,<0.14",
+ "h2>=4.0,<5",
+ "hyperframe>=6.0,<7",
+ "kaitaistruct>=0.7,<0.10",
@@ -83,7 +83,7 @@ setup(
"passlib>=1.6.5, <1.8",
"protobuf>=3.14,<3.19",