blob: d143f606da9bdbaee73488402d6a77faf75c3d6a (
plain)
1 # Description: Python parsing module.
2 # URL: https://pypi.python.org/pypi/pyparsing/
3 # Maintainer: Danny Rawlins, crux at romster dot me
4 # Depends on: python-setuptools
5
6 name=python-pyparsing
7 version=2.4.6
8 release=1
9 source=(https://files.pythonhosted.org/packages/source/${name:7:1}/${name#*-}/${name#*-}-$version.tar.gz)
10
11 build() {
12 cd ${name#*-}-$version
13
14 /usr/bin/python setup.py build
15
16 /usr/bin/python setup.py install \
17 --prefix=/usr --root=$PKG --optimize=1
18
19 find $PKG/usr/lib/python*/site-packages -type f -exec chmod go-w {} +
20 }
|