[arch-commits] Commit in python-hypothesis/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sat Nov 14 20:47:14 UTC 2020
Date: Saturday, November 14, 2020 @ 20:47:14
Author: felixonmars
Revision: 754170
upgpkg: python-hypothesis 5.41.2-4: remove tests
Modified:
python-hypothesis/trunk/PKGBUILD
----------+
PKGBUILD | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-14 20:47:01 UTC (rev 754169)
+++ PKGBUILD 2020-11-14 20:47:14 UTC (rev 754170)
@@ -2,7 +2,7 @@
pkgname=python-hypothesis
pkgver=5.41.2
-pkgrel=3
+pkgrel=4
pkgdesc="Advanced Quickcheck style testing library for Python"
arch=('any')
license=('MPL')
@@ -46,4 +46,7 @@
package() {
cd hypothesis-$pkgver/hypothesis-python
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
}
More information about the arch-commits
mailing list