commit:     2e3a9122c1c2374154c2e0ce6a6a0f22092f7223
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 20 09:56:05 2022 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Aug 20 11:22:27 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e3a9122

dev-python/charset_normalizer: add 2.1.1

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-python/charset_normalizer/Manifest             |  1 +
 .../charset_normalizer-2.1.1.ebuild                | 36 ++++++++++++++++++++++
 2 files changed, 37 insertions(+)

diff --git a/dev-python/charset_normalizer/Manifest 
b/dev-python/charset_normalizer/Manifest
index 57dbb77e7c2c..07cdb9658dbb 100644
--- a/dev-python/charset_normalizer/Manifest
+++ b/dev-python/charset_normalizer/Manifest
@@ -1 +1,2 @@
 DIST charset_normalizer-2.1.0.gh.tar.gz 85498 BLAKE2B 
f18c491b7d2b32cfc3cd92b1dc074b89f562c11a1bdebb9d4ff7c230ac7c2394c6f7cb30caa8cde9d8da26f1ed527a01c28236099b793808274c1146f258546d
 SHA512 
a14e9e1d58eb23c9c568e7e74ab88361f522a76575b5ddc30df392f33584c821cf4943029395d2535c641d8fe441256803e6d2212e52c6f4b0544db64bd73b7c
+DIST charset_normalizer-2.1.1.gh.tar.gz 86024 BLAKE2B 
d0da455ea32ccfada7da3a91e1163e0b52e398971384caed969b027ce430af6a3b2b32305d3137047af584f2ecd28c5471d6df3dacd2830f98e5e028149fae64
 SHA512 
688477fd251ea604fcafd08589c11de2cbe57c26bba7f88d7289db2604a091ca481ca9bf6117b17fa13d787d9aacba8304a82e0988548ad0a47612e2437db6db

diff --git a/dev-python/charset_normalizer/charset_normalizer-2.1.1.ebuild 
b/dev-python/charset_normalizer/charset_normalizer-2.1.1.ebuild
new file mode 100644
index 000000000000..0ecf8bd8c9ef
--- /dev/null
+++ b/dev-python/charset_normalizer/charset_normalizer-2.1.1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# please keep this ebuild at EAPI 7 -- sys-apps/portage dep
+EAPI=7
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..11} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="The Real First Universal Charset Detector"
+HOMEPAGE="
+       https://pypi.org/project/charset-normalizer/
+       https://github.com/Ousret/charset_normalizer/
+"
+SRC_URI="
+       https://github.com/Ousret/charset_normalizer/archive/${PV}.tar.gz
+               -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+
+distutils_enable_tests pytest
+
+src_prepare() {
+       sed -i -e '/addopts/d' setup.cfg || die
+       distutils-r1_src_prepare
+}
+
+python_test() {
+       local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+       epytest
+}

Reply via email to