2023-08-09 01:56:05 +00:00
|
|
|
# Maintainer: Anthony Wang <a_at-exozy_dot-me>
|
2021-11-23 00:46:31 +00:00
|
|
|
|
2021-11-23 00:05:35 +00:00
|
|
|
pkgbase='python-jupyter-server-proxy'
|
|
|
|
pkgname=('python-jupyter-server-proxy')
|
2021-11-23 00:46:31 +00:00
|
|
|
_name='jupyter-server_proxy'
|
2023-08-09 01:56:05 +00:00
|
|
|
pkgver='4.0.0'
|
|
|
|
pkgrel=1
|
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"
|
2022-07-04 04:13:16 +00:00
|
|
|
depends=('python' 'python-aiohttp' 'python-simpervisor')
|
2021-12-05 02:59:33 +00:00
|
|
|
makedepends=('unzip' 'python-setuptools')
|
|
|
|
license=('BSD')
|
2021-11-23 00:05:35 +00:00
|
|
|
arch=('any')
|
2021-11-23 00:46:31 +00:00
|
|
|
source=("https://files.pythonhosted.org/packages/py3/${_name::1}/$_name/${_name//-/_}-$pkgver-py3-none-any.whl")
|
2023-08-09 01:56:05 +00:00
|
|
|
sha256sums=('8075afce3465a5e987e43ec837c307f9b9ac7398ebcff497abf1f51303d23470')
|
2021-11-23 00:05:35 +00:00
|
|
|
|
|
|
|
package() {
|
2021-11-23 00:46:31 +00:00
|
|
|
local site="$pkgdir/usr/lib/$(readlink /bin/python3)/site-packages"
|
|
|
|
install -d "$site"
|
|
|
|
unzip "${_name//-/_}-$pkgver-py3-none-any.whl" -d "$site"
|
|
|
|
mv "$site/${_name/-/_}-$pkgver.data/data/share"* "$pkgdir/usr/share"
|
2022-07-04 04:13:16 +00:00
|
|
|
mv "$site/${_name/-/_}-$pkgver.data/data/etc"* "$pkgdir/etc/"
|
2021-11-23 00:05:35 +00:00
|
|
|
}
|