1 |
commit: fb4a456f7b7d3136967352d50709acb58c4bb413 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jun 26 03:58:55 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jun 26 04:49:01 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb4a456f |
7 |
|
8 |
dev-python/chardet: Bump to 5.0.0 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/chardet/Manifest | 1 + |
13 |
dev-python/chardet/chardet-5.0.0.ebuild | 31 +++++++++++++++++++++++++++++++ |
14 |
2 files changed, 32 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/chardet/Manifest b/dev-python/chardet/Manifest |
17 |
index ed73b3a9c79e..f983fed53661 100644 |
18 |
--- a/dev-python/chardet/Manifest |
19 |
+++ b/dev-python/chardet/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST chardet-4.0.0.tar.gz 1923933 BLAKE2B 10dce34cbe6f01536a526931510ed625bc5062335e9419e24c9e48d5697ebbe70dcc54ffaa976ec153340cc74c3086627a3b1dd9e34be32c89a9a81e83fd70d0 SHA512 cb0e052fdd9fec251ebc6eb3f31ca95ece017f2bfa99122997f989286988058ed9688e49d00631c63d8e4e52da1050e23f02b28d0e739aee7302b24c8808370e |
22 |
+DIST chardet-5.0.0.tar.gz 2016879 BLAKE2B 006992a4945840b3720e93f932618cf81debc094a3ae353bfdd4e56ecdc5a01e4a250bed15473d8d59108978fdbfb769081a9b87f672d35f4892d5ba04c2deb5 SHA512 d19413a4f1f571f3627ec3f55dcc6a69497f6a1d72fe972051713f4d7a473cd539cfbce2eb2c7a070295aa640c6ac2aec6fc0064751e465311935c0e4d88061a |
23 |
|
24 |
diff --git a/dev-python/chardet/chardet-5.0.0.ebuild b/dev-python/chardet/chardet-5.0.0.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..dbf91552b944 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/chardet/chardet-5.0.0.ebuild |
29 |
@@ -0,0 +1,31 @@ |
30 |
+# Copyright 1999-2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+DISTUTILS_USE_PEP517=setuptools |
36 |
+PYTHON_COMPAT=( python3_{8..11} pypy3 ) |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="Universal encoding detector" |
41 |
+HOMEPAGE=" |
42 |
+ https://github.com/chardet/chardet/ |
43 |
+ https://pypi.org/project/chardet/ |
44 |
+" |
45 |
+SRC_URI=" |
46 |
+ https://github.com/chardet/chardet/archive/${PV}.tar.gz |
47 |
+ -> ${P}.tar.gz |
48 |
+" |
49 |
+ |
50 |
+LICENSE="LGPL-2.1" |
51 |
+SLOT="0" |
52 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris" |
53 |
+ |
54 |
+distutils_enable_tests pytest |
55 |
+ |
56 |
+EPYTEST_DESELECT=( |
57 |
+ # super flaky test |
58 |
+ # https://github.com/chardet/chardet/issues/256 |
59 |
+ test.py::test_detect_all_and_detect_one_should_agree |
60 |
+) |