[arch-commits] Commit in qtile/trunk (PKGBUILD)

David Runge dvzrv at gemini.archlinux.org
Mon Jul 19 08:00:42 UTC 2021


    Date: Monday, July 19, 2021 @ 08:00:41
  Author: dvzrv
Revision: 978591

upgpkg: qtile 0.18.0-2: Rebuild to apply fix for tests.

Apply upstream fix for the failing imapwidget tests.

Modified:
  qtile/trunk/PKGBUILD

----------+
 PKGBUILD |   14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-07-19 07:49:04 UTC (rev 978590)
+++ PKGBUILD	2021-07-19 08:00:41 UTC (rev 978591)
@@ -2,7 +2,7 @@
 
 pkgname=qtile
 pkgver=0.18.0
-pkgrel=1
+pkgrel=2
 pkgdesc="A full-featured, pure-Python tiling window manager"
 arch=('x86_64')
 url="http://www.qtile.org"
@@ -71,6 +71,14 @@
 b2sums=('SKIP')
 validpgpkeys=('3CCAB226289DE0160C61BDB418D18F1BC464DCA3') # Tycho Andersen <tycho at tycho.pizza>
 
+
+prepare() {
+  cd "${pkgname}"
+  # fix issue with imapwidget tests
+  # https://github.com/qtile/qtile/issues/2629
+  git cherry-pick -n '7ab816f84db3a9982c0ae0006fe0be45b632aa04'
+}
+
 build() {
   cd "${pkgname}"
   python setup.py build
@@ -96,11 +104,9 @@
   export PATH="${PWD}/test_dir/usr/bin:${PATH}"
   export LC_TYPE=en_US.UTF-8
   ./scripts/ffibuild
-  # unresolved issues with the imapwidget tests: https://github.com/qtile/qtile/issues/2629
   # some tests never return: https://github.com/qtile/qtile/issues/2628
   pytest -vv \
-    --ignore "test/widgets/test_imapwidget.py" \
-    -k "not test_remove and not test_widget_init_config[ImapWidget-kwargs28]"
+    -k "not test_remove"
 }
 
 package() {




More information about the arch-commits mailing list