diff options
Diffstat (limited to 'python-pyquery/Pkgfile')
-rw-r--r-- | python-pyquery/Pkgfile | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/python-pyquery/Pkgfile b/python-pyquery/Pkgfile new file mode 100644 index 000000000..50db03fdf --- /dev/null +++ b/python-pyquery/Pkgfile @@ -0,0 +1,18 @@ +# Description: Allows you to make jquery (API) queries on xml documents. +# URL: http://pypi.python.org/pypi/pyquery +# Maintainer: Danny Rawlins, crux at romster dot me +# Depends on: python-lxml + +name=python-pyquery +version=1.4.0 +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 +} |