void-packages/srcpkgs/python3-typed-ast/template
Michal Vasilek a09b29dfdf python3-typed-ast: update to 1.4.3.
* remove do_patch(), because the changes were upstreamed
  by sgn and CameronNemo in
43599d6dbf
2021-07-12 22:40:16 -03:00

20 lines
612 B
Bash

# Template file for 'python3-typed-ast'
pkgname=python3-typed-ast
version=1.4.3
revision=1
wrksrc="typed_ast-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
makedepends="python3-devel"
checkdepends="python3-pytest"
short_desc="AST module with type comment support"
maintainer="whoami <whoami@systemli.org>"
license="Apache-2.0"
homepage="https://github.com/python/typed_ast"
distfiles="https://github.com/python/typed_ast/archive/${version}.tar.gz"
checksum=c393d5576856f50189e741c38850e529f38aeb77fd7b40d2d9b1f4340e802faa
do_check() {
PYTHONPATH="$(cd build/lib* && pwd)" pytest
}