From e1c46841156fbf0ea46e57ec26542ef973539eea Mon Sep 17 00:00:00 2001 From: wang--ge Date: Tue, 11 Feb 2025 11:21:51 +0800 Subject: [PATCH] rebuild for branch openEuler-25.03 (cherry picked from commit 75453abccd731f4ac34cea13d0e83c2cb49906d4) --- 0001-change-requires-version.patch | 45 ++++++++++++++++++++++-------- python-mitmproxy.spec | 5 +++- 2 files changed, 38 insertions(+), 12 deletions(-) diff --git a/0001-change-requires-version.patch b/0001-change-requires-version.patch index 27c7f91..65da093 100644 --- a/0001-change-requires-version.patch +++ b/0001-change-requires-version.patch @@ -1,31 +1,51 @@ +From 7a7bdf1c7446354cd2370b5bf6fdc461a7af5074 Mon Sep 17 00:00:00 2001 +From: wang--ge +Date: Tue, 11 Feb 2025 14:38:00 +0800 +Subject: [PATCH] change requires version + +--- + setup.py | 22 +++++++++++----------- + 1 file changed, 11 insertions(+), 11 deletions(-) + diff --git a/setup.py b/setup.py -index 94ef426..7661a0e 100644 +index 94ef426..081d13e 100644 --- a/setup.py +++ b/setup.py -@@ -73,10 +73,10 @@ setup( +@@ -73,30 +73,30 @@ setup( # https://packaging.python.org/en/latest/discussions/install-requires-vs-requirements/#install-requires # It is not considered best practice to use install_requires to pin dependencies to specific versions. install_requires=[ - "asgiref>=3.2.10,<3.6", +- "Brotli>=1.0,<1.1", + "asgiref>=3.2.10", - "Brotli>=1.0,<1.1", ++ "Brotli>=1.0,<1.2", "certifi>=2019.9.11", # no semver here - this should always be on the last release! - "cryptography>=38.0,<38.1", +- "flask>=1.1.1,<2.3", + "cryptography>=38.0", - "flask>=1.1.1,<2.3", ++ "flask>=1.1.1,<3.1.1", "h11>=0.11,<0.15", "h2>=4.1,<5", -@@ -87,7 +87,7 @@ setup( - "msgpack>=1.0.0, <1.1.0", + "hyperframe>=6.0,<7", + "kaitaistruct>=0.10,<0.11", + "ldap3>=2.8,<2.10", + "mitmproxy_wireguard>=0.1.6,<0.2", +- "msgpack>=1.0.0, <1.1.0", ++ "msgpack>=1.0.0, <1.1.1", "passlib>=1.6.5, <1.8", "protobuf>=3.14,<5", - "pyOpenSSL>=22.1,<22.2", +- "pyparsing>=2.4.2,<3.1", +- "pyperclip>=1.6.0,<1.9", +- "ruamel.yaml>=0.16,<0.18", + "pyOpenSSL>=22.1", - "pyparsing>=2.4.2,<3.1", - "pyperclip>=1.6.0,<1.9", - "ruamel.yaml>=0.16,<0.18", -@@ -96,7 +96,7 @@ setup( - "urwid>=2.1.1,<2.2", ++ "pyparsing>=2.4.2,<3.3", ++ "pyperclip>=1.6.0,<1.9.1", ++ "ruamel.yaml>=0.16,<0.18.7", + "sortedcontainers>=2.3,<2.5", + "tornado>=6.1,<7", +- "urwid>=2.1.1,<2.2", ++ "urwid>=2.1.1,<2.7", "wsproto>=1.0,<1.3", "publicsuffix2>=2.20190812,<3", - "zstandard>=0.11,<0.20", @@ -33,3 +53,6 @@ index 94ef426..7661a0e 100644 "typing-extensions>=4.3,<4.5; python_version<'3.10'", ], extras_require={ +-- +2.48.1 + diff --git a/python-mitmproxy.spec b/python-mitmproxy.spec index b704938..8d10e7e 100644 --- a/python-mitmproxy.spec +++ b/python-mitmproxy.spec @@ -1,7 +1,7 @@ %global _empty_manifest_terminate_build 0 Name: python-mitmproxy Version: 9.0.1 -Release: 1 +Release: 2 Summary: An interactive, SSL/TLS-capable intercepting proxy for HTTP/1, HTTP/2, and WebSockets. License: MIT URL: https://github.com/mitmproxy/mitmproxy/ @@ -74,6 +74,9 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Tue Feb 11 2025 Ge Wang - 9.0.1-2 +- Rebuild for branch openEuler-25.03 + * Tue Sep 19 2023 xu_ping <707078654@qq.com> - 9.0.1-1 - Upgrade version to 9.0.1 - add Raw UDP and DTLS support. -- Gitee