Files
ports/www/mitmproxy/files/patch-setup.py
T
Kai Knoblich 697bc871ba www/mitmproxy: Unbreak at runtime
* After r511877 (initial cause, already fixed in r518596) and r516400 [1]
  the port was broken at runtime.  Unbreak it by relaxing the version range
  for net/py-ldap3.

  Also relax the version range for devel/py-urwid which was recently updated
  in r519201.

* Adjust the RUN_DEPENDS by making them more specific (as given in setup.py)
  to reduce the likelihood of runtime errors in the future.

* Bump PORTREVISION due changed code.

A MFH is not required as www/mitmproxy in the 2019Q4 branch isn't affected
and was already fixed with r518597.

PR:		242025
Reported by:	ale [1]
Approved by:	maintainer timeout (2 weeks)
2019-12-16 19:36:59 +00:00

35 lines
1.1 KiB
Python

--- setup.py.orig 2019-12-09 13:30:10 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",
+ "ldap3>=2.5",
"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",
+ "urwid>=2.0.1",
+ "wsproto>=0.13.0",
],
extras_require={
':sys_platform == "win32"': [