ports/www/mitmproxy/files/patch-setup.py
Kai Knoblich c75fd91125 www/mitmproxy: Prepare for py-openssl 19.0.0 and unbreak at runtime
Relax the version ranges for security/py-openssl to avoid breakage at
runtime when release 19.0.0 lands into the Ports tree.

Also unbreak the port as it's already broken at runtime because the given
requirements for security/py-cryptography are too narrow.

PR:		239540
Approved by:	Hung-Yi Chen <gaod@hychen.org> (maintainer)
MFH:		2019Q3 (runtime fix)
2019-08-04 21:12:28 +00:00

32 lines
1.1 KiB
Python

--- setup.py.orig 2019-07-30 16:02:34 UTC
+++ setup.py
@@ -61,24 +61,24 @@ setup(
# It is not considered best practice to use install_requires to pin dependencies to specific versions.
install_requires=[
"blinker>=1.4",
- "brotli>=0.7.0,<0.8",
+ "brotli>=0.7.0",
"certifi>=2015.11.20.1", # no semver here - this should always be on the last release!
"click>=6.2",
- "cryptography>=2.1.4,<2.4",
+ "cryptography>=2.1.4",
"h2>=3.0.1,<4",
"hyperframe>=5.1.0,<6",
"kaitaistruct>=0.7,<0.9",
"ldap3>=2.5,<2.6",
"passlib>=1.6.5",
"pyasn1>=0.3.1,<0.5",
- "pyOpenSSL>=17.5,<18.1",
+ "pyOpenSSL>=17.5",
"pyparsing>=2.1.3",
"pyperclip>=1.6.0",
"ruamel.yaml>=0.13.2",
- "sortedcontainers>=1.5.4,<2.1",
+ "sortedcontainers>=1.5.4",
"tornado>=4.3,<5.2",
"urwid>=2.0.1,<2.1",
- "wsproto>=0.11.0,<0.12.0",
+ "wsproto>=0.13.0",
],
extras_require={
':sys_platform == "win32"': [