blob: f3d8c50fb2a603e0e5b38add890b536523342af8 (
plain)
1 # Description: Lex and yacc parsing tools for Python
2 # URL: https://github.com/dabeaz/ply
3 # Maintainer: Thomas Penteker, tek at serverop dot de
4 # Depends on: python
5
6 name=python-ply
7 version=3.11
8 release=1
9 source=(http://www.dabeaz.com/ply/ply-$version.tar.gz)
10
11 build() {
12 cd ply-$version
13 python setup.py build
14 python setup.py install --prefix=/usr --root=$PKG --optimize=1
15
16 find $PKG/usr/lib/python*/site-packages/ -maxdepth 1 -type f \
17 lists buffers-name "${name#*-}-$version-py*.egg-info" -delete
18 }
|