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

Felix Yan felixonmars at archlinux.org
Wed Dec 23 21:00:13 UTC 2020


    Date: Wednesday, December 23, 2020 @ 21:00:13
  Author: felixonmars
Revision: 785221

upgpkg: python-threadloop 1.0.2-4: remove usr/lib/python3.9/site-packages/tests/

Modified:
  python-threadloop/trunk/PKGBUILD

----------+
 PKGBUILD |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-12-23 21:00:11 UTC (rev 785220)
+++ PKGBUILD	2020-12-23 21:00:13 UTC (rev 785221)
@@ -2,7 +2,7 @@
 
 pkgname=python-threadloop
 pkgver=1.0.2
-pkgrel=3
+pkgrel=4
 pkgdesc="Tornado IOLoop Backed Concurrent Futures"
 url="https://github.com/unhashable/threadloop"
 license=('MIT')
@@ -36,5 +36,8 @@
   cd threadloop-$pkgver
   python setup.py install --root="$pkgdir" --optimize=1
 
+  # It's only present when tests are enabled, so adding -f
+  rm -rf "$pkgdir"/usr/lib/python3.9/site-packages/tests
+
   install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
 }



More information about the arch-commits mailing list