# This file is part of BlackArch Linux ( https://www.blackarch.org/ ). # See COPYING for license details. pkgname=python-pydash _pkgname=pydash pkgver=8.0.6 pkgrel=1 pkgdesc='TPython utility libraries for doing stuff in a functional way based on the Lo-Dash Javascript library.' arch=('any') url='https://pypi.org/project/pydash/#files' license=('MIT') depends=('python') makedepends=('python-build' 'python-pip') source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/$_pkgname/$_pkgname-$pkgver.tar.gz") sha512sums=('02134d1ccb14e290942301712d2d76a33c88663480113b228f415e0bb84f9a25aca49a1827b9d9963f5f4f801289590edeb7d7ef886e568d4ca205928026e38b') build() { cd $_pkgname-$pkgver python -m build --wheel --outdir="$startdir/dist" } package() { cd $_pkgname-$pkgver pip install \ --verbose \ --disable-pip-version-check \ --no-warn-script-location \ --ignore-installed \ --no-compile \ --no-deps \ --root="$pkgdir" \ --prefix=/usr \ --no-index \ --find-links="file://$startdir/dist" \ $_pkgname }