# Maintainer: jerry73204 pkgname='python-geoviews' pkgver=1.8.1 pkgrel=1 pkgdesc='Simple, concise geographical visualization in Python' arch=('any') url='https://github.com/pyviz/geoviews' license=('BSD') makedepends=('python-setuptools' 'python-param') depends=( 'python-bokeh' 'python-cartopy' 'python-holoviews' 'python-numpy' 'python-param' ) optdepends=( 'python-datashader' 'python-geopandas' 'python-netcdf4' 'python-gdal' 'python-matplotlib>2.2' 'python-pandas' 'python-pyct' 'python-scipy' 'python-shapely' 'python-xarray' 'jupyter' ) checkdepends=('python-pytest' 'python-coveralls' 'python-nose' # 'python-nbsmoke' # This package is missing 'flake8') source=("https://github.com/pyviz/geoviews/archive/v${pkgver}.tar.gz") sha256sums=('c71a3203a47dbff1e17af590c854bd2c44157f077b1d37589404e89238050b1f') build() { cd "${srcdir}/geoviews-${pkgver}" python setup.py build } package_python-geoviews() { cd "${srcdir}/geoviews-$pkgver" python setup.py install --skip-build --prefix=/usr --root="${pkgdir}" --optimize=1 install -D -m644 LICENSE* "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" install -D -m644 README* "${pkgdir}/usr/share/doc/${pkgname}/README" }