void-packages/srcpkgs/python3-codespell/template

22 lines
799 B
Bash

# Template file for 'python3-codespell'
pkgname=python3-codespell
version=2.2.6
revision=1
build_style=python3-pep517
make_check_args="--deselect codespell_lib/tests/test_basic.py::test_command
--deselect codespell_lib/tests/test_basic.py::test_permission_error"
hostmakedepends="python3-setuptools_scm python3-wheel"
depends="python3-chardet"
checkdepends="${depends} python3-pytest"
short_desc="Checks code for common spelling mistakes (Python3)"
maintainer="icp <pangolin@vivaldi.net>"
license="GPL-2.0-only"
homepage="https://github.com/codespell-project/codespell"
distfiles="${PYPI_SITE}/c/codespell/codespell-${version}.tar.gz"
checksum=a8c65d8eb3faa03deabab6b3bbe798bea72e1799c7e9e955d57eca4096abcff9
conflicts="python-codespell>=0"
pre_check() {
vsed -e '/addopts/d' -i pyproject.toml
}