1 # Maintainer: George Rawlinson <grawlinson@archlinux.org>
2 # Contributor: Felix Yan <felixonmars@archlinux.org>
4 pkgname=python-soupsieve
7 pkgdesc='A CSS4 selector implementation for Beautiful Soup'
9 url='https://github.com/facelessuser/soupsieve'
20 'python-beautifulsoup4'
24 _commit='2e66bebb5b5eb2b0824622e17dbdc82ec3459ab3'
25 source=("$pkgname::git+$url#commit=$_commit")
31 git describe --tags | sed 's/^v//'
37 python -m build --wheel --no-isolation
43 # https://gitlab.gnome.org/GNOME/libxml2/-/issues/312
45 --deselect tests/test_extra/test_soup_contains.py::TestSoupContains::test_contains_cdata_html \
46 --deselect tests/test_extra/test_soup_contains_own.py::TestSoupContainsOwn::test_contains_own_cdata_html
52 python -m installer --destdir="$pkgdir" dist/*.whl
55 install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE.md