summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b630377555a4f40a77bbdc82e95c38644a9dd0e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Maintainer: Amos Onn <amosonn at gmail dot com>
pkgname=python-distributed
pkgver=1.17.0
pkgrel=1
pkgdesc="A python library for distributed computation."
arch=('any')
url="http://distributed.readthedocs.org/en/stable/"
license=('BSD-3-clause')
depends=('python>=3.5' 'python-tornado>=4.2' 'python-toolz>=0.7.4'
    'python-cloudpickle>=0.2.2' 'python-dask>=0.14.0' 'python-click>=6.6'
    'python-psutil' 'python-zict>=0.1.1' 'python-sortedcollections' 'python-six'
    'python-tblib' 'python-msgpack')
# For supporting other versions of python:
# futures; python_version < '3.0'
# singledispatch; python_version < '3.4'
optdepends=(
    # dev-requirements.txt
    'python-joblib>=0.10.2' 'python-mock>=2.0.0' 'python-pandas>=0.19.2'
    'python-numpy>=1.11.0' 'python-bokeh>=0.12.3' 'python-requests>=2.12.4'
    'python-pyzmq>=16.0.2' 'ipython>=5.0.0' 'python-jupyter_client>=4.4.0'
    'python-ipykernel>=4.5.2' 'python-pytest>=3.0.5'
    # pytest.importorskip
    'python-keras' 'python-lz4' 'python-netcdf4' 'python-h5py' 'python-paramiko'
    'python-ipywidgets' # crick, hdfs-3
)
source=(https://codeload.github.com/dask/distributed/tar.gz/$pkgver)
sha256sums=('2654ef9cfbbb1cb2de025e47acbea89270a8d88be7158f4683a8fc352f3a7ee4')

package() {
  cd $srcdir/distributed-$pkgver
  python setup.py install --root=$pkgdir || return 1
  install -d $pkgdir/usr/share/licenses/$pkgname
  install LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/COPYING
}