From 7af66ce5d9207f3713d741e8cce402da73ba4fca Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Thu, 24 May 2018 15:50:21 +0200 Subject: community/subdownloader: proper fixing, patching setup.py for running check() --- community/subdownloader/PKGBUILD | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'community/subdownloader/PKGBUILD') diff --git a/community/subdownloader/PKGBUILD b/community/subdownloader/PKGBUILD index 4308c994..d5587d3b 100644 --- a/community/subdownloader/PKGBUILD +++ b/community/subdownloader/PKGBUILD @@ -1,10 +1,11 @@ -# Tests download a 64-bit Qt5 Python package from https://files.pythonhosted.org +# Tests download a 64-bit Qt5 Python package from https://files.pythonhosted.org, +# we can actually rely on the python-pyqt5 Archlinux package giving us that. :-) # (see https://github.com/subdownloader/subdownloader/issues/30) -# => disabling all tests for now -eval "$( - declare -f check | \ - sed ' - s/\(python setup.py test\)/#\1/ - ' -)" +source+=(subdownloader-2.1.0rc4-setup-pyqt5-no-download.patch) +sha512sums+=('95f12cc3ffa474db00446adfb830935aaa2c626d5e15b78c94c7775ff048ed4871ea55fbc64cea7302007745beaaa02452ab3770ca6a41d9db36deddde0d901a') + +prepare( ) { + cd $pkgname-$pkgver + patch -Np1 < "$srcdir/subdownloader-2.1.0rc4-setup-pyqt5-no-download.patch" +} -- cgit v1.2.3-70-g09d2