aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
Diffstat (limited to 'testing')
-rw-r--r--testing/py3-typed-ast/APKBUILD9
1 files changed, 5 insertions, 4 deletions
diff --git a/testing/py3-typed-ast/APKBUILD b/testing/py3-typed-ast/APKBUILD
index d05d3ef35b..6e1943bbb2 100644
--- a/testing/py3-typed-ast/APKBUILD
+++ b/testing/py3-typed-ast/APKBUILD
@@ -1,8 +1,8 @@
# Contributor: prspkt <prspkt@protonmail.com>
# Maintainer: prspkt <prspkt@protonmail.com>
pkgname=py3-typed-ast
-_pkgname=typed-ast
-pkgver=1.3.5
+_pkgname=typed_ast
+pkgver=1.4.0
pkgrel=0
pkgdesc="Fork of the Python ast module with type comment support"
url="https://github.com/python/typed_ast"
@@ -10,6 +10,7 @@ arch="all"
license="Apache-2.0"
depends="python3"
makedepends="py3-setuptools python3-dev"
+checkdepends="py3-pytest"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/"$_pkgname-$pkgver
@@ -18,11 +19,11 @@ build() {
}
check() {
- python3 setup.py test
+ PYTHONPATH="$builddir/build/lib.linux-x86_64-3.7" py.test-3 -v
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
-sha512sums="e02a13d28b793229f5535a9e794f740d089b63fc632053a44f44b53d64d1742b5aca9d0ae4e0a292488524822a056181a21fa809d0b7e8eaadffb0f8e2c02f20 typed-ast-1.3.5.tar.gz"
+sha512sums="b74e7fc51cde16439eae7cf41f0bdb95b5998362eccb73cf736f343cdab64daab63bc0f95f05a4911b229761749bdd31ac83423b58f2f3e1e1dadc7e6015bc1c typed_ast-1.4.0.tar.gz"