commit:     aa85a41c49d175d3d93d7113ab0f7d8c63319eb2
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 16 18:59:57 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Sep 16 18:59:57 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa85a41c

dev-python/cchardet: Bump to 2.1.19 of faust-cchardet fork

Switch to the faust-cchardet fork since cchardet is unmaintained.

Closes: https://bugs.gentoo.org/913401
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/cchardet/Manifest               |  1 +
 dev-python/cchardet/cchardet-2.1.19.ebuild | 28 ++++++++++++++++++++++++++++
 dev-python/cchardet/metadata.xml           |  8 ++++++--
 3 files changed, 35 insertions(+), 2 deletions(-)

diff --git a/dev-python/cchardet/Manifest b/dev-python/cchardet/Manifest
index 0bcc88256498..898f05e370b4 100644
--- a/dev-python/cchardet/Manifest
+++ b/dev-python/cchardet/Manifest
@@ -1 +1,2 @@
 DIST cchardet-2.1.7.tar.gz 653617 BLAKE2B 
0ca9becac01c67da191290c7de0dc52d5c8e6c2715f660811c8e67d9a06e74ac155a081de81af96ade74ccc4065093fc226f232a26f66236fafe9fc1b48a9c9e
 SHA512 
43e663e30ec079b2a954862de5e8136a2e40f69e300d65eb4ce9d7ffa5d8c496dc7c0937b3306b4096cfad12a1d0617628f8f0115534ab6faf9eb39d2b3935a2
+DIST faust-cchardet-2.1.19.tar.gz 678871 BLAKE2B 
e87389ef602bc5e69ae2037aff1000b9caacfd91a44c5eb8fb2084d4ac33772eb8e480b05109ff83ebfcb2b9a57e215b4bc9cc5558f4f7e1a19b58dd1dfca8b5
 SHA512 
bd75ddf8b2e9891fe6ecdfd687a6903342a24b93f35a3d9a1b20da9abc77684e73840db73da97689636e3412e33da25b68cfafad114186681d0dec98880ffe95

diff --git a/dev-python/cchardet/cchardet-2.1.19.ebuild 
b/dev-python/cchardet/cchardet-2.1.19.ebuild
new file mode 100644
index 000000000000..040185bcc018
--- /dev/null
+++ b/dev-python/cchardet/cchardet-2.1.19.ebuild
@@ -0,0 +1,28 @@
+# Copyright 2021-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+PYPI_PN=faust-cchardet
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="High speed universal character encoding detector"
+HOMEPAGE="
+       https://github.com/faust-streaming/cChardet/
+       https://pypi.org/project/faust-cchardet/
+"
+
+LICENSE="MPL-1.1"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+
+BDEPEND="
+       dev-python/cython[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest

diff --git a/dev-python/cchardet/metadata.xml b/dev-python/cchardet/metadata.xml
index 04994b4fd816..2cf31bd36ca7 100644
--- a/dev-python/cchardet/metadata.xml
+++ b/dev-python/cchardet/metadata.xml
@@ -4,8 +4,12 @@
        <maintainer type="person">
                <email>zmed...@gentoo.org</email>
        </maintainer>
+       <maintainer type="project">
+               <email>pyt...@gentoo.org</email>
+               <name>Python</name>
+       </maintainer>
        <upstream>
-               <remote-id type="pypi">cchardet</remote-id>
-               <remote-id type="github">PyYoshi/cChardet</remote-id>
+               <remote-id type="pypi">faust-cchardet</remote-id>
+               <remote-id type="github">faust-streaming/cChardet</remote-id>
        </upstream>
 </pkgmetadata>

Reply via email to