# Description: Python parsing module. # URL: https://pypi.python.org/pypi/pyparsing/ # Maintainer: Danny Rawlins, crux at romster dot me # Depends on: python-setuptools name=python-pyparsing version=2.4.7 release=1 source=(https://files.pythonhosted.org/packages/source/${name:7:1}/${name#*-}/${name#*-}-$version.tar.gz) build() { cd ${name#*-}-$version /usr/bin/python setup.py build /usr/bin/python setup.py install \ --prefix=/usr --root=$PKG --optimize=1 find $PKG/usr/lib/python*/site-packages -type f -exec chmod go-w {} + }