# Maintainer: Mark Wagie pkgname=pipgrip pkgver=0.6.9 pkgrel=1 pkgdesc="Lightweight pip dependency resolver with deptree preview functionality based on the PubGrub algorithm" arch=('any') url="https://github.com/ddelange/pipgrip" license=('BSD') depends=('python-anytree' 'python-click' 'python-packaging' 'python-pkginfo' 'python-setuptools' 'python-wheel' 'python-pip') source=("https://pypi.org/packages/source/${pkgname:0:1}/$pkgname/$pkgname-$pkgver.tar.gz") sha256sums=('1c0d0726e94ef87f7ee7355b3417d36b637c5510efca7454c953ce24762b91a4') build() { cd "$pkgname-$pkgver" python setup.py build } package() { cd "$pkgname-$pkgver" export PYTHONHASHSEED=0 python setup.py install --root="$pkgdir" --optimize=1 --skip-build install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname" }