void-packages/srcpkgs/python3-beniget/template

23 lines
644 B
Bash

# Template file for 'python3-beniget'
pkgname=python3-beniget
version=0.4.2.post1
revision=1
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=a0258537e65e7e14ec33a86802f865a667f949bb6c73646d55e42f7c45a052ae
do_check() {
python3 -m pytest tests/*
}
post_install() {
vlicense LICENSE
}