diff --git a/srcpkgs/python3-esprima/template b/srcpkgs/python3-esprima/template new file mode 100644 index 00000000000..c3a564123de --- /dev/null +++ b/srcpkgs/python3-esprima/template @@ -0,0 +1,21 @@ +# Template file for 'python3-esprima' +pkgname=python3-esprima +version=4.0.1 +revision=1 +wrksrc="esprima-${version}" +build_style=python3-module +pycompile_module="esprima" +hostmakedepends="python3-setuptools" +depends="python3 python3-setuptools" +short_desc="ECMAScript parsing infrastructure for multipurpose analysis in Python3" +maintainer="shizonic " +license="BSD-2-Clause" +homepage="https://github.com/Kronuz/esprima-python" +distfiles="${PYPI_SITE}/e/esprima/esprima-${version}.tar.gz + https://raw.githubusercontent.com/jquery/esprima/master/LICENSE.BSD>LICENSE.txt" +checksum="08db1a876d3c2910db9cfaeb83108193af5411fc3a3a66ebefacd390d21323ee + 94bcb9959136723aa4fb36e1a6c4d5c662a2369978cfae344dabfb83ae619e79" + +post_install() { + vlicense ../LICENSE.txt LICENSE +}