summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4be28787dfff853a1ed28dac47f284e6f4d006dd (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.16.1
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=('bc67f823621bf9d5e235d5e8db5772476dd38208c815172125ceeb6b2347cfac')

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
}