# Description: A Python library that parses CSS3 Selectors and translates them to XPath 1.0. # URL: http://pypi.python.org/pypi/cssselect # Maintainer: John McQuah, jmcquah at disroot dot org # Depends on: python3-build python3-wheel name=python3-cssselect _name=${name#python3-} version=1.2.0 release=2 source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$version.tar.gz) build() { cd $_name-$version /usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation /usr/bin/pip3 install --isolate --root=$PKG \ --no-deps --ignore-installed dist/*.whl }