diff --git a/srcpkgs/python3-codespell/template b/srcpkgs/python3-codespell/template index 6231b7a1ce8..ad1c875b99b 100644 --- a/srcpkgs/python3-codespell/template +++ b/srcpkgs/python3-codespell/template @@ -1,8 +1,10 @@ # Template file for 'python3-codespell' pkgname=python3-codespell -version=2.2.2 +version=2.2.4 revision=1 -build_style=python3-module +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" @@ -11,10 +13,9 @@ maintainer="icp " license="GPL-2.0-only" homepage="https://pypi.org/project/codespell/" distfiles="${PYPI_SITE}/c/codespell/codespell-${version}.tar.gz" -checksum=c4d00c02b5a2a55661f00d5b4b3b5a710fa803ced9a9d7e45438268b099c319c +checksum=0b4620473c257d9cde1ff8998b26b2bb209a35c2b7489f5dc3436024298ce83a conflicts="python-codespell>=0" pre_check() { - vsed -e '/addopts/d' -i setup.cfg - export PATH="${wrksrc}/bin:${PATH}" + vsed -e '/addopts/d' -i pyproject.toml }