dev-python/charset-normalizer: new package, add 3.2.0

Closes: #2361
Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier 2023-11-02 19:38:49 +01:00 committed by Andreas Billmeier
parent 0778108c09
commit 495cdf152c
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 51 additions and 4 deletions

View File

@ -612,11 +612,11 @@ A daily compile test is run at Github with Python 3.9 to catch general faults. E
## Licenses
This repository itself is released under GPL-3 (like most Gentoo repositories), all work on the depending components under the licenses they came from. Perhaps you came here because I filed an issue at your component about a bad or missing license. It is easy to [assign a license](https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/adding-a-license-to-a-repository). During cleanups and license investigations I have been asked often which license to choose. I am not a lawyer, but I can offer the following table, counted over this repository, perhaps this helps your decision. If a package has more than one license listed, all of them are counted.
There are 1910 Ebuilds in total, 1899 of them have in total 1918 (40 different) licenses assigned.
There are 1911 Ebuilds in total, 1900 of them have in total 1919 (40 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|1097|
|MIT|1098|
|Apache-2.0|417|
|GPL-3|123|
|BSD|105|
@ -657,9 +657,9 @@ There are 1910 Ebuilds in total, 1899 of them have in total 1918 (40 different)
|GPL-2+|1|
|GPL-2-with-linking-exception|1|
(Last counted: 01/11/2023)
(Last counted: 02/11/2023)
I did my best to keep these clean. If a valid license was published on PyPI, it has been automatically merged. Otherwise I took it from GitHub or alternatively from comments/files in the source. Sometimes these differed and have been not unique. All license strings are adjusted to the list in `/usr/portage/gentoo/licenses/`. Some packages do not have any license published. In this case, Authors have been asked for clarification, some did not respond. Following the [official Gentoo Guide](https://devmanual.gentoo.org/general-concepts/licenses/index.html), these then were added with an `all-rights-reserved` license and `RESTRICT="mirror"` was set. Find the appropriate licenses referenced in the Ebuild files and in the corresponding homepages or sources.
A big thanks goes to Iris for reviewing this README.
Last updated: 01/11/2023
Last updated: 02/11/2023

View File

@ -0,0 +1,3 @@
DIST charset-normalizer-3.2.0.tar.gz 97063 BLAKE2B 2192401d74abab5f7ccd434c5493ae59b449df9a6ab90190a236b3f665e3a940e15d00803a2477a7c2996030fa1e5bf725fc15b6373040f29f27feab9df6e1e1 SHA512 0e3967b489561394ca848c1fe7dfaa72a330a3f645e9386c1d2d2dc8c2e35a34a8186e6f3377eda2aed503a3e7e626fe116d7b34c2f4a3fd8446a4c1a8fb74cc
EBUILD charset-normalizer-3.2.0.ebuild 619 BLAKE2B 5c8d0bf58f9e145c5f324601977cb1d43dd06affaeb39f90df49dbb8c9c47a314bd3857de69c8cfe41adbca0f67af31ca15f242a50a70cfc9688297c90913bfe SHA512 c0dc5c5f1defa99756839f7ed59f80d888f8877f94fdaf9dd0b3847803a9526b53179daba96108cdb436ca18e748e0a542b610c74229a0575ab07d34da5d2b76
MISC metadata.xml 537 BLAKE2B 945573124563a0b1e483c880e8d5d6cf549c14db0ee8180cc9885e4e235346f17bd7450d5c1dae734b4d8f60a310f483228168eccb8a4bf2f101716c5deb40f3 SHA512 939eaccc10ab45f7346f67c5aa7970affd518d3dee8bb53b7cc804a460cec48e8f53fbbc2b485af5b4f0294b8bab3dbbcc8786435e15aab0c175aa9c6988a9a7

View File

@ -0,0 +1,28 @@
# Copyright 1999-2023 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..12} )
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="amd64 arm arm64 x86"
distutils_enable_tests pytest
python_test() {
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
epytest -o addopts=
}

View File

@ -0,0 +1,16 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>b@edevau.net</email>
<name>Andreas Billmeier</name>
</maintainer>
<upstream>
<remote-id type="pypi">charset-normalizer</remote-id>
<remote-id type="github">Ousret/charset_normalizer</remote-id>
<maintainer status="unknown">
<email>ahmed.tahri@cloudnursery.dev</email>
<name>Ahmed TAHRI</name>
</maintainer>
</upstream>
</pkgmetadata>