22 lines
799 B
Bash
22 lines
799 B
Bash
# Template file for 'python3-codespell'
|
|
pkgname=python3-codespell
|
|
version=2.2.4
|
|
revision=2
|
|
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=0b4620473c257d9cde1ff8998b26b2bb209a35c2b7489f5dc3436024298ce83a
|
|
conflicts="python-codespell>=0"
|
|
|
|
pre_check() {
|
|
vsed -e '/addopts/d' -i pyproject.toml
|
|
}
|