# Template file for 'python3-BeautifulSoup4'
pkgname=python3-BeautifulSoup4
version=4.14.3
revision=1
build_style=python3-pep517
# see https://bugs.launchpad.net/beautifulsoup/+bug/2134346
# and https://bugs.launchpad.net/beautifulsoup/+bug/2134393
make_check_args="
 --deselect bs4/tests/test_lxml.py::TestLXMLTreeBuilder::test_surrogate_in_character_reference
 --deselect bs4/tests/test_fuzz.py::TestFuzz::test_deeply_nested_document_without_css[clusterfuzz-testcase-minimized-bs4_fuzzer-5984173902397440]
 "
hostmakedepends="hatchling"
depends="python3-soupsieve python3-typing_extensions"
checkdepends="$depends python3-pytest python3-html5lib python3-lxml"
short_desc="Python3 HTML/XML parser"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://www.crummy.com/software/BeautifulSoup"
changelog="https://git.launchpad.net/beautifulsoup/plain/CHANGELOG"
distfiles="${PYPI_SITE}/b/beautifulsoup4/beautifulsoup4-${version}.tar.gz"
checksum=6292b1c5186d356bba669ef9f7f051757099565ad9ada5dd630bd9de5fa7fb86

post_install() {
	vlicense LICENSE
}
