# Description: Lex and yacc parsing tools for Python
# URL:         https://github.com/dabeaz/ply
# Maintainer:  Thomas Penteker, tek at serverop dot de
# Depends on:  python

name=python-ply
version=3.11
release=1
source=(http://www.dabeaz.com/ply/ply-$version.tar.gz)

build() {
	cd ply-$version
	python setup.py build
	python setup.py install --prefix=/usr --root=$PKG --optimize=1

	find $PKG/usr/lib/python*/site-packages/ -maxdepth 1 -type f \
		 lists buffers-name "${name#*-}-$version-py*.egg-info" -delete
}
