summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a2443363f8c389f5df9dfa608403d845a5e41bb1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Francois Boulogne <fboulogne at april dot org>
pkgname=python-slicerator
pkgver=0.9.8
pkgrel=1
pkgdesc="a lazy-loading, fancy-sliceable iterable "
url="https://github.com/soft-matter/slicerator"
arch=(any)
license=('BSD')
depends=('python')
makedepends=('python-setuptools')
checkdepends=('python-nose')
source=("https://files.pythonhosted.org/packages/source/s/slicerator/slicerator-$pkgver.tar.gz")

check() {
    cd $srcdir/slicerator-"$pkgver"
    nosetests3
}

package() {
    cd $srcdir/slicerator-"$pkgver"
    python setup.py install --root="$pkgdir/" --optimize=1
}
md5sums=('84a47c30fd06ba0f808f0d89e6a3e807')