diff options
| author | Michał Górny <mgorny@gentoo.org> | 2025-08-28 05:24:15 +0200 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2025-08-28 05:42:31 +0200 |
| commit | 6cf10cad311cd60b789e23ca1d44180dd8d2d278 (patch) | |
| tree | a48345585a6c69e3d2a7203d8823f5cc4eb4f3b2 /dev-python | |
| parent | fff47116b949a305f4d22b5b6ecb315487be5613 (diff) | |
| download | gentoo-6cf10cad311cd60b789e23ca1d44180dd8d2d278.tar.gz gentoo-6cf10cad311cd60b789e23ca1d44180dd8d2d278.tar.bz2 gentoo-6cf10cad311cd60b789e23ca1d44180dd8d2d278.zip | |
dev-python/pyspelling: Bump to 2.11
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/pyspelling/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/pyspelling/pyspelling-2.11.ebuild | 68 |
2 files changed, 69 insertions, 0 deletions
diff --git a/dev-python/pyspelling/Manifest b/dev-python/pyspelling/Manifest index ce788e5aad75..179694dccfcc 100644 --- a/dev-python/pyspelling/Manifest +++ b/dev-python/pyspelling/Manifest @@ -1 +1,2 @@ DIST pyspelling-2.10.gh.tar.gz 152528 BLAKE2B 47ef182fb09bc3ec44b6c15da76f0d53266276ec807036378a3f5ae94daf98d3b3a49995ce2d12044c81743ee76d8b79547d84ae3c820be1f30161c75a654ba4 SHA512 dfe0d0c211555331dd6d97e06ce64ac2efbe5cc6172f684ca3b1802a8454b957781022375a9a53a2f522f4bd3bbf4e5892ab6be266bcfbe69c4861d95db00ab0 +DIST pyspelling-2.11.gh.tar.gz 153925 BLAKE2B b0f125a7a91b946d75479e2d7e001af1fc61dc2e57454e92d3ab4faf28c69d7d12771a1f83edffa1235a4e7a3822fecdd90c7d456b75ad868ecc78182442ef1c SHA512 908e2521c6bdff749994809b87310d4153c77873be7cc9543c40857dec351d5432c23c6bf408704a913ccc0563086bf2789384c7f65a24cc89e5807b18571347 diff --git a/dev-python/pyspelling/pyspelling-2.11.ebuild b/dev-python/pyspelling/pyspelling-2.11.ebuild new file mode 100644 index 000000000000..820ab939f2d0 --- /dev/null +++ b/dev-python/pyspelling/pyspelling-2.11.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 "you@example.com" || die + git config --global user.name "Your Name" || die + git add . || die + git commit -q -m 'init' || die + fi + + distutils-r1_python_prepare_all +} |
