python3-codespell: update to 2.2.2.

Adopt.
This commit is contained in:
icp 2022-12-14 01:45:14 +05:30 committed by Michal Vasilek
parent 89be7f9c9f
commit 22080a571f

View file

@ -1,20 +1,20 @@
# Template file for 'python3-codespell' # Template file for 'python3-codespell'
pkgname=python3-codespell pkgname=python3-codespell
version=2.1.0 version=2.2.2
revision=2 revision=1
build_style=python3-module build_style=python3-module
hostmakedepends="python3-setuptools" hostmakedepends="python3-setuptools_scm python3-wheel"
depends="python3-chardet" depends="python3-chardet"
checkdepends="python3-pytest-cov $depends" checkdepends="${depends} python3-pytest"
short_desc="Checks code for common spelling mistakes (Python3)" short_desc="Checks code for common spelling mistakes (Python3)"
maintainer="Orphaned <orphan@voidlinux.org>" maintainer="icp <pangolin@vivaldi.net>"
license="GPL-2.0-or-later" license="GPL-2.0-only"
homepage="https://github.com/codespell-project/codespell" homepage="https://pypi.org/project/codespell/"
distfiles="https://github.com/codespell-project/codespell/archive/v${version}.tar.gz" distfiles="${PYPI_SITE}/c/codespell/codespell-${version}.tar.gz"
checksum=8d0730b6ff35e56bda8d9600ccffbf27bb83905600775bf869cb8b9936b108c0 checksum=c4d00c02b5a2a55661f00d5b4b3b5a710fa803ced9a9d7e45438268b099c319c
conflicts="python-codespell>=0" conflicts="python-codespell>=0"
pre_check() { pre_check() {
# Remove test that needs itself vsed -e '/addopts/d' -i setup.cfg
vsed -i '/run_codespell/,/==4/d' codespell_lib/tests/test_basic.py export PATH="${wrksrc}/bin:${PATH}"
} }