summaryrefslogtreecommitdiff
path: root/python-cssselect/Pkgfile
blob: 8a9f60694588d7a724630a6f8b40bc5d7e693c7f (plain)
    1 # Description: A Python library that parses CSS3 Selectors and translates them to XPath 1.0.
    2 # URL: http://pypi.python.org/pypi/cssselect
    3 # Maintainer: Danny Rawlins, crux at romster dot me
    4 # Depends on: python-setuptools
    5 
    6 name=python-cssselect
    7 version=1.1.0
    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 }

Generated by cgit