# Template file for 'python3-codespell' pkgname=python3-codespell version=2.1.0 revision=1 wrksrc="codespell-${version}" build_style=python3-module hostmakedepends="python3-setuptools" depends="python3-chardet" checkdepends="python3-pytest-cov $depends" short_desc="Checks code for common spelling mistakes (Python3)" maintainer="Orphaned " license="GPL-2.0-or-later" homepage="https://github.com/codespell-project/codespell" 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 }