Commit c240d3f1 authored by Natanael Copa's avatar Natanael Copa
Browse files

testing/py3-typed-ast: rebuild against python 3.8

parent 171f6d33
......@@ -3,7 +3,7 @@
pkgname=py3-typed-ast
_pkgname=typed_ast
pkgver=1.4.0
pkgrel=0
pkgrel=1
pkgdesc="Fork of the Python ast module with type comment support"
url="https://github.com/python/typed_ast"
arch="all"
......@@ -21,13 +21,14 @@ build() {
# two (2) tests fail on s390x, disable
check() {
local _pyarch
local _py3ver=$(python3 -c 'import sys; print("{}.{}".format(sys.version_info.major, sys.version_info.minor))')
case "$CARCH" in
x86_64|aarch64|ppc64le) _pyarch="$CARCH" ;;
x86) _pyarch=i686 ;;
armhf|armv7) _pyarch=armv8l ;;
s390x) return 0 ;;
esac
PYTHONPATH="$builddir/build/lib.linux-$_pyarch-3.7" py.test-3 -v
PYTHONPATH="$builddir/build/lib.linux-$_pyarch-$_py3ver" py.test-3 -v
}
package() {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment