Date: Thursday, June 16, 2016 @ 17:25:28 Author: anatolik Revision: 180336
archrelease: copy trunk to community-any Added: codespell/repos/community-any/PKGBUILD (from rev 180335, codespell/trunk/PKGBUILD) Deleted: codespell/repos/community-any/PKGBUILD ----------+ PKGBUILD | 54 +++++++++++++++++++++++++++++------------------------- 1 file changed, 29 insertions(+), 25 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2016-06-16 17:25:04 UTC (rev 180335) +++ PKGBUILD 2016-06-16 17:25:28 UTC (rev 180336) @@ -1,25 +0,0 @@ -# $Id$ -# Maintainer: Anatol Pomozov <ana...@google.com> -# Contributor: Lucas De Marchi <lucas.de.mar...@gmail.com> - -pkgname=codespell -pkgver=1.8 -pkgrel=1 -pkgdesc='Fix common misspellings in source code' -url='https://github.com/lucasdemarchi/codespell' -license=(GPL) -arch=(any) -depends=(python) -source=($pkgname-$pkgver.tar.gz::https://github.com/lucasdemarchi/codespell/archive/v$pkgver.tar.gz) -sha256sums=('329b924b0426f6015b30e063ce79f5feedbe4a7a3e143d9e350fe021c770bb68') - -prepare() { - # fix build bug https://github.com/lucasdemarchi/codespell/commit/d3b1e186a692cd4c7477b4156277ce2f060c3b80 - cd codespell-$pkgver - sed -i 's/^install:$/install: codespell/' Makefile -} - -package() { - cd codespell-$pkgver - make install DESTDIR="$pkgdir" prefix=/usr -} Copied: codespell/repos/community-any/PKGBUILD (from rev 180335, codespell/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2016-06-16 17:25:28 UTC (rev 180336) @@ -0,0 +1,29 @@ +# $Id$ +# Maintainer: Anatol Pomozov + +pkgname=codespell +pkgver=1.9.1 +pkgrel=1 +pkgdesc='Fix common misspellings in source code' +arch=(any) +url='https://github.com/lucasdemarchi/codespell' +license=(GPL2) +depends=(python) +checkdepends=(python-nose) +source=(https://pypi.io/packages/source/c/codespell/codespell-$pkgver.tar.gz) +sha1sums=('633f23643a740bbb7157d910e400c863942c317a') + +build() { + cd "$srcdir/codespell-$pkgver" + python setup.py build +} + +check() { + cd "$srcdir/codespell-$pkgver" + python setup.py test +} + +package() { + cd "$srcdir/codespell-$pkgver" + python setup.py install --root="$pkgdir" --optimize=1 +}