vp-build/srcpkgs/python3-esprima/template

22 lines
782 B
Bash

# Template file for 'python3-esprima'
pkgname=python3-esprima
version=4.0.1
revision=2
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 <realtiaz@gmail.com>"
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
}