17 lines
521 B
Plaintext
17 lines
521 B
Plaintext
# Description: A Python library that parses CSS3 Selectors and translates them to XPath 1.0.
|
|
# URL: http://pypi.python.org/pypi/cssselect
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
|
# Packager: Danny Rawlins, crux at romster dot me
|
|
# Depends on: setuptools
|
|
|
|
name=cssselect
|
|
version=0.9.1
|
|
release=1
|
|
source=(https://pypi.python.org/packages/source/c/$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
|
|
}
|