aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2019-11-05 13:13:32 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2019-11-05 15:35:42 +0000
commit785cd76704f6eb108c5b1c61f3356c3b0ea371f4 (patch)
treee04b26051f97e7fffe318f309d2d85914f71310b
parentcbcd3d962379d837f234706d9c40cca6f21db3dd (diff)
downloadaports-785cd76704f6eb108c5b1c61f3356c3b0ea371f4.tar.bz2
aports-785cd76704f6eb108c5b1c61f3356c3b0ea371f4.tar.xz
testing/py3-pytest-timeout: rebuild against python 3.8
-rw-r--r--testing/py3-pytest-timeout/APKBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/testing/py3-pytest-timeout/APKBUILD b/testing/py3-pytest-timeout/APKBUILD
index 2af6ae0bda..4d718362da 100644
--- a/testing/py3-pytest-timeout/APKBUILD
+++ b/testing/py3-pytest-timeout/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Oleg Titov <oleg.titov@gmail.com>
pkgname=py3-pytest-timeout
pkgver=1.3.3
-pkgrel=0
+pkgrel=1
pkgdesc="py.test plugin to abort hanging tests"
url="https://bitbucket.org/pytest-dev/pytest-timeout"
arch="noarch"
@@ -19,7 +19,8 @@ build() {
}
check() {
- tox -e py37 -- \
+ local _py3ver=$(python3 -c 'import sys; print("{}{}".format(sys.version_info.major, sys.version_info.minor))')
+ tox -e py$_py3ver -- \
--deselect="test_pytest_timeout.py::test_fix_setup[function-meth0]" \
--deselect="test_pytest_timeout.py::test_fix_setup[class-meth0]" \
--deselect="test_pytest_timeout.py::test_fix_setup[module-meth0]" \