Unverified Commit 28bb49bc authored by prspkt's avatar prspkt
Browse files

testing/py3-typed-ast: upgrade to 1.4.0

* Add checkdepends and run test suite.
parent 17b9704c
# 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"
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