From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3C2CC158020 for ; Fri, 2 Dec 2022 14:03:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8847E2BC010; Fri, 2 Dec 2022 14:03:39 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 747752BC010 for ; Fri, 2 Dec 2022 14:03:39 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AE21534122E for ; Fri, 2 Dec 2022 14:03:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F14B6775 for ; Fri, 2 Dec 2022 14:03:35 +0000 (UTC) From: "Arthur Zamarin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" Message-ID: <1669989793.68ad618dd7e3e84190f9071b205cc7d811665a0e.arthurzam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/chardet/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/chardet/Manifest dev-python/chardet/chardet-5.1.0.ebuild X-VCS-Directories: dev-python/chardet/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: 68ad618dd7e3e84190f9071b205cc7d811665a0e X-VCS-Branch: master Date: Fri, 2 Dec 2022 14:03:35 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 0c8f3ce1-e055-4466-867a-0a3a4a4a6e77 X-Archives-Hash: 415bdf0dc476e97bfa3c3e8e9bd5d654 commit: 68ad618dd7e3e84190f9071b205cc7d811665a0e Author: Arthur Zamarin gentoo org> AuthorDate: Fri Dec 2 14:02:06 2022 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Fri Dec 2 14:03:13 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68ad618d dev-python/chardet: add 5.1.0 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/chardet/Manifest | 1 + dev-python/chardet/chardet-5.1.0.ebuild | 31 +++++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+) diff --git a/dev-python/chardet/Manifest b/dev-python/chardet/Manifest index a5f2cf28032c..8a149e1d6f07 100644 --- a/dev-python/chardet/Manifest +++ b/dev-python/chardet/Manifest @@ -1 +1,2 @@ DIST chardet-5.0.0.gh.tar.gz 2016879 BLAKE2B 006992a4945840b3720e93f932618cf81debc094a3ae353bfdd4e56ecdc5a01e4a250bed15473d8d59108978fdbfb769081a9b87f672d35f4892d5ba04c2deb5 SHA512 d19413a4f1f571f3627ec3f55dcc6a69497f6a1d72fe972051713f4d7a473cd539cfbce2eb2c7a070295aa640c6ac2aec6fc0064751e465311935c0e4d88061a +DIST chardet-5.1.0.gh.tar.gz 2067545 BLAKE2B 92fd916884ecd562a3ad51c58848430d1b5acad0841a410f316be4346e4c2198e5c27ce5af8639a06d6472ece6807dd2618f4a50760e77925c994d13619d290e SHA512 531888329979d229f3e966a428d14feb4612df5b71e3dff3ee3358ecbc964af95370e4c03aacecea0941d11840a16b2b12814ea8af977ff81a5abbec41d983cd diff --git a/dev-python/chardet/chardet-5.1.0.ebuild b/dev-python/chardet/chardet-5.1.0.ebuild new file mode 100644 index 000000000000..1a0f32883fb2 --- /dev/null +++ b/dev-python/chardet/chardet-5.1.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Universal encoding detector" +HOMEPAGE=" + https://github.com/chardet/chardet/ + https://pypi.org/project/chardet/ +" +SRC_URI=" + https://github.com/chardet/chardet/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="LGPL-2.1" +SLOT="0" +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" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # super flaky test + # https://github.com/chardet/chardet/issues/256 + test.py::test_detect_all_and_detect_one_should_agree +)