py-tqdm: add upstream patch to fix four test failures.

All tests now run successfully on NetBSD.
This commit is contained in:
Thomas Klausner 2017-02-10 01:42:28 +01:00
parent 0c6c2770e0
commit 4093285359
2 changed files with 17 additions and 0 deletions

View file

@ -4,3 +4,4 @@ SHA1 (tqdm-4.11.2.tar.gz) = 34a2d9319f14eb1b60270641edb51356b3aca410
RMD160 (tqdm-4.11.2.tar.gz) = c90efd448313f2db8f335aa7375baf1c766c0878
SHA512 (tqdm-4.11.2.tar.gz) = 294557c9282de4ed2b81695d69d2c95b7f5c5adcaf6821d1109d9e7eb584f2237c6c54ce422537fd0ec1914a0d355317c4ad8d2a430c7c12678784a8a080d891
Size (tqdm-4.11.2.tar.gz) = 100161 bytes
SHA1 (patch-tqdm___utils.py) = 564c35d4bfb2673960893cd0f0c3ed73bf2f6d27

View file

@ -0,0 +1,16 @@
$NetBSD$
NetBSD support.
https://github.com/tqdm/tqdm/commit/a379e330d013cf5f7cec8e9460d1d5e03b543444
--- tqdm/_utils.py.orig 2017-01-23 23:53:53.000000000 +0000
+++ tqdm/_utils.py
@@ -5,7 +5,7 @@ CUR_OS = _curos()
IS_WIN = CUR_OS in ['Windows', 'cli']
IS_NIX = (not IS_WIN) and any(
CUR_OS.startswith(i) for i in
- ['CYGWIN', 'MSYS', 'Linux', 'Darwin', 'SunOS', 'FreeBSD'])
+ ['CYGWIN', 'MSYS', 'Linux', 'Darwin', 'SunOS', 'FreeBSD', 'NetBSD'])
# Py2/3 compat. Empty conditional to avoid coverage