void-packages/srcpkgs/python-ply/template

19 lines
521 B
Bash

# Template file for 'python-ply'
pkgname=python-ply
version=3.11
revision=7
build_style=python2-module
hostmakedepends="python-setuptools"
depends="python"
short_desc="Lex and Yacc for Python2"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="http://www.dabeaz.com/ply/"
distfiles="${PYPI_SITE}/p/ply/ply-${version}.tar.gz"
checksum=00c7c1aaa88358b9c765b6d3000c6eec0ba42abca5351b095321aef446081da3
post_install() {
sed -n '/Copyright/,/POSSIBILITY/p' README.md >LICENSE
vlicense LICENSE
}