# Maintainer: Carlos Aznarán # Contributor: jerry73204 # Contributor: Gaël Donval _base=datashader pkgname=python-${_base} pkgver=0.14.3 pkgrel=1 pkgdesc="Quickly and accurately render even the largest data" arch=(any) url="https://${_base}.org" license=('custom:BSD-3-clause') depends=(python-dask python-datashape python-numba python-pillow python-xarray python-colorcet python-scipy) #python-requests source=(${_base}-${pkgver}.tar.gz::https://github.com/holoviz/${_base}/archive/v${pkgver}.tar.gz) sha512sums=('d0673bea19e95ec1f43e50eb8868c2a76cbcf15774199e657e781e419e2e8aff5efbe42503af292cfc0b9f63ad38f5c0094a2ded570affa8110a2d1a302f270f') build() { cd ${_base}-${pkgver} python setup.py build } package() { cd ${_base}-${pkgver} PYTHONPYCACHEPREFIX="${PWD}/.cache/cpython/" python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 --skip-build install -Dm 644 LICENSE.txt -t "${pkgdir}/usr/share/licenses/${pkgname}" install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}" }