aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-typed-ast/APKBUILD
blob: d05d3ef35b161659b5374a992694b875a796b0c0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Contributor: prspkt <prspkt@protonmail.com>
# Maintainer: prspkt <prspkt@protonmail.com>
pkgname=py3-typed-ast
_pkgname=typed-ast
pkgver=1.3.5
pkgrel=0
pkgdesc="Fork of the Python ast module with type comment support"
url="https://github.com/python/typed_ast"
arch="all"
license="Apache-2.0"
depends="python3"
makedepends="py3-setuptools python3-dev"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/"$_pkgname-$pkgver

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="e02a13d28b793229f5535a9e794f740d089b63fc632053a44f44b53d64d1742b5aca9d0ae4e0a292488524822a056181a21fa809d0b7e8eaadffb0f8e2c02f20  typed-ast-1.3.5.tar.gz"