From 78d1ca9aaf9063089a1017a552e3e03047750ef7 Mon Sep 17 00:00:00 2001 From: icp Date: Wed, 14 Dec 2022 01:45:14 +0530 Subject: [PATCH] python3-codespell: update to 2.2.2. Adopt. --- srcpkgs/python3-codespell/template | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/srcpkgs/python3-codespell/template b/srcpkgs/python3-codespell/template index 928118256f9e..8cc82e3b7f7c 100644 --- a/srcpkgs/python3-codespell/template +++ b/srcpkgs/python3-codespell/template @@ -1,20 +1,20 @@ # Template file for 'python3-codespell' pkgname=python3-codespell -version=2.1.0 -revision=2 +version=2.2.2 +revision=1 build_style=python3-module -hostmakedepends="python3-setuptools" +hostmakedepends="python3-setuptools_scm python3-wheel" depends="python3-chardet" -checkdepends="python3-pytest-cov $depends" +checkdepends="${depends} python3-pytest" short_desc="Checks code for common spelling mistakes (Python3)" -maintainer="Orphaned " -license="GPL-2.0-or-later" -homepage="https://github.com/codespell-project/codespell" -distfiles="https://github.com/codespell-project/codespell/archive/v${version}.tar.gz" -checksum=8d0730b6ff35e56bda8d9600ccffbf27bb83905600775bf869cb8b9936b108c0 +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() { - # Remove test that needs itself - vsed -i '/run_codespell/,/==4/d' codespell_lib/tests/test_basic.py + vsed -e '/addopts/d' -i setup.cfg + export PATH="${wrksrc}//bin:${PATH}" }