blob: bfb8e597b82f70bf488aa88aa7f30e7547a6c678 (
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
|
# Maintainer: Erich Eckner <arch at eckner dot net>
pkgname=jupyterhub
pkgver=0.9.3
pkgrel=1
pkgdesc="Multi-user server for Jupyter notebooks "
url="http://jupyter.org/"
arch=(any)
license=('BSD')
depends=(
'python>=3.7'
'python<3.8'
'python-alembic'
'python-async_generator>=1.8'
'python-traitlets>=4.3.2'
'python-tornado>=5.0'
'python-jinja'
'python-pamela'
'python-oauth2>=1.0'
'python-dateutil'
'python-sqlalchemy>=1.1'
'python-requests'
'python-prometheus_client>=0.0.21'
)
makedepends=('bower' 'npm')
source=("jupyterhub-${pkgver}.tar.gz::https://github.com/jupyterhub/jupyterhub/archive/${pkgver}.tar.gz")
sha512sums=('751a2e9fac6944bb77342ebb936d2d6bd882963d8ccbeab08cd1d55ca8d237cb154517f61abf7c7e44152a876b9d6b611d9ae322d26bc7664e94cafb5f61938b')
install=${pkgname}.install
build() {
cd "${srcdir}/jupyterhub-$pkgver"
python setup.py build
}
package() {
cd "${srcdir}/jupyterhub-$pkgver"
python setup.py install --root="${pkgdir}"
install -Dm644 COPYING.md "${pkgdir}"/usr/share/licenses/$pkgname/COPYING.md
find ${pkgdir} -name SOURCES.txt -exec sed -i "s|^${srcdir}/||" {} \;
}
|