Date: Saturday, June 30, 2018 @ 18:44:02 Author: foutrelis Revision: 349088
archrelease: copy trunk to community-staging-any Added: codespell/repos/community-staging-any/ codespell/repos/community-staging-any/PKGBUILD (from rev 349087, codespell/trunk/PKGBUILD) ----------+ PKGBUILD | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) Copied: codespell/repos/community-staging-any/PKGBUILD (from rev 349087, codespell/trunk/PKGBUILD) =================================================================== --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2018-06-30 18:44:02 UTC (rev 349088) @@ -0,0 +1,29 @@ +# $Id$ +# Maintainer: Anatol Pomozov + +pkgname=codespell +pkgver=1.13.0 +pkgrel=2 +pkgdesc='Fix common misspellings in source code' +arch=(any) +url='https://github.com/lucasdemarchi/codespell' +license=(GPL2) +depends=(python python-setuptools) +checkdepends=(python-nose python-pytest) +source=(https://pypi.io/packages/source/c/codespell/codespell-$pkgver.tar.gz) +sha1sums=('31680ab4532504eebde1857ea667eef370761f0d') + +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 +}