contrib/python-cssselect/Pkgfile
2019-09-21 14:03:13 +10:00

19 lines
523 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
# Depends on: python-setuptools
name=python-cssselect
version=1.1.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
}