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