commit:     7107b650f20b7bf4bfe21633418784de8891e10a
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 23 03:28:04 2026 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Feb 23 03:45:59 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7107b650

dev-python/chardet: Bump to 6.0.0_p1

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/chardet/Manifest                |  1 +
 dev-python/chardet/chardet-6.0.0_p1.ebuild | 37 ++++++++++++++++++++++++++++++
 2 files changed, 38 insertions(+)

diff --git a/dev-python/chardet/Manifest b/dev-python/chardet/Manifest
index 41980181b329..e098bc0ddf17 100644
--- a/dev-python/chardet/Manifest
+++ b/dev-python/chardet/Manifest
@@ -1 +1,2 @@
 DIST chardet-5.2.0.gh.tar.gz 2067352 BLAKE2B 
e9b960bad6ad7e9933f0fcd6e445bdefdd795f6150bf96e59714bfb9bd0cf63adeba80b608a1890f07be81565c160977fa96140984720407d93b0919eeb71a8b
 SHA512 
3c6614882b251e53322eb75fdd01c3d7664c5f611bbfc1480fa10d57f02906b4be42a8b7ff4d3bdc00465340a2ca46b31f1f0d25f64d4f69df0ac0876e71e87f
+DIST chardet-6.0.0.post1.tar.gz 12521798 BLAKE2B 
1aac9c3fa5a7e7ac3dd366e02a2395f929a9df3141e7bf609415be471d82179e9f72de7a8584bcad34a04f9ebf426be61205c3c6932a792b770f3971500fe3d0
 SHA512 
c0581f1c108413407e4155ea1beceb84626c91472640657f2e17359624f7649046882ce2815330c7ce96a4320b1a85840b0235c4329637eb73f21bae85504c31

diff --git a/dev-python/chardet/chardet-6.0.0_p1.ebuild 
b/dev-python/chardet/chardet-6.0.0_p1.ebuild
new file mode 100644
index 000000000000..e4af02e45981
--- /dev/null
+++ b/dev-python/chardet/chardet-6.0.0_p1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=hatchling
+PYTHON_COMPAT=( python3_{11..14} pypy3_11 )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Universal encoding detector"
+HOMEPAGE="
+       https://github.com/chardet/chardet/
+       https://pypi.org/project/chardet/
+"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~x64-macos ~x64-solaris"
+
+BDEPEND="
+       dev-python/hatch-vcs[${PYTHON_USEDEP}]
+"
+
+EPYTEST_PLUGINS=( hypothesis )
+EPYTEST_XDIST=1
+distutils_enable_tests pytest
+
+python_test() {
+       local EPYTEST_DESELECT=(
+               # super flaky test
+               # https://github.com/chardet/chardet/issues/256
+               test.py::test_detect_all_and_detect_one_should_agree
+       )
+
+       epytest -o addopts=
+}

Reply via email to