# Depends on: python2-setuptools python2

description="A Python2 library that parses CSS3 Selectors and translates them to XPath 1.0"
url="http://pypi.python.org/pypi/cssselect"
packager="tnut <tnut@nutyx.org>"
contributors="Greg"

name=python2-cssselect
version=1.0.1
release=2

PKGMK_KEEP_SOURCES="no"

run=(python2 python2-setuptools)

source=(https://github.com/scrapy/cssselect/archive/v$version.tar.gz
)

build() {

cd cssselect-$version
python2 setup.py build

python2 setup.py install --root=$PKG --optimize=1
}
