[arch-commits] Commit in python-pook/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sun Nov 15 00:59:03 UTC 2020
Date: Sunday, November 15, 2020 @ 00:59:03
Author: felixonmars
Revision: 754335
upgpkg: python-pook 1.0.1-4: remove tests
Modified:
python-pook/trunk/PKGBUILD
----------+
PKGBUILD | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-15 00:30:45 UTC (rev 754334)
+++ PKGBUILD 2020-11-15 00:59:03 UTC (rev 754335)
@@ -2,7 +2,7 @@
pkgname=python-pook
pkgver=1.0.1
-pkgrel=3
+pkgrel=4
pkgdesc="Versatile and expressive HTTP traffic mocking and testing made simple in Python"
url="https://github.com/h2non/pook"
license=('MIT')
@@ -35,4 +35,7 @@
python setup.py install --root="$pkgdir" --optimize=1
install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+
+ # It's only present when tests are enabled, so adding -f
+ rm -rf "$pkgdir"/usr/lib/python3.9/site-packages/tests
}
More information about the arch-commits
mailing list