commit: 490f4fa4ec9b003469d3b60e65dce4c1aea353f2 Author: Oz Tiram <oz.tiram <AT> gmail <DOT> com> AuthorDate: Sat May 24 12:25:17 2025 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Sat Jun 14 05:43:18 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=490f4fa4
dev-python/pyspellchecker: new package, add 0.8.2 Signed-off-by: Oz Tiram <oz.tiram <AT> gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/39331 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/pyspellchecker/Manifest | 1 + dev-python/pyspellchecker/metadata.xml | 22 ++++++++++++++++ .../pyspellchecker/pyspellchecker-0.8.2.ebuild | 29 ++++++++++++++++++++++ 3 files changed, 52 insertions(+) diff --git a/dev-python/pyspellchecker/Manifest b/dev-python/pyspellchecker/Manifest new file mode 100644 index 000000000000..38d1861c5417 --- /dev/null +++ b/dev-python/pyspellchecker/Manifest @@ -0,0 +1 @@ +DIST pyspellchecker-0.8.2.gh.tar.gz 78736515 BLAKE2B 18215ca7faea82207a9eda75f0e0921208972edb6a26dd57959f5f9a357dd52a907b0c72ece817c40e6a973838de9c2520698e01081690f33d8322f1ed6bdd2d SHA512 46772815bfe8afdb8c01e09801e757aabc42dff88a2ba8113678251c0f957a6dd6d37ff030c9bc724983a2b335a92e231d3aa461df5bd347863eaddb34b68066 diff --git a/dev-python/pyspellchecker/metadata.xml b/dev-python/pyspellchecker/metadata.xml new file mode 100644 index 000000000000..b1d2f9a69b27 --- /dev/null +++ b/dev-python/pyspellchecker/metadata.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <name>Oz Tiram</name> + <email>[email protected]</email> + </maintainer> + <maintainer type="project" proxied="proxy"> + <email>[email protected]</email> + <name>Proxy Maintainers</name> + </maintainer> + <maintainer type="project"> + <email>[email protected]</email> + <name>Python</name> + </maintainer> + <stabilize-allarches/> + <upstream> + <remote-id type="github">barrust/pyspellchecker</remote-id> + <remote-id type="pypi">pyspellchecker</remote-id> + <doc>https://pyspellchecker.readthedocs.io/</doc> + </upstream> +</pkgmetadata> diff --git a/dev-python/pyspellchecker/pyspellchecker-0.8.2.ebuild b/dev-python/pyspellchecker/pyspellchecker-0.8.2.ebuild new file mode 100644 index 000000000000..ba452f5d1680 --- /dev/null +++ b/dev-python/pyspellchecker/pyspellchecker-0.8.2.ebuild @@ -0,0 +1,29 @@ +# Copyright 2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517="setuptools" +PYTHON_COMPAT=( python3_{11..14} ) + +inherit distutils-r1 + +DESCRIPTION="Pure python spell checker based on work by Peter Norvig" +HOMEPAGE=" + https://github.com/barrust/pyspellchecker/ + https://pypi.org/project/pyspellchecker/ +" +SRC_URI=" + https://github.com/barrust/pyspellchecker/archive/refs/tags/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +distutils_enable_tests unittest + +python_test() { + eunittest -p '*_test.py' +}
