summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a3512a35a30b8496d399b28a4242de321f460454 (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
35
36
37
38
39
40
41
42
43

# Maintainer: Ashwin Vishnu <ashwinvis+arch at pr0t0nm4il dot com>
# Contributor: xantares
# Co-Maintainer: Specter119 <specter119 AT gmail DOT com>

pkgname=python-ipyparallel
_name=${pkgname#python-}
pkgver=8.1.0
pkgrel=1
pkgdesc="Interactive Parallel Computing in Python"
url=https://pypi.org/project/ipyparallel/
arch=(any)
license=('BSD')
makedepends=('python-setuptools')
optdepends=('openmpi: to use the MPI Launchers in ipcluster command')
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
sha256sums=('63f7e136e88f890e9802522fa5475dd81e7614ba06a8cfe4f80cc3056fdb7d73')
depends=('python>3.6'
	'python-entrypoints'
	'python-decorator'
	'python-pyzmq>=18'
	'python-traitlets>=4.3'
	'ipython>=4'
	'python-jupyter_client'
	'python-ipykernel>=4.4'
	'python-tornado>=5.1'
	'python-psutil'
	'python-dateutil>=2.1'
	'python-tqdm')
conflicts=('ipython2-ipyparallel')
replaces=('ipython-ipyparallel')

build() {
  cd $srcdir/$_name-$pkgver
  python setup.py build
}

package() {
  cd $srcdir/$_name-$pkgver
  python setup.py install --root=${pkgdir} --optimize=1 --skip-build
  install -Dm644 COPYING.md $pkgdir/usr/share/licenses/$pkgname/LICENSE
  mv $pkgdir/usr/etc $pkgdir/etc
}