summaryrefslogtreecommitdiff
path: root/python3-cssselect/Pkgfile
blob: 18a651395bf2435ea3c3a85ff3497fc25ee6e04a (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: python3-setuptools
    5 
    6 name=python3-cssselect
    7 version=1.2.0
    8 release=1
    9 source=(https://files.pythonhosted.org/packages/source/${name:8:1}/${name#*-}/${name#*-}-$version.tar.gz)
   10 
   11 build() {
   12 	cd ${name#*-}-$version
   13 
   14 	/usr/bin/python3 setup.py build
   15 
   16 	/usr/bin/python3 setup.py install \
   17 		--prefix=/usr --root=$PKG --optimize=1
   18 }

Generated by cgit