diff options
author | prspkt <prspkt@protonmail.com> | 2019-07-17 01:53:05 +0300 |
---|---|---|
committer | prspkt <prspkt@protonmail.com> | 2019-07-17 01:53:16 +0300 |
commit | 28bb49bcb7d9ba4b950996f97909ccce39cea91c (patch) | |
tree | 44924e1ac04c92c97c723425a766e16026357eb9 /testing/py3-typed-ast | |
parent | 17b9704c3c43084c03b0a56a9fc947b111f047e9 (diff) | |
download | aports-28bb49bcb7d9ba4b950996f97909ccce39cea91c.tar.bz2 aports-28bb49bcb7d9ba4b950996f97909ccce39cea91c.tar.xz |
testing/py3-typed-ast: upgrade to 1.4.0
* Add checkdepends and run test suite.
Diffstat (limited to 'testing/py3-typed-ast')
-rw-r--r-- | testing/py3-typed-ast/APKBUILD | 9 |
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" |