Date: Monday, August 2, 2021 @ 17:38:47 Author: anatolik Revision: 992828
archrelease: copy trunk to community-testing-any Added: codespell/repos/community-testing-any/ codespell/repos/community-testing-any/PKGBUILD (from rev 992827, codespell/trunk/PKGBUILD) ----------+ PKGBUILD | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) Copied: codespell/repos/community-testing-any/PKGBUILD (from rev 992827, codespell/trunk/PKGBUILD) =================================================================== --- community-testing-any/PKGBUILD (rev 0) +++ community-testing-any/PKGBUILD 2021-08-02 17:38:47 UTC (rev 992828) @@ -0,0 +1,28 @@ +# Maintainer: Anatol Pomozov + +pkgname=codespell +pkgver=2.1.0 +pkgrel=1 +pkgdesc='Fix common misspellings in source code' +arch=(any) +url='https://github.com/codespell-project/codespell' +license=(GPL2) +depends=(python) +checkdepends=(python-nose python-pytest) +source=(https://pypi.io/packages/source/c/codespell/codespell-$pkgver.tar.gz) +sha1sums=('864291779befb5fdd777e8141f6fabf13524ea59') + +build() { + cd codespell-$pkgver + python setup.py build +} + +check() { + cd codespell-$pkgver + python setup.py test +} + +package() { + cd codespell-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 +}