pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
py-tqdm: add upstream patch to fix four test failures.
Module Name: pkgsrc-wip
Committed By: Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By: wiz
Date: Fri Feb 10 01:42:28 2017 +0100
Changeset: 40932853590633e3e33a7ec829577bf96bba57cc
Modified Files:
py-tqdm/distinfo
Added Files:
py-tqdm/patches/patch-tqdm___utils.py
Log Message:
py-tqdm: add upstream patch to fix four test failures.
All tests now run successfully on NetBSD.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=40932853590633e3e33a7ec829577bf96bba57cc
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
py-tqdm/distinfo | 1 +
py-tqdm/patches/patch-tqdm___utils.py | 16 ++++++++++++++++
2 files changed, 17 insertions(+)
diffs:
diff --git a/py-tqdm/distinfo b/py-tqdm/distinfo
index 63a35ff145..f49de995ae 100644
--- a/py-tqdm/distinfo
+++ b/py-tqdm/distinfo
@@ -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
diff --git a/py-tqdm/patches/patch-tqdm___utils.py b/py-tqdm/patches/patch-tqdm___utils.py
new file mode 100644
index 0000000000..b6cd49813f
--- /dev/null
+++ b/py-tqdm/patches/patch-tqdm___utils.py
@@ -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
Home |
Main Index |
Thread Index |
Old Index