#Maintainer: Frederic Boulet bipbiponlinux~AT~gmail.com pkgname=pyparsing pkgver=1.5.6 zenver=72 pkgrel=1 arch=noarch source=("http://cheeseshop.python.org/packages/source/p/pyparsing/pyparsing-$pkgver.tar.gz") sourcetemplate=http://zenwalk.pinguix.com/user-accounts/bip/EXTRA/l/$pkgname docs=("readme" "install" "copying" "changelog*" "authors" "news" "todo" "hacking" "maintainers" "thanks") url=http://pyparsing.wikispaces.com/ options=('norequiredbuilder' 'keepdepfile' 'noautodotnew') slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "pyparsing - (A parsing module for python)" "The pyparsing module is an alternative approach to creating and" "executing simple grammars, vs. the traditional lex/yacc" "approach, or the use of regular expressions. The pyparsing" "module provides a library of classes that client code uses to" "construct the grammar directly in Python code." ) build() { cd $startdir/src/$pkgname-$pkgver # disabling pyparsing for python3 sed -i "s|\"pyparsing\", \"pyparsing_py3\"|\"pyparsing\"|" setup.py python ./setup.py build python ./setup.py install --root=$startdir/pkg }