Add 'python-jupyter-server-proxy/' from commit '28403ed2089cb7969ec981fb47dff92952b0ba63'
git-subtree-dir: python-jupyter-server-proxy git-subtree-mainline:d36143de98
git-subtree-split:28403ed208
This commit is contained in:
commit
2d0eea303e
2 changed files with 45 additions and 0 deletions
19
python-jupyter-server-proxy/.SRCINFO
Normal file
19
python-jupyter-server-proxy/.SRCINFO
Normal file
|
@ -0,0 +1,19 @@
|
|||
pkgbase = python-jupyter-server-proxy
|
||||
pkgdesc = Jupyter notebook server extension to proxy web services
|
||||
pkgver = 4.1.0
|
||||
pkgrel = 2
|
||||
url = https://github.com/jupyterhub/jupyter-server-proxy
|
||||
arch = any
|
||||
license = BSD
|
||||
makedepends = python-build
|
||||
makedepends = python-installer
|
||||
makedepends = python-hatch-jupyter-builder
|
||||
makedepends = python-hatch-nodejs-version
|
||||
makedepends = jupyterlab
|
||||
depends = python
|
||||
depends = python-aiohttp
|
||||
depends = python-simpervisor
|
||||
source = https://files.pythonhosted.org/packages/source/j/jupyter-server-proxy/jupyter_server_proxy-4.1.0.tar.gz
|
||||
sha256sums = 2cfac3b4232fe7144e8e60296b4f861708b4f13b29260a2cf28976bf8e617f70
|
||||
|
||||
pkgname = python-jupyter-server-proxy
|
26
python-jupyter-server-proxy/PKGBUILD
Normal file
26
python-jupyter-server-proxy/PKGBUILD
Normal file
|
@ -0,0 +1,26 @@
|
|||
# Maintainer: Anthony Wang <a_at-exozy_dot-me>
|
||||
|
||||
_name='jupyter-server-proxy'
|
||||
pkgname="python-$_name"
|
||||
pkgver='4.1.0'
|
||||
pkgrel=2
|
||||
pkgdesc="Jupyter notebook server extension to proxy web services"
|
||||
url="https://github.com/jupyterhub/jupyter-server-proxy"
|
||||
depends=(python python-aiohttp python-simpervisor)
|
||||
makedepends=(python-build python-installer python-hatch-jupyter-builder python-hatch-nodejs-version jupyterlab)
|
||||
license=('BSD')
|
||||
arch=('any')
|
||||
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/${_name//-/_}-$pkgver.tar.gz")
|
||||
sha256sums=('2cfac3b4232fe7144e8e60296b4f861708b4f13b29260a2cf28976bf8e617f70')
|
||||
|
||||
build() {
|
||||
cd "${_name//-/_}-$pkgver"
|
||||
# Arch Linux's jupyerlab packaging is really bad and doesn't package the same dependencies as the PyPI version, so let's just --skip-dependency-check and hope for the best
|
||||
python -m build --wheel --no-isolation --skip-dependency-check
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${_name//-/_}-$pkgver"
|
||||
python -m installer --destdir="$pkgdir" dist/*.whl
|
||||
mv "$pkgdir/usr/etc" "$pkgdir" # Move /usr/etc stuff to /etc where it actually belongs
|
||||
}
|
Loading…
Reference in a new issue