commit: c804a3c3b5e127623237af64d6a3bbe1c50a3d76 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Wed May 11 18:06:23 2022 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Wed May 11 20:11:09 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c804a3c3
dev-python/beautifulsoup4: Enable py3.11 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/beautifulsoup4/beautifulsoup4-4.11.1.ebuild | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/dev-python/beautifulsoup4/beautifulsoup4-4.11.1.ebuild b/dev-python/beautifulsoup4/beautifulsoup4-4.11.1.ebuild index 9e6b4d8e07cd..5d5d50bc1f75 100644 --- a/dev-python/beautifulsoup4/beautifulsoup4-4.11.1.ebuild +++ b/dev-python/beautifulsoup4/beautifulsoup4-4.11.1.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8..10} pypy3 ) +PYTHON_COMPAT=( python3_{8..11} pypy3 ) inherit distutils-r1 @@ -21,6 +21,17 @@ RDEPEND=" dev-python/html5lib[${PYTHON_USEDEP}] dev-python/lxml[${PYTHON_USEDEP}] " +# bs4 prefers cchardet > chardet > charset-normalizer +# however, charset-normalizer causes test failures, so force the other two +# dev-python/chardet[${PYTHON_USEDEP}] +BDEPEND=" + test? ( + || ( + dev-python/cchardet[${PYTHON_USEDEP}] + dev-python/chardet[${PYTHON_USEDEP}] + ) + ) +" distutils_enable_tests pytest distutils_enable_sphinx doc/source