1 # Contributor: Peter Simons <simons@cryp.to>
2 # Contributor: Nicolas Pouillard <nicolas.pouillard@gmail.com>
6 pkgdesc="a fast erasure codec which can be used with the command-line, C, Python, or Haskell"
8 url='http://allmydata.org/trac/zfec'
10 depends=('python2' 'pyutil' 'python2-argparse' 'zbase32')
11 makedepends=('darcsver' 'setuptools_darcs')
12 source=( http://pypi.python.org/packages/source/z/zfec/zfec-$pkgver.tar.gz )
13 md5sums=('105745eb9d3db8f909786a0b39153a79')
16 cd "$srcdir/$pkgname-$pkgver" || return 1
17 python2 setup.py build || return 1
18 python2 setup.py test || return 1
22 cd "$srcdir/$pkgname-$pkgver" || return 1
23 python2 setup.py install --root="$pkgdir" || return 1