summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 96b7bdbad231b8bdf2f15d59c4b7d82a6a317361 (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
# Maintainer: hexchain <i at hexchain dot org>

_pypiname=jupyter_http_over_ws
pkgname=python-jupyter-http-over-ws
pkgdesc="Jupyter support for HTTP-over-ws"
url="https://github.com/googlecolab/jupyter_http_over_ws"
license=('Apache')
arch=('any')
pkgver=0.0.8
pkgrel=3
depends=('jupyter-notebook' 'python-six' 'python-tornado')
makedepends=('python-setuptools')
source=("https://github.com/googlecolab/$_pypiname/archive/v$pkgver.tar.gz")
sha256sums=('12c1ab1fa764637b7e2e4b214c4dd2c9d890f02101cd1e6410bc7ad534d8155f')

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

package() {
    cd "$srcdir/$_pypiname-$pkgver"
    python setup.py install --optimize=1 --root="$pkgdir/" --prefix=/usr --skip-build
}