From 6ea884fea00955ed0820480a621558d414792742 Mon Sep 17 00:00:00 2001 From: "Andrew J. Hesford" Date: Mon, 6 Dec 2021 09:07:09 -0500 Subject: [PATCH] New package: python3-beniget-0.4.1 --- srcpkgs/python3-beniget/template | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 srcpkgs/python3-beniget/template 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 +}