~alpine/aports

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch

[PATCH] community/py3-tqdm: upgrade to 4.41.0

Details
Message ID
<20191220204251.17527-1-sir@cmpwn.com>
DKIM signature
missing
Download raw message
Patch: +3 -37
---
 ...y-test-that-depends-on-GNU-coreutils.patch | 32 -------------------
 community/py3-tqdm/APKBUILD                   |  8 ++---
 2 files changed, 3 insertions(+), 37 deletions(-)
 delete mode 100644 community/py3-tqdm/0001-Skip-flaky-test-that-depends-on-GNU-coreutils.patch

diff --git a/community/py3-tqdm/0001-Skip-flaky-test-that-depends-on-GNU-coreutils.patch b/community/py3-tqdm/0001-Skip-flaky-test-that-depends-on-GNU-coreutils.patch
deleted file mode 100644
index b4c3c8a0d2..0000000000
--- a/community/py3-tqdm/0001-Skip-flaky-test-that-depends-on-GNU-coreutils.patch
@@ -1,32 +0,0 @@
From 87da1f29923cf7f1af65f8b8a26c155545b61073 Mon Sep 17 00:00:00 2001
From: Drew DeVault <sir@cmpwn.com>
Date: Tue, 1 Jan 2019 20:40:05 -0500
Subject: [PATCH] Skip flaky test that depends on GNU coreutils

---
 tqdm/tests/tests_main.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tqdm/tests/tests_main.py b/tqdm/tests/tests_main.py
index dd87ccf..d65febe 100644
--- a/tqdm/tests/tests_main.py
+++ b/tqdm/tests/tests_main.py
@@ -4,6 +4,7 @@ from os import path
 from shutil import rmtree
 from tempfile import mkdtemp
 from tqdm.cli import main, TqdmKeyError, TqdmTypeError
+from nose.plugins.skip import SkipTest
 
 from tests_tqdm import with_setup, pretest, posttest, _range, closing, \
     UnicodeIO, StringIO
@@ -17,6 +18,7 @@ def _sh(*cmd, **kwargs):
 # WARNING: this should be the last test as it messes with sys.stdin, argv
 @with_setup(pretest, posttest)
 def test_main():
+    raise SkipTest
     """Test command line pipes"""
     ls_out = _sh('ls').replace('\r\n', '\n')
     ls = subprocess.Popen('ls', stdout=subprocess.PIPE,
--- 
2.20.1

diff --git a/community/py3-tqdm/APKBUILD b/community/py3-tqdm/APKBUILD
index 33062801eb..8ed95b90ff 100644
--- a/community/py3-tqdm/APKBUILD
+++ b/community/py3-tqdm/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-tqdm
_pkgname=tqdm
pkgver=4.40.2
pkgver=4.41.0
pkgrel=0
pkgdesc="Fast, Extensible Progress Meter"
options="!check" # Broken on our current Python build due to setuptools version conflict
@@ -10,8 +10,7 @@ arch="noarch"
license="MIT"
depends="python3"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz
	0001-Skip-flaky-test-that-depends-on-GNU-coreutils.patch"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

replaces="py-tqdm" # Backwards compatibility
@@ -44,5 +43,4 @@ package() {
	ln -s tqdm-3 "$pkgdir"/usr/bin/tqdm
}

sha512sums="60d0e3f89413de594686cb446f3d8e0bffdf9f2e86a374cf0391dd16b0d9f106f3897b452848e6d3b54c9aabe8b43ed5729083ae7b2d3564b723666828639158  tqdm-4.40.2.tar.gz
18be29842ec2444ac92e2748afab35bece67d9896ce8ba9b90f54fe717680203a45dad41887b217a95821c4b98307f23ebd3540fba0c76f581d38a844d8e4e15  0001-Skip-flaky-test-that-depends-on-GNU-coreutils.patch"
sha512sums="0d350f8f8e897815ba37da0ff4eb9dfc1a6f841db4026ebdb6b7e8d19de273f4e795ce0566458f4f8508db5b3cb4daf213cf527b9f257637423f11f29052604f  tqdm-4.41.0.tar.gz"
-- 
2.24.0
Reply to thread Export thread (mbox)