blob: 56460a2011de41f098be0cbad2c2c042de2a949d (
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.0.3
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/python3 setup.py build
15
16 /usr/bin/python3 setup.py install \
17 --prefix=/usr --root=$PKG --optimize=1
18 }
|