aboutsummaryrefslogtreecommitdiffstats
path: root/community
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-08-20 14:11:15 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-08-20 18:32:26 -0300
commit8d7e34ebb424d4fca4191592b525fa1409beadf4 (patch)
tree7677f329d8ab6e7eb7fc7470b545022f8a0e48bc /community
parent8079bf9e7a5010ad3b619fa04f2e38d6b9bb79e1 (diff)
downloadaports-8d7e34ebb424d4fca4191592b525fa1409beadf4.tar.bz2
aports-8d7e34ebb424d4fca4191592b525fa1409beadf4.tar.xz
community/py-hypothesis: upgrade to 4.33.0
Diffstat (limited to 'community')
-rw-r--r--community/py-hypothesis/APKBUILD25
1 files changed, 12 insertions, 13 deletions
diff --git a/community/py-hypothesis/APKBUILD b/community/py-hypothesis/APKBUILD
index 509c02d623..dfa45880d6 100644
--- a/community/py-hypothesis/APKBUILD
+++ b/community/py-hypothesis/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Drew DeVault <sir@cmpwn.com>
# Maintainer: Leo <thinkabit.ukim@gmail.com>
pkgname=py-hypothesis
-pkgver=4.32.3
+pkgver=4.33.0
pkgrel=0
pkgdesc="Advanced property-based (QuickCheck-like) testing for Python"
url="https://hypothesis.works/"
@@ -10,7 +10,7 @@ license="MPL-2.0"
_py2_deps="py2-attrs py-enum34"
_py3_deps="py3-attrs"
makedepends="$_py2_deps $_py3_deps py2-setuptools py3-setuptools"
-checkdepends="py2-coverage py2-pytest py2-tz py2-numpy py2-dateutil py2-mock
+checkdepends="py2-coverage py2-pytest py2-tz py2-dateutil py2-mock
py3-pytest py3-coverage py3-tz py3-numpy py3-dateutil"
subpackages="py2-${pkgname#py-}:_py2 py3-${pkgname#py-}:_py3"
source="py-hypothesis-$pkgver.tar.gz::https://github.com/HypothesisWorks/hypothesis-python/archive/hypothesis-python-$pkgver.tar.gz"
@@ -33,19 +33,18 @@ check() {
# Add variables that will be used by python to find the local
# hypothesis build
- PY3PATH="${PWD}/build/lib"
+ PY3PATH="$PWD/build/lib"
- PYTHONPATH="${PY3PATH}" python3 -m pytest tests/cover
- PYTHONPATH="${PY3PATH}" python3 -m pytest tests/py3
- PYTHONPATH="${PY3PATH}" python3 -m pytest tests/datetime
- PYTHONPATH="${PY3PATH}" python3 -m pytest tests/numpy
+ PYTHONPATH="$PY3PATH" python3 -m pytest tests/cover
+ PYTHONPATH="$PY3PATH" python3 -m pytest tests/py3
+ PYTHONPATH="$PY3PATH" python3 -m pytest tests/datetime
+ PYTHONPATH="$PY3PATH" python3 -m pytest tests/numpy
cd "$builddir"-py2
- PY2PATH="${PWD}/build/lib"
- PYTHONPATH="${PY2PATH}" python2 -m pytest tests/cover
- PYTHONPATH="${PY2PATH}" python2 -m pytest tests/py2
- PYTHONPATH="${PY2PATH}" python2 -m pytest tests/numpy
- PYTHONPATH="${PY2PATH}" python2 -m pytest tests/datetime
+ PY2PATH="$PWD/build/lib"
+ PYTHONPATH="$PY2PATH" python2 -m pytest tests/cover
+ PYTHONPATH="$PY2PATH" python2 -m pytest tests/py2
+ PYTHONPATH="$PY2PATH" python2 -m pytest tests/datetime
}
package() {
@@ -72,4 +71,4 @@ _py() {
$_python setup.py install --prefix=/usr --root="$subpkgdir"
}
-sha512sums="e6c37eb73b76810a00eb70f3d6af83fb0baae35c095471253fcd5628c3ee24e95f41389e54aa80c154a6adaeb15c1273b0e4012f4c6df4b1d6f4d7642be487a7 py-hypothesis-4.32.3.tar.gz"
+sha512sums="f69702590bb249dbc02d4b9b42c90cfcd6a69156dcf8ba6061a7976dfa7556d1be8c2f0f2719ad9c4db19122ea4951989baff7e3bae8132e809f3744adbaddb6 py-hypothesis-4.33.0.tar.gz"