blob: c02a77b0458c4777f7f2957e06b5f2527f4d8187 (
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
44
45
46
47
48
49
50
51
|
# Maintainer: Pierpaolo Valerio <gondsman@techgeek.co.in>
# Contributor: Excitable Snowball <excitablesnowball@gmail.com>
pkgbase='python-bokeh'
pkgname=('python-bokeh')
pkgver=2.0.1
pkgrel=1
pkgdesc='Interactive Web Plotting for Python'
arch=('any')
url='http://bokeh.pydata.org/'
license=('BSD')
source=("https://pypi.io/packages/source/b/bokeh/bokeh-${pkgver}.tar.gz")
sha256sums=('07b26adfbe9fad4bb53e770d220c4d5d0fff8ef6813aa18222fa348bbdb8994b')
makedepends=('python-setuptools')
build() {
# cp -r "${srcdir}"/bokeh-$pkgver "${srcdir}"/bokeh-$pkgver-py2
cd "${srcdir}"/bokeh-$pkgver
python setup.py build
# cd "${srcdir}"/bokeh-$pkgver-py2
# python2 setup.py build
}
package_python-bokeh() {
depends=('python-numpy'
'python-six'
'python-flask'
'python-jinja'
'python-requests'
'python-pillow'
'python-yaml'
'python-tornado'
'python-packaging'
'python-dateutil'
'python-typing_extensions')
optdepends=('python-bkcharts: server'
# 'phantomjs: svg export'
'python-selenium: svg export'
'geckodriver: svg export'
'firefox: svg export'
'nodejs: extending Bokeh'
'python-pandas: Pandas support'
'python-psutil: detailed memory logging'
'python-networkx: plot directly from NetworkX data'
'python-sphinx: support sphinx documentation')
cd "${srcdir}"/bokeh-$pkgver
python setup.py install --root="${pkgdir}" --optimize=1
}
|