diff --git a/srcpkgs/python3-beniget/template b/srcpkgs/python3-beniget/template new file mode 100644 index 0000000000..7c165d12ab --- /dev/null +++ b/srcpkgs/python3-beniget/template @@ -0,0 +1,23 @@ +# 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 " +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 +}