# Description: Python HTML/XML Parser. # URL: https://www.crummy.com/software/BeautifulSoup/ # Maintainer: John McQuah, jmcquah at disroot dot org # Depends on: python3-hatchling python3-tox python3-chardet python3-soupsieve name=python3-beautifulsoup4 _name=${name#*-} version=4.12.3 release=1 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 --compile-bytecode 2 --destdir=$PKG dist/*.whl rm -rf $PKG/usr/lib/python3.10/site-packages/$_name-$version.dist-info/licenses/ }