# Contributor: Marian Buschsieweke # Maintainer: Marian Buschsieweke pkgname=py3-codespell _pkgname=${pkgname#py3-} pkgver=2.1.0 pkgrel=1 pkgdesc="Fix common misspellings in text files, primarily source code" options="!check" # No testsuite url="https://github.com/codespell-project/codespell/" arch="noarch" license="GPL-2.0-only" makedepends="py3-setuptools" checkdepends="py3-pytest" depends="py3-chardet" source="$pkgname-$pkgver.tar.gz::https://github.com/codespell-project/codespell/archive/refs/tags/v$pkgver.tar.gz" builddir="$srcdir"/$_pkgname-$pkgver check() { python3 setup.py test } build() { python3 setup.py build } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums=" 16d9a4239ae18fad6a06825a2afae6adc903d50eb90b759cdc61b1e1d145458bbfb1385837c4465b0a9858da100be074c597343c4816ca0260bbf6710d9c84e8 py3-codespell-2.1.0.tar.gz "