# 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-wheel name=python3-cssselect _name=${name#python3-} version=1.3.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/python3 -m installer --destdir="$PKG" dist/*.whl rm -rf "$PKG"/usr/lib/python3.12/site-packages/$_name-$version.dist-info/licenses }