2021-11-23 00:05:35 +00:00
|
|
|
pkgbase='python-jupyter-server-proxy'
|
|
|
|
pkgname=('python-jupyter-server-proxy')
|
|
|
|
_module='jupyter-server-proxy'
|
|
|
|
pkgver='3.1.0'
|
2021-11-23 00:26:52 +00:00
|
|
|
pkgrel=3
|
2021-11-23 00:05:35 +00:00
|
|
|
pkgdesc="Jupyter server extension to supervise and proxy web services"
|
|
|
|
url="https://github.com/jupyterhub/jupyter-server-proxy"
|
2021-11-23 00:26:52 +00:00
|
|
|
depends=('python' 'python-aiohttp' 'python-simpervisor')
|
2021-11-23 00:05:35 +00:00
|
|
|
makedepends=('python-setuptools')
|
|
|
|
license=('unknown')
|
|
|
|
arch=('any')
|
|
|
|
source=("https://files.pythonhosted.org/packages/source/${_module::1}/$_module/$_module-$pkgver.tar.gz")
|
|
|
|
sha256sums=('30d57976090980f4380cb0a80e8e829dfd74d0a19edb64329239def9feefcde4')
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "${srcdir}/${_module}-${pkgver}"
|
|
|
|
python setup.py build
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
depends+=()
|
|
|
|
cd "${srcdir}/${_module}-${pkgver}"
|
|
|
|
python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
|
2021-11-23 00:15:57 +00:00
|
|
|
mv ${pkgdir}/usr/etc $pkgdir
|
2021-11-23 00:05:35 +00:00
|
|
|
}
|