From 3d5fdaf0a56c7967f044254720e2f2f029fa3585 Mon Sep 17 00:00:00 2001 From: Krzesimir Nowak Date: Fri, 2 Aug 2024 17:19:03 +0200 Subject: [PATCH] dev-python/charset-normalizer: Add from Gentoo It's from Gentoo commit 46842c759578fbc513cb38173cc8a77b348b79b6. --- .../dev-python/charset-normalizer/Manifest | 1 + .../charset-normalizer-3.3.2.ebuild | 28 +++++++++++++++++++ .../charset-normalizer/metadata.xml | 12 ++++++++ 3 files changed, 41 insertions(+) create mode 100644 sdk_container/src/third_party/portage-stable/dev-python/charset-normalizer/Manifest create mode 100644 sdk_container/src/third_party/portage-stable/dev-python/charset-normalizer/charset-normalizer-3.3.2.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/dev-python/charset-normalizer/metadata.xml diff --git a/sdk_container/src/third_party/portage-stable/dev-python/charset-normalizer/Manifest b/sdk_container/src/third_party/portage-stable/dev-python/charset-normalizer/Manifest new file mode 100644 index 0000000000..2daedf7adb --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-python/charset-normalizer/Manifest @@ -0,0 +1 @@ +DIST charset-normalizer-3.3.2.tar.gz 104809 BLAKE2B dbc3271794c7d73ee0d2ccbc5cdc3aa56181ac1331b69bd72928a20cb464f64fc190fd5f627b1deab4bba4a3c62144272e4b1368d2020707522bcae10c8a9607 SHA512 227dd9496e080310b3262fe0ffc32b5ebed16e5b3a294877555c0b04dee0cb073a2a0a4fa8dbad3029703ffaf1857acf24d9b87ca74d75fa2f0ba8fd3413e9c4 diff --git a/sdk_container/src/third_party/portage-stable/dev-python/charset-normalizer/charset-normalizer-3.3.2.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/charset-normalizer/charset-normalizer-3.3.2.ebuild new file mode 100644 index 0000000000..35b48d0255 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-python/charset-normalizer/charset-normalizer-3.3.2.ebuild @@ -0,0 +1,28 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# please keep this ebuild at EAPI 8 -- sys-apps/portage dep +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{10..13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="The Real First Universal Charset Detector" +HOMEPAGE=" + https://pypi.org/project/charset-normalizer/ + https://github.com/Ousret/charset_normalizer/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos" + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -o addopts= +} diff --git a/sdk_container/src/third_party/portage-stable/dev-python/charset-normalizer/metadata.xml b/sdk_container/src/third_party/portage-stable/dev-python/charset-normalizer/metadata.xml new file mode 100644 index 0000000000..a2eef9f008 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-python/charset-normalizer/metadata.xml @@ -0,0 +1,12 @@ + + + + + python@gentoo.org + + + + Ousret/charset_normalizer + charset-normalizer + +