ports/math/py-yt/files/patch-yt_extern_tqdm___utils.py
Wen Heping 645c111a1e - Fix build by add a patch which forgot in previous commit
while here add USES=dos2unix

Submitted by:	Yuri Victorovich<yuri@rawbw.com>(maintainer, via email)
2017-01-01 13:23:25 +00:00

11 lines
516 B
Python

--- yt/extern/tqdm/_utils.py.orig 2017-01-01 20:57:19 UTC
+++ yt/extern/tqdm/_utils.py
@@ -40,7 +40,7 @@ def _environ_cols_wrapper(): # pragma:
_environ_cols = _environ_cols_windows
if _environ_cols is None:
_environ_cols = _environ_cols_tput
- if current_os in ['Linux', 'Darwin'] or current_os.startswith('CYGWIN'):
+ if current_os in ['FreeBSD', 'Linux', 'Darwin'] or current_os.startswith('CYGWIN'):
_environ_cols = _environ_cols_linux
return _environ_cols