[arch-commits] Commit in python-hypothesis/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sun Aug 16 19:38:39 UTC 2020
Date: Sunday, August 16, 2020 @ 19:38:39
Author: felixonmars
Revision: 681869
upgpkg: python-hypothesis 5.25.0-1
Modified:
python-hypothesis/trunk/PKGBUILD
----------+
PKGBUILD | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-08-16 19:37:38 UTC (rev 681868)
+++ PKGBUILD 2020-08-16 19:38:39 UTC (rev 681869)
@@ -1,7 +1,7 @@
# Maintainer: Felix Yan <felixonmars at archlinux.org>
pkgname=python-hypothesis
-pkgver=5.24.4
+pkgver=5.25.0
pkgrel=1
pkgdesc="Advanced Quickcheck style testing library for Python"
arch=('any')
@@ -15,12 +15,12 @@
'python-pytest: for pytest module'
'python-lark-parser: for lark module')
makedepends=('python-setuptools')
-checkdepends=('python-pytest-runner' 'flake8' 'python-pytz' 'python-numpy' 'python-faker'
+checkdepends=('python-pytest' 'flake8' 'python-pytz' 'python-numpy' 'python-faker'
'python-flaky' 'python-django' 'python-mock' 'python-pandas' 'python-dpcontracts'
'python-pytest-xdist' 'python-lark-parser' 'python-pexpect' 'python-coverage'
'python-typing_extensions' 'python-black')
source=("$pkgname-$pkgver.tar.gz::https://github.com/HypothesisWorks/hypothesis/archive/hypothesis-python-$pkgver.tar.gz")
-sha512sums=('147f4fa47b54bf3ec4dfcebf2a6c98cee26ea6780244ef99e181bada65978375ca7731ed05cb98f1b92f7a44a357faae374d97d489ec6e2318ff94e526cd9a40')
+sha512sums=('2d6335f7cbf25d7c110cfcbcebee3146ee6f080544c388c9e0d50fee16527e107e4446e083a5b28d052155d02607c1934b4531b3f2d68ba9097a8189c2f58820')
prepare() {
mv hypothesis-hypothesis-python-$pkgver hypothesis-$pkgver
@@ -33,7 +33,8 @@
check() {
cd hypothesis-$pkgver/hypothesis-python
- python setup.py pytest
+ python setup.py install --root="$PWD/tmp_install" --optimize=1
+ PYTHONPATH="$PWD/tmp_install/usr/lib/python3.8/site-packages:$PYTHONPATH" PATH="$PWD/tmp_install/usr/bin:$PATH" pytest
}
package() {
More information about the arch-commits
mailing list