void-packages/srcpkgs/python3-beniget/template

24 lines
666 B
Bash

# Template file for 'python3-beniget'
pkgname=python3-beniget
version=0.4.1
revision=1
wrksrc="beniget-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools python3-gast"
depends="python3-gast"
checkdepends="python3-pytest $depends"
short_desc="Extract semantic information about static Python code"
maintainer="Andrew J. Hesford <ajh@sideband.org>"
license="BSD-3-Clause"
homepage="https://github.com/serge-sans-paille/beniget"
distfiles="${PYPI_SITE}/b/beniget/beniget-${version}.tar.gz"
checksum=75554b3b8ad0553ce2f607627dad3d95c60c441189875b98e097528f8e23ac0c
do_check() {
python3 -m pytest tests/*
}
post_install() {
vlicense LICENSE
}