python3-codespell: update to 2.1.0.

This commit is contained in:
Michal Vasilek 2021-11-11 22:37:05 +01:00
parent 1f9aab20b4
commit b562b8e55e

View file

@ -1,15 +1,21 @@
# Template file for 'python3-codespell'
pkgname=python3-codespell
version=1.17.1
revision=2
version=2.1.0
revision=1
wrksrc="codespell-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-setuptools"
depends="python3-chardet"
checkdepends="python3-pytest-cov $depends"
short_desc="Checks code for common spelling mistakes (Python3)"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://github.com/codespell-project/codespell"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=d9d90fdb223c3462cc3982f44c018bad873092ed7ac5b9efe23e1350fbe2d4c7
distfiles="https://github.com/codespell-project/codespell/archive/v${version}.tar.gz"
checksum=8d0730b6ff35e56bda8d9600ccffbf27bb83905600775bf869cb8b9936b108c0
conflicts="python-codespell>=0"
pre_check() {
# Remove test that needs itself
vsed -i '/run_codespell/,/==4/d' codespell_lib/tests/test_basic.py
}