From 7ffe1a68efb230c3692bfdcf50366ab3397225ea Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Thu, 3 May 2018 08:55:26 +0200 Subject: community/python-tqdm: workaround for failing check --- community/python-tqdm/PKGBUILD | 11 +++++++++++ .../python-tqdm/tqdm-4.22.0-sleep-test-workaround.patch | Bin 0 -> 746 bytes 2 files changed, 11 insertions(+) create mode 100644 community/python-tqdm/PKGBUILD create mode 100644 community/python-tqdm/tqdm-4.22.0-sleep-test-workaround.patch diff --git a/community/python-tqdm/PKGBUILD b/community/python-tqdm/PKGBUILD new file mode 100644 index 00000000..b7329924 --- /dev/null +++ b/community/python-tqdm/PKGBUILD @@ -0,0 +1,11 @@ +# https://github.com/tqdm/tqdm/issues/538 + +source+=('tqdm-4.22.0-sleep-test-workaround.patch') +sha512sums+=('ac09e7578ad380f55f9371a067061bd1f23be6a799ec82c3abf2471d7d780bd435b423d0ab1f989cf7039b467d5adfa38e324cb887b0b27f52218fa3753956fa') + +eval "$( + declare -f prepare | \ + sed ' + /cp/ i pushd ${srcdir}/tqdm-$pkgver && patch -Np1 -i "${srcdir}"/tqdm-4.22.0-sleep-test-workaround.patch && popd + ' +)" diff --git a/community/python-tqdm/tqdm-4.22.0-sleep-test-workaround.patch b/community/python-tqdm/tqdm-4.22.0-sleep-test-workaround.patch new file mode 100644 index 00000000..ac9caae3 Binary files /dev/null and b/community/python-tqdm/tqdm-4.22.0-sleep-test-workaround.patch differ -- cgit v1.2.3-54-g00ecf