# Template file for 'python3-codespell' pkgname=python3-codespell version=2.2.2 revision=1 build_style=python3-module hostmakedepends="python3-setuptools_scm python3-wheel" depends="python3-chardet" checkdepends="${depends} python3-pytest" short_desc="Checks code for common spelling mistakes (Python3)" maintainer="icp " license="GPL-2.0-only" homepage="https://pypi.org/project/codespell/" distfiles="${PYPI_SITE}/c/codespell/codespell-${version}.tar.gz" checksum=c4d00c02b5a2a55661f00d5b4b3b5a710fa803ced9a9d7e45438268b099c319c conflicts="python-codespell>=0" pre_check() { vsed -e '/addopts/d' -i setup.cfg export PATH="${wrksrc}/bin:${PATH}" }