mirror of
https://github.com/ivabus/pantry
synced 2024-11-23 08:55:07 +03:00
71 lines
2.5 KiB
YAML
71 lines
2.5 KiB
YAML
|
distributable:
|
||
|
url: https://github.com/jupyterlab/jupyterlab/releases/download/v{{version}}/jupyterlab-{{version}}.tar.gz
|
||
|
strip-components: 1
|
||
|
|
||
|
versions:
|
||
|
github: jupyterlab/jupyterlab/releases/tags
|
||
|
strip: /^v/
|
||
|
|
||
|
provides:
|
||
|
- bin/jlpm
|
||
|
- bin/jupyter
|
||
|
- bin/jupyter-bundlerextension
|
||
|
- bin/jupyter-dejavu
|
||
|
- bin/jupyter-events
|
||
|
- bin/jupyter-execute
|
||
|
- bin/jupyter-fileid
|
||
|
- bin/jupyter-kernel
|
||
|
- bin/jupyter-kernelspec
|
||
|
- bin/jupyter-lab
|
||
|
- bin/jupyter-labextension
|
||
|
- bin/jupyter-labhub
|
||
|
- bin/jupyter-migrate
|
||
|
- bin/jupyter-nbclassic
|
||
|
- bin/jupyter-nbclassic-bundlerextension
|
||
|
- bin/jupyter-nbclassic-extension
|
||
|
- bin/jupyter-nbclassic-serverextension
|
||
|
- bin/jupyter-nbconvert
|
||
|
- bin/jupyter-nbextension
|
||
|
- bin/jupyter-notebook
|
||
|
- bin/jupyter-run
|
||
|
- bin/jupyter-server
|
||
|
- bin/jupyter-serverextension
|
||
|
- bin/jupyter-troubleshoot
|
||
|
- bin/jupyter-trust
|
||
|
|
||
|
dependencies:
|
||
|
python.org: '>=3.7'
|
||
|
|
||
|
build:
|
||
|
dependencies:
|
||
|
tea.xyz/gx/cc: c99
|
||
|
script: |
|
||
|
python-venv.py {{prefix}}/bin/jlpm
|
||
|
cp {{prefix}}/bin/jlpm {{prefix}}/bin/jupyter
|
||
|
cp {{prefix}}/bin/jlpm {{prefix}}/bin/jupyter-bundlerextension
|
||
|
cp {{prefix}}/bin/jlpm {{prefix}}/bin/jupyter-dejavu
|
||
|
cp {{prefix}}/bin/jlpm {{prefix}}/bin/jupyter-events
|
||
|
cp {{prefix}}/bin/jlpm {{prefix}}/bin/jupyter-execute
|
||
|
cp {{prefix}}/bin/jlpm {{prefix}}/bin/jupyter-fileid
|
||
|
cp {{prefix}}/bin/jlpm {{prefix}}/bin/jupyter-kernel
|
||
|
cp {{prefix}}/bin/jlpm {{prefix}}/bin/jupyter-kernelspec
|
||
|
cp {{prefix}}/bin/jlpm {{prefix}}/bin/jupyter-lab
|
||
|
cp {{prefix}}/bin/jlpm {{prefix}}/bin/jupyter-labextension
|
||
|
cp {{prefix}}/bin/jlpm {{prefix}}/bin/jupyter-labhub
|
||
|
cp {{prefix}}/bin/jlpm {{prefix}}/bin/jupyter-migrate
|
||
|
cp {{prefix}}/bin/jlpm {{prefix}}/bin/jupyter-nbclassic
|
||
|
cp {{prefix}}/bin/jlpm {{prefix}}/bin/jupyter-nbclassic-bundlerextension
|
||
|
cp {{prefix}}/bin/jlpm {{prefix}}/bin/jupyter-nbclassic-extension
|
||
|
cp {{prefix}}/bin/jlpm {{prefix}}/bin/jupyter-nbclassic-serverextension
|
||
|
cp {{prefix}}/bin/jlpm {{prefix}}/bin/jupyter-nbconvert
|
||
|
cp {{prefix}}/bin/jlpm {{prefix}}/bin/jupyter-nbextension
|
||
|
cp {{prefix}}/bin/jlpm {{prefix}}/bin/jupyter-notebook
|
||
|
cp {{prefix}}/bin/jlpm {{prefix}}/bin/jupyter-run
|
||
|
cp {{prefix}}/bin/jlpm {{prefix}}/bin/jupyter-server
|
||
|
cp {{prefix}}/bin/jlpm {{prefix}}/bin/jupyter-serverextension
|
||
|
cp {{prefix}}/bin/jlpm {{prefix}}/bin/jupyter-troubleshoot
|
||
|
cp {{prefix}}/bin/jlpm {{prefix}}/bin/jupyter-trust
|
||
|
|
||
|
test:
|
||
|
script: test "$(jupyter --version | grep jupyterlab| sed 's/.* //')" = "{{ version }}"
|
||
|
|