commit:     aff7a47b693c02870e25d08490ae467c9b6d535b
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 28 06:27:23 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Oct 28 06:27:23 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aff7a47b

dev-python/pyspelling: Bump to 2.12

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/pyspelling/Manifest               |  1 +
 dev-python/pyspelling/pyspelling-2.12.ebuild | 68 ++++++++++++++++++++++++++++
 2 files changed, 69 insertions(+)

diff --git a/dev-python/pyspelling/Manifest b/dev-python/pyspelling/Manifest
index 4aa469c4a9ca..51b5c4718cd9 100644
--- a/dev-python/pyspelling/Manifest
+++ b/dev-python/pyspelling/Manifest
@@ -1 +1,2 @@
 DIST pyspelling-2.11.gh.tar.gz 153925 BLAKE2B 
b0f125a7a91b946d75479e2d7e001af1fc61dc2e57454e92d3ab4faf28c69d7d12771a1f83edffa1235a4e7a3822fecdd90c7d456b75ad868ecc78182442ef1c
 SHA512 
908e2521c6bdff749994809b87310d4153c77873be7cc9543c40857dec351d5432c23c6bf408704a913ccc0563086bf2789384c7f65a24cc89e5807b18571347
+DIST pyspelling-2.12.gh.tar.gz 154057 BLAKE2B 
4abd43e5ec97a63ccf9397b64499e036e400108b0b2248c85400b3ecb96105b0e53eb845ca5c6547e7cf9f3c43f011e8606af0b91f9dfd699e37fb89c1560716
 SHA512 
9a50e60043fbd26510152d577ce36b098bd54d407568f53d19de11ce42f017c5cd019a402e9894da468a2831a11eee45f7271290ea37045d9636008d05e4745a

diff --git a/dev-python/pyspelling/pyspelling-2.12.ebuild 
b/dev-python/pyspelling/pyspelling-2.12.ebuild
new file mode 100644
index 000000000000..820ab939f2d0
--- /dev/null
+++ b/dev-python/pyspelling/pyspelling-2.12.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{11..13} )
+DISTUTILS_USE_PEP517=hatchling
+
+DOCS_BUILDER="mkdocs"
+DOCS_DEPEND="
+       >=dev-python/mkdocs-pymdownx-material-extras-2.1
+       dev-python/mkdocs-git-revision-date-localized-plugin
+       dev-python/mkdocs-minify-plugin
+"
+
+inherit distutils-r1 docs
+
+DESCRIPTION="Spell checker automation tool"
+HOMEPAGE="
+       https://github.com/facelessuser/pyspelling/
+       https://pypi.org/project/pyspelling/
+"
+SRC_URI="
+       https://github.com/facelessuser/pyspelling/archive/${PV}.tar.gz
+               -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
+
+RDEPEND="
+       || ( app-text/aspell app-text/hunspell )
+
+       dev-python/beautifulsoup4[${PYTHON_USEDEP}]
+       dev-python/html5lib[${PYTHON_USEDEP}]
+       dev-python/lxml[${PYTHON_USEDEP}]
+       dev-python/markdown[${PYTHON_USEDEP}]
+       dev-python/pyyaml[${PYTHON_USEDEP}]
+       >=dev-python/soupsieve-1.8[${PYTHON_USEDEP}]
+       >=dev-python/wcmatch-6.5[${PYTHON_USEDEP}]
+"
+# The package can use either aspell or hunspell but tests both if both
+# are installed.  Therefore, we need to ensure that both have English
+# dictionary installed.
+BDEPEND="
+       test? (
+               app-dicts/aspell-en
+               app-dicts/myspell-en
+               dev-vcs/git
+       )
+"
+
+EPYTEST_PLUGINS=()
+distutils_enable_tests pytest
+
+python_prepare_all() {
+       # mkdocs-git-revision-date-localized-plugin needs git repo
+       if use doc; then
+               git init -q || die
+               git config --global user.email "[email protected]" || die
+               git config --global user.name "Your Name" || die
+               git add . || die
+               git commit -q -m 'init' || die
+       fi
+
+       distutils-r1_python_prepare_all
+}

Reply via email to