public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/beautifulsoup4/
Date: Wed, 11 May 2022 20:11:12 +0000 (UTC)	[thread overview]
Message-ID: <1652299869.c804a3c3b5e127623237af64d6a3bbe1c50a3d76.mgorny@gentoo> (raw)

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


             reply	other threads:[~2022-05-11 20:11 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-11 20:11 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-08 10:50 [gentoo-commits] repo/gentoo:master commit in: dev-python/beautifulsoup4/ Michał Górny
2025-03-08  9:32 Arthur Zamarin
2025-02-16 15:08 Michał Górny
2025-02-05  8:06 Michał Górny
2025-02-03 13:38 Michał Górny
2024-05-09 19:13 Michał Górny
2024-02-03  9:17 Michał Górny
2024-02-03  8:33 Arthur Zamarin
2024-01-18  3:43 Michał Górny
2023-05-26 16:55 Michał Górny
2023-04-22  9:16 Michał Górny
2023-04-22  9:02 Arthur Zamarin
2023-04-08  5:13 Michał Górny
2023-04-06  3:07 Michał Górny
2023-03-21  5:59 Michał Górny
2023-03-03 17:48 Michał Górny
2023-03-03 17:48 Michał Górny
2023-03-03 17:39 Arthur Zamarin
2023-01-31 19:09 Arthur Zamarin
2022-05-15 10:41 Michał Górny
2022-04-09  6:52 Michał Górny
2021-10-09 19:27 Arthur Zamarin
2021-10-09 19:18 Sam James
2021-09-27  8:40 James Le Cuirot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1652299869.c804a3c3b5e127623237af64d6a3bbe1c50a3d76.mgorny@gentoo \
    --to=mgorny@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox