diff options
author | Michael Helmling | 2021-12-15 13:40:21 +0100 |
---|---|---|
committer | Michael Helmling | 2021-12-15 13:40:21 +0100 |
commit | 1c6f1b9fd0fbceb8be04931ae4e31f396c449339 (patch) | |
tree | c6766a1a9cd5e3d955bdac972b66c39813265d39 | |
parent | ffcbba06f367715a5c6f3177212a9ec655aeafdc (diff) | |
download | aur-1c6f1b9fd0fbceb8be04931ae4e31f396c449339.tar.gz |
fix check for Python 3.10
-rw-r--r-- | PKGBUILD | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -22,7 +22,7 @@ build() { check() { cd "${_base}-${pkgver}" - local _pyversion=$(python -c "import sys; print(sys.version[:3])") + local _pyversion=$(python -c "import sys; print(f'{sys.version_info.major}.{sys.version_info.minor}')") PYTHONPATH="${PWD}/build/lib.linux-${CARCH}-${_pyversion}:${PYTHONPATH}" python -m pytest tests } |