From 0bbdd5ba4a4eb5177bad09e93b95b1f77ca386c3 Mon Sep 17 00:00:00 2001 From: Andreas Billmeier Date: Sat, 9 Mar 2024 16:24:44 +0100 Subject: [PATCH] dev-python/ftfy: new package, add 6.1.3 Signed-off-by: Andreas Billmeier --- README.md | 6 +++--- dev-python/ftfy/Manifest | 3 +++ dev-python/ftfy/ftfy-6.1.3.ebuild | 28 ++++++++++++++++++++++++++++ dev-python/ftfy/metadata.xml | 15 +++++++++++++++ 4 files changed, 49 insertions(+), 3 deletions(-) create mode 100644 dev-python/ftfy/Manifest create mode 100644 dev-python/ftfy/ftfy-6.1.3.ebuild create mode 100644 dev-python/ftfy/metadata.xml diff --git a/README.md b/README.md index 904232712..3355b630b 100644 --- a/README.md +++ b/README.md @@ -617,12 +617,12 @@ 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 1847 Ebuilds in total, 1836 of them have in total 1855 (42 different) licenses assigned. +There are 1849 Ebuilds in total, 1838 of them have in total 1857 (42 different) licenses assigned. |License| Ebuilds using it| |-------|-----| -|MIT|1048| -|Apache-2.0|419| +|MIT|1049| +|Apache-2.0|420| |GPL-3|121| |BSD|103| |LGPL-3|24| diff --git a/dev-python/ftfy/Manifest b/dev-python/ftfy/Manifest new file mode 100644 index 000000000..cf8486129 --- /dev/null +++ b/dev-python/ftfy/Manifest @@ -0,0 +1,3 @@ +DIST ftfy-6.1.3.tar.gz 62661 BLAKE2B c6f60edd02b09850cb1ca7be741f26db34fa938f2e29d08a27241768152321753630dc1c64a92fdb4e0cb8901179d76ceaa42a7237e02fe89f9ab3e9f72b6966 SHA512 2c2a8ec537895f70183b39db80ba163053745afe9ffe9d9d51334debc29808c0fc48193edeca397d4e3a9566d885ac222b08f3b0472ff35b3450c882647cde2f +EBUILD ftfy-6.1.3.ebuild 614 BLAKE2B d09074483465102313718dbb96991fbe425c1fff6112324c486b187af4da1cea9d5eba881cb2488413dbe063301cdb8c0ee598b5626308be9e39927c05e76004 SHA512 53cc809abca0327c4c7e8d147bd5366feb91cbf4be627fe949e91130106e39a8a5655ebde7d4faeacae2317d5329607049c08fd84cb05effb5207102c9e21ffc +MISC metadata.xml 448 BLAKE2B 9e5361fcd6ed4c95f038fc635374b6928bb738efe49763ba00f19b980e9958a210df11dc937922c14222c16d6f96112a8eeff10c8b6fa90545e42edc2ce791e2 SHA512 94454cb570741256250ca055cb8ceee759024f573554f8de7ed57848dcd4a3c270f1ef3c241a053d202f86a790140eee3ca38de8ead41c43448d9fb34e4426a2 diff --git a/dev-python/ftfy/ftfy-6.1.3.ebuild b/dev-python/ftfy/ftfy-6.1.3.ebuild new file mode 100644 index 000000000..091ac6bbe --- /dev/null +++ b/dev-python/ftfy/ftfy-6.1.3.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{11..12} ) +DISTUTILS_USE_PEP517=poetry +inherit distutils-r1 pypi + +DESCRIPTION="Fixes mojibake and other problems with Unicode, after the fact" +HOMEPAGE=" https://pypi.org/project/ftfy/" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="amd64 arm arm64 x86" +IUSE="test" +RESTRICT="!test? ( test )" + +DOCS="README.md" + +RDEPEND="dev-python/wcwidth[${PYTHON_USEDEP}]" +src_prepare() { + remove uneccesary include + sed "7d" -i pyproject.toml || die + eapply_user +} + +distutils_enable_tests pytest diff --git a/dev-python/ftfy/metadata.xml b/dev-python/ftfy/metadata.xml new file mode 100644 index 000000000..432407e83 --- /dev/null +++ b/dev-python/ftfy/metadata.xml @@ -0,0 +1,15 @@ + + + + + b@edevau.net + Andreas Billmeier + + + ftfy + + rspeer@arborelia.net + Robyn Speer + + +